AudioAsset

Represents an audio asset.

AudioAsset interface

Represents an audio asset.

Signature:

interface AudioAsset extends BaseAssetMixin

Extends: BaseAssetMixin

Properties

Property

Modifiers

Type

Description

type

readonly

'AUDIO'

Asset type

uri

readonly

string | null

The audio source, or null if the audio data is unavailable

Methods

Method

Description

getDuration()

Gets the duration of the audio in seconds

remove()

Removes this audio asset and every audio layer that uses it

Last updated: October 8, 2026 at 10:45 AMEdit this page