Packagecom.adobe.mediacore.timeline
Classpublic final class Reservation
InheritanceReservation Inheritance Object

A reservation is used to limit or prevent further processing of a certain time range on the timeline. For example, in order to prevent buffering of media segments which might be replaced due to an ad placement, the advertising client will place a reservation on the timeline protecting the entire range which might be affected by the placement process. The caller responsible for creating a reservation on the timeline is also responsible for removing it once the reservation is no longer needed.



Public Properties
 PropertyDefined By
  hold : Number
[read-only] Returns the hold position associated with this reservation.
Reservation
  range : TimeRange
[read-only] Returns the time range associated with this reservation.
Reservation
Public Methods
 MethodDefined By
  
Default constructor.
Reservation
Property Detail
holdproperty
hold:Number  [read-only]

Returns the hold position associated with this reservation. Usually is equal with the beginning of the time range associated with this reservation.


Implementation
    public function get hold():Number
rangeproperty 
range:TimeRange  [read-only]

Returns the time range associated with this reservation.


Implementation
    public function get range():TimeRange
Constructor Detail
Reservation()Constructor
public function Reservation(range:TimeRange)

Default constructor.

Parameters
range:TimeRange — The time range for which this reservation has been made.