public static interface AntPlusAudioRemoteControlPcc.IAudioStatusReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewAudioStatus(long estTimestamp,
int volume,
int totalTrackTime,
int currentTrackTime,
AudioDeviceCapabilities audioCapabilities,
AudioDeviceState audioState,
AudioRepeatState repeatState,
AudioShuffleState shuffleState)
Receives the data from a AudioStatus event.
|
void onNewAudioStatus(long estTimestamp, int volume, int totalTrackTime, int currentTrackTime, AudioDeviceCapabilities audioCapabilities, AudioDeviceState audioState, AudioRepeatState repeatState, AudioShuffleState shuffleState)
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.volume
- The volume given as a percentage.totalTrackTime
- The total time of the current track. Units: Seconds.currentTrackTime
- Number of seconds in the current track. Units: Seconds.audioCapabilities
- Contains the capabilities of the audio device.audioState
- Current AudioDeviceState
of the music player.repeatState
- Current AudioRepeatState
of the music player.shuffleState
- Current AudioShuffleState
of the music player.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.