public static interface AntPlusAudioControllableDevicePcc.IAudioCommandReceiver
CommandStatus onNewAudioCommand(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, int serialNumber, int sequenceNumber, AudioVideoCommandNumber commandNumber, int commandData)
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 requested
commandData- Indicates additional parameters of the command, for example, the percentage amount of volume increase/decrease in the case of volume up/down
CommandStatusof the received command. Subscribers can indicate whether the command was successful or not, etc.
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.