Enum Class AudioVideoCommandNumber
java.lang.Object
java.lang.Enum<AudioVideoCommandNumber>
com.dsi.ant.plugins.antplus.pcc.controls.defines.AudioVideoCommandNumber
- All Implemented Interfaces:
Serializable
,Comparable<AudioVideoCommandNumber>
,Constable
Defines command numbers to use for Audio and Video control. Used in the AudioCommand and
VideoCommand events, as well as the updateAudioCommandStatus and updateVideoCommandStatus commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClip/track aheadClip/track backCapture burst imagesCapture still imageCapture time lapse imageCustom repeatCustom shuffleFast forward through clip/trackFast rewind through clip/trackMute/un-mutePausePlayRecordRepeat AllRepeat current trackRepeat OffShuffle albumsShuffle offShuffle tracks (songs)StopThe value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.Volume DownVolume Up -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<AudioVideoCommandNumber>
int
Convert enum to equivalent int valuestatic AudioVideoCommandNumber
getValueFromInt
(int intValue) Convert int to equivalent enum valuestatic ArrayList<AudioVideoCommandNumber>
static ArrayList<AudioVideoCommandNumber>
boolean
boolean
boolean
static AudioVideoCommandNumber
Returns the enum constant of this class with the specified name.static AudioVideoCommandNumber[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAY
Play -
PAUSE
Pause -
STOP
Stop -
VOLUME_UP
Volume Up -
VOLUME_DOWN
Volume Down -
MUTE_UNMUTE
Mute/un-mute -
AHEAD
Clip/track ahead -
BACK
Clip/track back -
REPEAT_CURRENT_TRACK
Repeat current track -
REPEAT_ALL
Repeat All -
REPEAT_OFF
Repeat Off -
SHUFFLE_TRACKS
Shuffle tracks (songs) -
SHUFFLE_ALBUMS
Shuffle albums -
SHUFFLE_OFF
Shuffle off -
FAST_FORWARD
Fast forward through clip/track -
FAST_REWIND
Fast rewind through clip/track -
CUSTOM_REPEAT
Custom repeat -
CUSTOM_SHUFFLE
Custom shuffle -
RECORD
Record -
CAPTURE_STILL_IMAGE
Capture still image -
CAPTURE_BURST_IMAGES
Capture burst images -
CAPTURE_TIME_LAPSE_IMAGE
Capture time lapse image -
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
-
-
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
-
getIntValue
public int getIntValue()Convert enum to equivalent int value- Returns:
- integer value equivalent
-
isAudioCommand
public boolean isAudioCommand() -
isVideoPlaybackCommand
public boolean isVideoPlaybackCommand() -
isVideoRecorderCommand
public boolean isVideoRecorderCommand() -
getValueFromInt
Convert int to equivalent enum value- Parameters:
intValue
- integer to convert- Returns:
- enum value equivalent
-
getAudioCommands
-
getVideoPlaybackCommands
-
getVideoRecorderCommands
-