Register to receive notifications when audio output state changed.
If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioOutputState 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_RemoveNotifyAudioOutputState
Parameters
EOS_RTCAudio_AddNotifyAudioOutputState
Register to receive notifications when audio output state changed.
If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioOutputState 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_RemoveNotifyAudioOutputState
Parameters
RTCAudio.RTCAudioInterface.AddNotifyAudioOutputState
Parameter Type And Name
|
Usage Information
|
AddNotifyAudioOutputStateOptions options
|
|
object clientData
|
Arbitrary data that is passed back in the CompletionDelegate
|
OnAudioOutputStateCallback completionDelegate
|
The callback to be fired when audio output state changes
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no