Skip to content

Latest commit

 

History

History
148 lines (82 loc) · 2.83 KB

core_asset.AudioAsset.md

File metadata and controls

148 lines (82 loc) · 2.83 KB

videodb / Exports / core/asset / AudioAsset

Class: AudioAsset

core/asset.AudioAsset

AudioAsset class

Hierarchy

  • MediaAsset

    AudioAsset

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AudioAsset(assetId, config?): AudioAsset

Initializes a AudioAsset instance

Parameters

Name Type Description
assetId string The id of the audio asset.
config? Partial<AudioAssetConfig> The configuration of the audio asset.

Returns

AudioAsset

A new AudioAsset instance.

Overrides

MediaAsset.constructor

Defined in

src/core/asset.ts:83

Properties

assetId

assetId: string

Inherited from

MediaAsset.assetId

Defined in

src/core/asset.ts:31


disableOtherTracks

disableOtherTracks: boolean

Defined in

src/core/asset.ts:73


end

end: null | number

Defined in

src/core/asset.ts:72


fadeInDuration

fadeInDuration: number

Defined in

src/core/asset.ts:74


fadeOutDuration

fadeOutDuration: number

Defined in

src/core/asset.ts:75


start

start: number

Defined in

src/core/asset.ts:71

Methods

toJSON

toJSON(): Object

Returns

Object

Name Type
assetId string
disableOtherTracks boolean
end null | number
fadeInDuration number
fadeOutDuration number
start number

Defined in

src/core/asset.ts:107