Package | flash.net.drm |
Class | public class DRMVoucher |
Inheritance | DRMVoucher Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The DRMVoucher properties describe the viewing rights conferred by the voucher. You can get a voucher
using the loadVoucher()
method of the DRMManager object. This method
requires a DRMContentData object, obtained with the preloadEmbeddedMetadata()
method of the NetStream class (AIR only) or by using the DRMContentData()
constructor.
When using a media rights server such as Flash Access, you can get a DRMContentData object
from the metadata generated by the media packager tool.
See also
flash.net.drm.DRMManager.loadVoucher()
flash.net.NetStream.preloadEmbeddedMetaData()
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
offlineLeaseEndDate : Date [read-only]
The date and time at which this voucher expires for offline playback. | DRMVoucher | ||
offlineLeaseStartDate : Date [read-only]
The date and time at which this voucher becomes valid for offline playback. | DRMVoucher | ||
playbackTimeWindow : flash.net.drm:DRMPlaybackTimeWindow [read-only]
The time period, after the first viewing, during which
the associated content can be viewed or reviewed. | DRMVoucher | ||
policies : Object [read-only]
A dynamic object that reports policies defined by the application. | DRMVoucher | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
voucherEndDate : Date [read-only]
The date on which this voucher expires. | DRMVoucher | ||
voucherStartDate : Date [read-only]
The beginning of this voucher's validity period. | DRMVoucher |
offlineLeaseEndDate | property |
offlineLeaseEndDate:Date
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The date and time at which this voucher expires for offline playback.
If a voucher is only valid for the current online session,
offlineLeaseStartDate
is null
.
Implementation
public function get offlineLeaseEndDate():Date
offlineLeaseStartDate | property |
offlineLeaseStartDate:Date
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The date and time at which this voucher becomes valid for offline playback.
If a voucher is only valid for the current online session,
offlineLeaseStartDate
is null
.
Implementation
public function get offlineLeaseStartDate():Date
playbackTimeWindow | property |
playbackTimeWindow:flash.net.drm:DRMPlaybackTimeWindow
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The time period, after the first viewing, during which the associated content can be viewed or reviewed.
The time period allotted for viewing begins when the user first views the content
and ends after the allotted amount of time has elapsed. If no time is allotted,
the value of the playbackTimeWindow
property is null
.
Implementation
public function get playbackTimeWindow():flash.net.drm:DRMPlaybackTimeWindow
policies | property |
policies:Object
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
A dynamic object that reports policies defined by the application.
The policy object contains a name-value pair for each policy in effect.
Implementation
public function get policies():Object
voucherEndDate | property |
voucherEndDate:Date
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The date on which this voucher expires.
Implementation
public function get voucherEndDate():Date
voucherStartDate | property |
voucherStartDate:Date
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5, Flash Player 10.1 |
The beginning of this voucher's validity period.
Implementation
public function get voucherStartDate():Date
Thu May 20 2010, 02:19 AM -07:00