AudioFocusListener

interface AudioFocusListener

Interface for listening to Audio interruptions that were handled by Adaptr Audio Player.

Functions

musicPausedDueToAudioFocusLost
Link copied to clipboard
abstract fun musicPausedDueToAudioFocusLost(isFocusAbandoned: Boolean)
musicWillBeResumedDueToAudioFocusGain
Link copied to clipboard
abstract fun musicWillBeResumedDueToAudioFocusGain()
volumeChangedDueToTransientLossOrGain
Link copied to clipboard
abstract fun volumeChangedDueToTransientLossOrGain(volume: Float)