Interface AntPlusAudioRemoteControlPcc.IAudioStatusReceiver

Enclosing class:
AntPlusAudioRemoteControlPcc

public static interface AntPlusAudioRemoteControlPcc.IAudioStatusReceiver
Receiver for the AudioStatus event, which is: Communicates the status of an audio device.
  • Method Details

    • onNewAudioStatus

      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.
      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.
      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.