40214

440214 >= 2.2222.8

Hierarchy (View Summary)

Constructors

Properties

allowedIds?: any
attributes: Props & Session
collection?: MuteCollection
expiration: number
id: Wid
idClass: typeof Wid
isMuted: boolean
isState: true
mirrorMask: {
    "change:expiration": number;
    "change:id": number;
    "change:isMuted": number;
    "change:promises"?: number;
    "change:stale"?: number;
}
parent?: any
promises?: any
proxyName: string
stale?: any
allowedIds?: any[]
idClass?: any
Proxy: string

Methods

  • Alias of on

    Parameters

    • eventName: Event
    • listener: Listener
    • Optionalcontext: any

    Returns this

    on

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • args: { expiration: number; isAutoMuted?: boolean; sendDevice?: boolean }

    Returns Promise<number>

  • Removes the specified listener from the listener array for the event named eventName.

    Parameters

    • OptionaleventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds the listener function to the end of the listeners array for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds a one-time listener function for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Parameters

    • Optionalexpiration: number
    • OptionalisAutoMuted: boolean
    • OptionalsendDevice: boolean

    Returns any

  • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

    Parameters

    • eventName: Event
    • ...args: any[]

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Alias of off

    Parameters

    • OptionaleventName: Event
    • Optionallistener: Listener
    • Optionalcontext: any

    Returns this

    off