Duration

Returns the length of the audio file in seconds or 0 if it is not available.

Schema: tchmi:general#/definitions/Number

Attribute getter

public getDuration(): number;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

number

The current value of the attribute.

Attribute setter

The attribute can only be read and therefore has no setter.

Duration 1:

Available from version 1.12.744