Undocumented

Hierarchy (view full)

Constructors

Properties

asJSON: string

Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)

bitrate: number

Undocumented

bitrateFrom: number

Undocumented

bitrateTo: number

Undocumented

bps: number

Undocumented

bpsFrom: number

Undocumented

bpsTo: number

Undocumented

channels: number

Undocumented

channelsFrom: number

Undocumented

channelsTo: number

Undocumented

deleted: boolean

Set to true after deletion so that 'change' event is called and item is removed from UI lists.

dontNotify: boolean

Undocumented

frameRate: number

Undocumented

frameRateFrom: number

Undocumented

frameRateTo: number

Undocumented

height: number

Undocumented

heightFrom: number

Undocumented

heightTo: number

Undocumented

id: number

Gets integer id of the object

isObservable: boolean

Whether this object can be listened (e.g. for 'change' event)

isStatusBarSource: boolean

Is source for status bar informations.

isVideo: boolean

Undocumented

objectType: string

Gets the object type as string

persistentID: string

Gets persistent id of the object

qualityProfile: number

Undocumented

sampleRate: number

Undocumented

sampleRateFrom: number

Undocumented

sampleRateTo: number

Undocumented

sourceFormat: string

Undocumented

sourceFormatText: string

Undocumented

statusInfo: Promise<any>

Undocumented

targetFormat: string

Undocumented

targetFormatSettings: GenFormatSettings

Undocumented

targetFormatText: string

Undocumented

targetFormatTextLong: string

Undocumented

title: string

Gets the object title

vBitrate: number

Undocumented

vBitrateFrom: number

Undocumented

vBitrateTo: number

Undocumented

width: number

Undocumented

widthFrom: number

Undocumented

widthTo: number

Undocumented

Methods

  • Lock object to update state. Events are not called when in update state.

    Returns void

  • Updates the object every X ms when called periodically. Useful e.g. when filling lists. Can be used only in the update lock! (i.e. between beginUpdate/endUpdate)

    Parameters

    • interval: number

    Returns void

  • Parameters

    Returns Promise<any>

    Undocumented

  • Unlock object from update state. beginUpdate and endUpdate must be in pair. When endUpdate is called, change event is called.

    Returns boolean

  • Gets class name of the object.

    Returns string

  • Parameters

    • id: number

    Returns boolean

    Undocumented

  • Parameters

    Returns void

    Undocumented

  • Call defined method with locked data so user can access them.

    Parameters

    • func: (() => any)

      Method to call

        • (): any
        • Returns any

    Returns void

  • Call defined method with the item locked for modifications.

    Parameters

    • Rest ...params: any[]

    Returns Promise<any>

  • Notifies that the object was changed (e.g. to force visual update etc.)

    Parameters

    • Rest ...params: any[]

    Returns void

  • Parameters

    • id: number
    • value: boolean

    Returns void

    Undocumented

Events

event_change: ((changeType, ...additionalArgs) => void)

Event is called when object is somehow changed

See App.listen

Type declaration

    • (changeType, ...additionalArgs): void
    • Parameters

      • changeType: string

        additional change type (can have values like 'tracklist', 'deleted', 'title' or undefined)

      • Rest ...additionalArgs: any[]

      Returns void

Example

app.listen(object, 'change', (changeType) => {  });
event_destroying: (() => void)

Event is called when object is going to destroy

See App.listen

Type declaration

    • (): void
    • Returns void

event_statuschange: (() => void)

Event is called when status info of the object is changed

See App.listen

Type declaration

    • (): void
    • Returns void