TimeRangeCollection class

The TimeRangeCollection utility class abstracts the notion of an ordered collection of TimeRange specifications and provides services to translate itself into a Metadata instance.

public final class TimeRangeCollection {
    public static const MARK_RANGES:String = "mark_ranges";

    public function TimeRangeCollection(timeRanges:Vector.<TimeRange>) {…}
    public function addTimeRange(timeRange:TimeRange):void {…}
    public function toMetadata(options:Metadata):Metadata {…}
}

The defined value for the type of collection are MARK_RANGES, DELETE_RANGES, and REPLACE_RANGES. You can create TimeRangeCollections using these three types.

On this page