Package | flash.net.drm |
Class | public class DRMVoucher |
Inheritance | DRMVoucher ![]() |
The DRMVoucher properties describe the viewing rights confered by the voucher. A voucher
can be obtained using the loadVoucher()
method of the DRMManager object. This method,
in turn, requires a DRMContentData object obtained with the preloadEmbeddedMetadata()
method of the NetStream class.
See also
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() [read-only]
The date and time at which this voucher expires for offline playback. | DRMVoucher | ||
![]() [read-only]
The date and time at which this voucher becomes valid for offline playback. | DRMVoucher | ||
![]() [read-only]
The time period, after first view, during which the related content can be viewed or reviewed. | DRMVoucher | ||
![]() [read-only]
A dynamic Object reporting application-defined policies. | DRMVoucher | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
![]() [read-only]
The date on which this voucher expires. | DRMVoucher | ||
![]() [read-only]
The beginning of this voucher's validity period. | DRMVoucher |
![]() | property |
offlineLeaseEndDate:Date
[read-only] 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
.
public function get offlineLeaseEndDate():Date
![]() | property |
offlineLeaseStartDate:Date
[read-only] 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
.
public function get offlineLeaseStartDate():Date
![]() | property |
playbackTimeWindow:flash.net.drm:DRMPlaybackTimeWindow
[read-only] The time period, after first view, during which the related content can be viewed or reviewed.
The playback window opens when the user first views the content and closes
after the allowed amount of time has elapsed. If no playback window is allowed,
then playbackTimeWindow
is null
.
public function get playbackTimeWindow():flash.net.drm:DRMPlaybackTimeWindow
![]() | property |
policies:Object
[read-only] A dynamic Object reporting application-defined policies.
The policy object contains a name-value pair for each policy in effect.
public function get policies():Object
![]() | property |
voucherEndDate:Date
[read-only] The date on which this voucher expires.
public function get voucherEndDate():Date
![]() | property |
voucherStartDate:Date
[read-only] The beginning of this voucher's validity period.
public function get voucherStartDate():Date