Contents

duration

The duration (in seconds) of the audio file.

Declaration

var duration: TimeInterval { get }

Discussion

The duration of the audio file is obtained from the audio file itself.

See Also

Getting the Asset’s Properties