Class containing utility methods to manipulate fm.liveswitch.StreamDirection. More...
Public Member Functions | |
StreamDirectionHelper () | |
Static Public Member Functions | |
static fm.liveswitch.StreamDirection | directionFromString (String directionString) |
Converts string representations of stream directions to fm.liveswitch.StreamDirection. More... | |
static String | directionToString (fm.liveswitch.StreamDirection direction) |
Obtains the string representation of fm.liveswitch.StreamDirection. More... | |
static boolean | isReceiveDisabled (fm.liveswitch.StreamDirection direction) |
Checks the receive flag. More... | |
static boolean | isReceiveDisabled (String directionString) |
Checks the receive flag. More... | |
static boolean | isReceiveOnly (String directionString) |
Checks receive only. More... | |
static boolean | isSendDisabled (fm.liveswitch.StreamDirection direction) |
Checks the send flag. More... | |
static boolean | isSendDisabled (String directionString) |
Checks the send flag. More... | |
static boolean | isSendOnly (String directionString) |
Checks send only. More... | |
static fm.liveswitch.StreamDirection | setReceiveDisabled (fm.liveswitch.StreamDirection direction, boolean disabled) |
Sets the receive flag. More... | |
static String | setReceiveDisabled (String directionString, boolean disabled) |
Sets the receive flag. More... | |
static fm.liveswitch.StreamDirection | setSendDisabled (fm.liveswitch.StreamDirection direction, boolean disabled) |
Sets the send flag. More... | |
static String | setSendDisabled (String directionString, boolean disabled) |
Sets the send flag. More... | |
static fm.liveswitch.StreamDirection | toggleReceive (fm.liveswitch.StreamDirection direction) |
Toggles the receive flag. More... | |
static String | toggleReceive (String directionString) |
Toggles the receive flag. More... | |
static fm.liveswitch.StreamDirection | toggleSend (fm.liveswitch.StreamDirection direction) |
Toggles the send flag. More... | |
static String | toggleSend (String directionString) |
Toggles the send flag. More... | |
Class containing utility methods to manipulate fm.liveswitch.StreamDirection.
fm.liveswitch.StreamDirectionHelper.StreamDirectionHelper | ( | ) |
|
static |
Converts string representations of stream directions to fm.liveswitch.StreamDirection.
directionString | The direction string. |
|
static |
Obtains the string representation of fm.liveswitch.StreamDirection.
direction | The direction. |
|
static |
Checks the receive flag.
direction | The direction. |
|
static |
Checks the receive flag.
directionString | The direction string. |
|
static |
Checks receive only.
directionString |
|
static |
Checks the send flag.
direction | The direction. |
|
static |
Checks the send flag.
directionString | The direction string. |
|
static |
Checks send only.
directionString |
|
static |
Sets the receive flag.
direction | The direction. |
disabled | Whether to disable the receive flag. |
|
static |
Sets the receive flag.
directionString | The direction string. |
disabled | Whether to disable the receive flag. |
|
static |
Sets the send flag.
direction | The direction. |
disabled | Whether to disable the send flag. |
|
static |
Sets the send flag.
directionString | The direction string. |
disabled | Whether to disable the send flag. |
|
static |
Toggles the receive flag.
direction | The direction. |
|
static |
Toggles the receive flag.
directionString | The direction string. |
|
static |
Toggles the send flag.
direction | The direction. |
|
static |
Toggles the send flag.
directionString | The direction string. |