Emitted when the agent grants microphone permission in the browser.
user.subscribe(UserEventType.AUDIO_DEVICE_PERMISSION_GRANTED, () => { console.log("Microphone access granted");}); Copy
user.subscribe(UserEventType.AUDIO_DEVICE_PERMISSION_GRANTED, () => { console.log("Microphone access granted");});
UserEventType.AUDIO_DEVICE_PERMISSION_GRANTED
The type of the user event.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when the agent grants microphone permission in the browser.
Example
See
UserEventType.AUDIO_DEVICE_PERMISSION_GRANTED