Skip to main content

Interface IPolyAudioListener

com.poly.polyos.audio

Interface IPolyAudioListener


public interface IPolyAudioListener

Listener to get callbacks about Audio changes

Since:
3.0.11

See Also: IPolyAudioService

Method Summary

Modifier and TypeMethod and Description
voidonMicrophoneNotReady()
Called when the microphone is not ready or is disconnected
voidonMicrophoneReady()
Called when the microphone is ready after reboot
voidonMuteChanged(boolean mute)
Called when the microphone mute changes
voidonVolumeChanged(int volume)
Called when the output volume level changes.

Method Detail

onMuteChanged

void onMuteChanged(boolean mute)
Called when the microphone mute changes

onMicrophoneReady

void onMicrophoneReady()
Called when the microphone is ready after reboot

onMicrophoneNotReady

void onMicrophoneNotReady()
Called when the microphone is not ready, or disconnected

Since:
3.2.1

onVolumeChanged

void onVolumeChanged(int volume)
Called when the output volume level changes.

Since:
3.3.0.0-4