Interface AntPlusVideoControllableDevicePcc.IVideoCommandReceiver
- Enclosing class:
- AntPlusVideoControllableDevicePcc
public static interface AntPlusVideoControllableDevicePcc.IVideoCommandReceiver
Receiver for the VideoCommand event, which is:
Commands sent by a remote control to initiate an action on a video device.
-
Method Summary
Modifier and TypeMethodDescriptiononNewVideoCommand
(long estTimestamp, EnumSet<EventFlag> eventFlags, int serialNumber, int sequenceNumber, AudioVideoCommandNumber commandNumber, int commandData) Receives the data from a VideoCommand event.
-
Method Details
-
onNewVideoCommand
CommandStatus onNewVideoCommand(long estTimestamp, EnumSet<EventFlag> eventFlags, int serialNumber, int sequenceNumber, AudioVideoCommandNumber commandNumber, int commandData) Receives the data from a VideoCommand event.- Parameters:
estTimestamp
- The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.eventFlags
- Informational flags about the event.serialNumber
- The serial number of the remote control device.sequenceNumber
- Sequence number which increments with each new command Rollover: Every 255.commandNumber
- The requestedAudioVideoCommandNumber
commandData
- Indicates additional parameters of the command, for example, the percentage amount of volume increase/decrease in the case of volume up/down.- Returns:
- The
CommandStatus
of the received command. Subscribers can indicate whether the command was successful or not, etc.
-