public enum ControlsMode extends java.lang.Enum<ControlsMode>
Enum Constant and Description |
---|
AUDIO_MODE
Audio mode
|
GENERIC_MODE
Generic mode
|
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.
|
VIDEO_MODE
Video mode
|
Modifier and Type | Method and Description |
---|---|
static ControlsMode |
getControlsModeFromLong(long longValue) |
static ControlsMode |
getControlsModeFromRequestAccessValue(int value) |
static java.util.EnumSet<ControlsMode> |
getControlsModesFromLong(long longValue) |
static long |
getLongFromControlsModes(java.util.EnumSet<ControlsMode> controlsModes) |
long |
getLongValue() |
int |
getRequestAccessModeValue()
Get the request access mode value that is compatible with pre-remote
control plugin versions
|
static ControlsMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlsMode UNRECOGNIZED_MODE_PRESENT
public static final ControlsMode AUDIO_MODE
public static final ControlsMode VIDEO_MODE
public static final ControlsMode GENERIC_MODE
public static ControlsMode[] values()
for (ControlsMode c : ControlsMode.values()) System.out.println(c);
public static ControlsMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getLongValue()
public int getRequestAccessModeValue()
public static ControlsMode getControlsModeFromLong(long longValue)
public static java.util.EnumSet<ControlsMode> getControlsModesFromLong(long longValue)
public static ControlsMode getControlsModeFromRequestAccessValue(int value)
public static long getLongFromControlsModes(java.util.EnumSet<ControlsMode> controlsModes)
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.