Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IImmutable

The rendering of a audio is commonly rendered as a play/pause audio widget

Hierarchy

Index

Properties

Optional duration

duration: IMillisecondsImmutable

The duration of the full media, if known

end

end: IMillisecondsImmutable

The end point of the media, the media should either stop or loop at this point. The end point will be Infinity to signify playing the whole audio.

start

start: IMillisecondsImmutable

The location in the media to start playing. If the media loops, it should restart at this position. Will be set to 0 to signify playing normally

tracks

tracks: ReadonlyArray<ITrackImmutable>

Data to be shown alongside the playback of the audio

type

type: Audio

The type is immutable as all constructed node cannot mutable into another derived type

url

url: IUrlImmutable

The location of the resource. Can be a local file by using the file:// scheme