Interface SessionUiEventRegistry

The interface which handles the registration of session UI event listeners.

interface SessionUiEventRegistry {
    addEventListener(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
}

Hierarchy (view full)

Methods

  • Add a UI event listener.

    Parameters

    • type: string

      A case-sensitive string representing the event type to listen for.

    • listener: any

      The object or function that receives a notification when an event of the specified type occurs.

    • Optional options: any

      The options that specify characteristics about the event listener.

    Returns void

  • Remove a UI event listener.

    Parameters

    • type: string

      A string which specifies the type of event for which to remove an event listener.

    • listener: any

      The event listener to remove.

    • Optional options: any

      The options that specify characteristics about the event listener.

    Returns void

Generated using TypeDoc