@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface AudioDevicePermissionGrantedEvent

    Emitted when the agent grants microphone permission in the browser.

    user.subscribe(UserEventType.AUDIO_DEVICE_PERMISSION_GRANTED, () => {
    console.log("Microphone access granted");
    });
    interface AudioDevicePermissionGrantedEvent {
        type: AUDIO_DEVICE_PERMISSION_GRANTED;
        payload: AudioDevicePermissionGrantedPayload;
        occurredAt: Date;
    }
    Index

    Properties

    The type of the user event.

    The event payload containing event-specific data.

    occurredAt: Date

    The timestamp when the event occurred.