Enum Class ControlsMode
- All Implemented Interfaces:
Serializable
,Comparable<ControlsMode>
,Constable
Controls profile modes (audio, video, generic)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAudio modeGeneric modeThe value sent by the plugin service was at least partially unrecognized indicating an upgrade of the PCC may be required to handle the value.Video mode -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlsMode
getControlsModeFromLong
(long longValue) static ControlsMode
getControlsModeFromRequestAccessValue
(int value) static EnumSet<ControlsMode>
getControlsModesFromLong
(long longValue) static long
getLongFromControlsModes
(EnumSet<ControlsMode> controlsModes) long
int
Get the request access mode value that is compatible with pre-remote control plugin versionsstatic ControlsMode
Returns the enum constant of this class with the specified name.static ControlsMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNRECOGNIZED_MODE_PRESENT
The value sent by the plugin service was at least partially unrecognized indicating an upgrade of the PCC may be required to handle the value. -
AUDIO_MODE
Audio mode -
VIDEO_MODE
Video mode -
GENERIC_MODE
Generic mode
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getLongValue
public long getLongValue() -
getRequestAccessModeValue
public int getRequestAccessModeValue()Get the request access mode value that is compatible with pre-remote control plugin versions- Returns:
- pre-remote control plugin version value.
-
getControlsModeFromLong
-
getControlsModesFromLong
-
getControlsModeFromRequestAccessValue
-
getLongFromControlsModes
-