Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.net.drm 
DRMPlaybackTimeWindow 
Packageflash.net.drm
Classpublic class DRMPlaybackTimeWindow
InheritanceDRMPlaybackTimeWindow Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.5

The DRMPlaybackWindow class represents the time period in which a DRM voucher is valid.

The startDate and endDate properties are null until the user first views the content.

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  AIR-only endDate : Date
[read-only] The date on which the playback window ends.
DRMPlaybackTimeWindow
  AIR-only period : uint
[read-only] The time window length in milliseconds.
DRMPlaybackTimeWindow
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  AIR-only startDate : Date
[read-only] The date on which the playback window started.
DRMPlaybackTimeWindow
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
AIR-only 

endDate

property
endDate:Date  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.5

The date on which the playback window ends.

The endDate will be null if the playback window has not started.



Implementation
    public function get endDate():Date
AIR-only 

period

property 
period:uint  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.5

The time window length in milliseconds.



Implementation
    public function get period():uint
AIR-only 

startDate

property 
startDate:Date  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.5

The date on which the playback window started.

The startDate will be null if the playback window has not started.



Implementation
    public function get startDate():Date