Rate this page:

IAudioDeviceEventsListener

Interface that provides API to monitor and handle audio device change events.

Methods

onAudioDeviceChanged

Since ver. 2.3.4
Copy URL

void

onAudioDeviceChanged(

AudioDevice

currentAudioDevice
)

Triggered if the active audio device or the audio device that is used for a further call is changed.

If the event is triggered during the call, currentAudioDevice is the audio device that is currently used.

If the event is triggered when there is no call, currentAudioDevice parameter specifies the audio device in use for the next call.

Parameters

Returns

  • type:

    void

onAudioDeviceListChanged

Since ver. 2.3.4
Copy URL

void

onAudioDeviceListChanged(

List<AudioDevice>

newDeviceList
)

Triggered if a new audio device is connected or a previously connected audio device is disconnected.

Parameters

  • newDeviceList:

    List<AudioDevice>

    List of currently available audio devices.

Returns

  • type:

    void