Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMutable

Hierarchy

Implemented by

Index

Properties

Optional duration

duration: IMillisecondsImmutable

The duration of the full media, if known

end

end: IMillisecondsMutable

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: IMillisecondsMutable

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: Array<ITrackMutable>

type

type: Audio

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

url

url: IUrlMutable

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