EOS_RTCAudio_AddNotifyAudioInputState

EOS API reference page for EOS_RTCAudio_AddNotifyAudioInputState

1分で読めます

Remarks

Register to receive notifications when audio input state changed. If the returned NotificationId is valid, you must call EOS_RTCAudio_RemoveNotifyAudioInputState 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_RemoveNotifyAudioInputState

Parameters

EOS_RTCAudio_AddNotifyAudioInputState

Parameter Type And NameUsage Information
EOS_HRTCAudio Handle
const EOS_RTCAudio_AddNotifyAudioInputStateOptions* Options
void* ClientDataArbitrary data that is passed back in the CompletionDelegate
const EOS_RTCAudio_OnAudioInputStateCallback CompletionDelegateThe callback to be fired when audio input state changes