@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Class StreamModel

    8080

    608080 >= 2.2222.8

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    attributes: Props & Session
    available?: any
    clientExpired?: any
    collection?: undefined
    couldForce?: any
    displayInfo?: any
    hardExpired?: any
    info?: any
    isState: true
    lastSyncStart?: any
    mirrorMask: {
        "change:available"?: number;
        "change:clientExpired"?: number;
        "change:couldForce"?: number;
        "change:displayInfo"?: number;
        "change:hardExpired"?: number;
        "change:info"?: number;
        "change:lastSyncStart"?: number;
        "change:mode": number;
        "change:needsManualDownload"?: number;
        "change:needsUpdate"?: number;
        "change:obscurity"?: number;
        "change:phoneAuthed"?: number;
        "change:resumeCount"?: number;
        "change:timeoutEvent"?: number;
        "change:uiActive"?: number;
        "change:unavailableLogoutTimer"?: number;
        "change:unavailableShiftTimer"?: number;
        "change:unobscureShiftTimer"?: number;
    }
    mode: string
    needsManualDownload?: any
    needsUpdate?: any
    obscurity?: any
    parent?: any
    phoneAuthed?: any
    proxyName: string
    resumeCount?: any
    timeoutEvent?: any
    uiActive?: any
    unavailableLogoutTimer?: any
    unavailableShiftTimer?: any
    unobscureShiftTimer?: any
    allowedIds?: any[]
    idClass?: any
    Proxy: string

    Methods

    • Parameters

      • id: Stringable
      • context: { [key: string]: any }

      Returns void

    • Alias of on

      Parameters

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

      Returns this

      on

    • Returns void

    • Returns void

    • Returns void

    • Alias of trigger

      Parameters

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

      Returns this

      trigger

    • Type Parameters

      Parameters

      • attr: T

      Returns any

    • Returns boolean

    • Returns boolean

    • Parameters

      • Optionale: boolean

      Returns void

    • Returns void

    • Parameters

      • eventName: Event

      Returns boolean

    • 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

    • Returns void

    • Returns void

    • Returns void

    • Parameters

      • Optionale: any

      Returns void

    • 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.

    • Returns void

    • 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.

    • Returns void

    • Returns void

    • Returns void

    • Removes all listeners.

      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

    • Returns void

    • Parameters

      • Optionale: any

      Returns void

    • Returns Props

    • Parameters

      • ...args: any

      Returns any

    • Parameters

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

      Returns this

    • Returns Props

    • 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

    • Returns void

    • Parameters

      • ids: Stringable | Stringable[]
      • Optionalt: any

      Returns void

    • Returns void

    • Returns void

    • Returns void

    • Parameters

      • e: any

      Returns boolean