Rate this page:

IAudioDeviceEventsListener

Interface that may be used to monitor and handle audio device change events

Methods

onAudioDeviceChanged

Since ver. 2.3.4
Copy URL

void

onAudioDeviceChanged(

AudioDevice

currentAudioDevice
)

Event is triggered when active audio device or audio device that will be 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 is the audio device that will be used for the next call.

Parameters

Returns

  • type:

    void

onAudioDeviceListChanged

Since ver. 2.3.4
Copy URL

void

onAudioDeviceListChanged(

List<AudioDevice>

newDeviceList
)

Event is triggered when a new audio device is connected or previously connected audio device is disconnected.

Parameters

  • newDeviceList:

    List<AudioDevice>

    List of currently available audio devices.

Returns

  • type:

    void