Member Junction
    Preparing search index...

    Fired before the client disconnects/leaves the room. Cancelable (e.g. "leave call?" confirmation).

    interface LiveKitBeforeDisconnectEvent {
        Cancel: boolean;
        UserInitiated: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Cancel: boolean

    Set to true in a handler to cancel the pending action. Defaults to false.

    UserInitiated: boolean

    Whether this disconnect was initiated by the user (vs. an internal reconnect cycle).