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

    Class MediaDataModel

    2320

    502320 >= 2.2222.8

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    animatedAsNewMsg?: any
    animationDuration?: any
    aspectRatio?: any
    attributes: Props & Session
    collection?: undefined
    directPath?: any
    documentPreview?: any
    duration?: any
    durationFloat?: any
    emojis?: any
    encFilehash?: any
    filehash?: any
    filename?: any
    firstFrameLength?: any
    firstFrameSidecar?: any
    fullHeight?: any
    fullPreviewData?: any
    fullPreviewSize?: any
    fullWidth?: any
    gifAttribution?: any
    isAnimated: boolean
    isGif: boolean
    isState: true
    isVcardOverMmsDocument: boolean
    isViewOnce: boolean
    mediaBlob?: OpaqueData
    mediaKey?: any
    mediaKeyTimestamp?: any
    mediaStage?: any
    mimetype?: any
    mirrorMask: {
        "change:animatedAsNewMsg"?: number;
        "change:animationDuration"?: number;
        "change:aspectRatio"?: number;
        "change:directPath"?: number;
        "change:documentPreview"?: number;
        "change:duration"?: number;
        "change:durationFloat"?: number;
        "change:emojis"?: number;
        "change:encFilehash"?: number;
        "change:filehash"?: number;
        "change:filename"?: number;
        "change:firstFrameLength"?: number;
        "change:firstFrameSidecar"?: number;
        "change:fullHeight"?: number;
        "change:fullPreviewData"?: number;
        "change:fullPreviewSize"?: number;
        "change:fullWidth"?: number;
        "change:gifAttribution"?: number;
        "change:isAnimated": number;
        "change:isGif": number;
        "change:isVcardOverMmsDocument": number;
        "change:isViewOnce": number;
        "change:mediaBlob"?: number;
        "change:mediaKey"?: number;
        "change:mediaKeyTimestamp"?: number;
        "change:mediaStage"?: number;
        "change:mimetype"?: number;
        "change:pageCount"?: number;
        "change:parsedVcards"?: number;
        "change:preview"?: number;
        "change:progressiveStage"?: number;
        "change:renderableUrl"?: number;
        "change:rgbaBuffer"?: number;
        "change:rgbaHeight"?: number;
        "change:rgbaWidth"?: number;
        "change:sidecar"?: number;
        "change:singleLoopDuration"?: number;
        "change:size"?: number;
        "change:stale"?: number;
        "change:streamable"?: number;
        "change:subtype"?: number;
        "change:type"?: number;
    }
    pageCount?: any
    parent?: any
    parsedVcards?: any
    preview?: any
    progressiveStage?: any
    proxyName: string
    renderableUrl?: any
    rgbaBuffer?: any
    rgbaHeight?: any
    rgbaWidth?: any
    sidecar?: any
    singleLoopDuration?: any
    size?: any
    stale?: any
    streamable?: any
    subtype?: any
    type?: any
    allowedIds?: any[]
    idClass?: any
    Proxy: string
    TYPE?: any

    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

    • Returns boolean

    • Parameters

      • eventName: Event

      Returns boolean

    • Returns boolean

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

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

    • 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

    • 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

    • Parameters

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

      Returns void

    • Parameters

      • e: any

      Returns boolean