EOS_RTCAudio_AddNotifyAudioDevicesChanged

EOS API reference page for EOS_RTCAudio_AddNotifyAudioDevicesChanged

Choose your implementation method:

C

C#

Remarks

Register to receive notifications when an audio device is added or removed to the system. If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioDevicesChanged when you no longer wish to have your CompletionDelegate called.

Return Value

Notification ID representing the registered callback if successful, an invalid NotificationId if not

See Also

EOS_INVALID_NOTIFICATIONID, EOS_RTCAudio_RemoveNotifyAudioDevicesChanged

Parameters

EOS_RTCAudio_AddNotifyAudioDevicesChanged

Parameter Type And Name

Usage Information

EOS_HRTCAudio Handle

EOS_RTCAudio_AddNotifyAudioDevicesChangedOptions* Options

void* ClientData

Arbitrary data that is passed back in the CompletionDelegate

const EOS_RTCAudio_OnAudioDevicesChangedCallback CompletionDelegate

The callback to be fired when an audio device change occurs

Related API Members

Remarks

Register to receive notifications when an audio device is added or removed to the system. If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioDevicesChanged when you no longer wish to have your CompletionDelegate called.

Return Value

Notification ID representing the registered callback if successful, an invalid NotificationId if not

See Also

EOS_INVALID_NOTIFICATIONID, EOS_RTCAudio_RemoveNotifyAudioDevicesChanged

Parameters

RTCAudio.RTCAudioInterface.AddNotifyAudioDevicesChanged

Parameter Type And Name

Usage Information

AddNotifyAudioDevicesChangedOptions options

object clientData

Arbitrary data that is passed back in the CompletionDelegate

OnAudioDevicesChangedCallback completionDelegate

The callback to be fired when an audio device change occurs

Related API Members

Tags