Package | flash.net.drm |
Class | public final class VoucherAccessInfo |
Inheritance | VoucherAccessInfo Object |
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2 |
Property | Defined by | ||
---|---|---|---|
authenticationMethod : String
[read-only]
The type of authentication required to obtain a voucher for the associated content.
| VoucherAccessInfo | ||
constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | ||
deviceGroup : DRMDeviceGroup
[read-only]
| VoucherAccessInfo | ||
displayName : String
[read-only] A user-friendly string that you can use to refer to the specified
VoucherAccessInfo object in the user interface.
| VoucherAccessInfo | ||
domain : String
[read-only]
The content domain of the media rights server to which the user must be authenticated
to obtain the voucher for the associated content.
| VoucherAccessInfo | ||
policyID : String
[read-only] A unique identifier for the policy that this VoucherAccessInfo represents.
| VoucherAccessInfo | ||
prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object |
authenticationMethod | property |
authenticationMethod:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2 |
The type of authentication required to obtain a voucher for the associated content.
The supported types of authentication are:
The AuthenticationMethod class provides string constants to use with the
authenticationMethod
property.
public function get authenticationMethod():String
deviceGroup | property |
deviceGroup:DRMDeviceGroup
[read-only]Implementation
public function get deviceGroup():DRMDeviceGroup
displayName | property |
displayName:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2 |
A user-friendly string that you can use to refer to the specified VoucherAccessInfo object in the user interface.
If the metadata file for a piece of media content has multiple vouchers,
each with its own VoucherAccessInfo object, the user might need to decide
which voucher to authenticate to. For example, you might have
a subscription-level voucher with high privileges for viewing content,
as well as a basic-level voucher with lower privileges. To distinguish
between these two vouchers, use the descriptive string in the
displayName
property. The string is set by the media
packager tool (the tool that packages and encrypts media in preparation
for distribution with a media rights server, such as Flash Access).
For applications that are localized, you can use this property as an identifier. The application can detect the locale and localize the strings accordingly.
Implementation public function get displayName():String
domain | property |
domain:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 2 |
The content domain of the media rights server to which the user must be authenticated to obtain the voucher for the associated content.
If authentication is to the default domain or no authentication is required,
the value of domainName
is null
.
Note: The domain returned by this property has nothing to do with network or Internet domain names. In this case, a domain is a group of content or user accounts. For example, a single server could support several domains, each with its own set of content channels and subscribers.
Implementation public function get domain():String
policyID | property |
policyID:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3.8 |
A unique identifier for the policy that this VoucherAccessInfo represents.
If the metadata file for a piece of media content has multiple vouchers, each with its own VoucherAccessInfo object, the user might need to decide which voucher to authenticate to. For example, you might have a subscription-level voucher with high privileges for viewing content, as well as a basic-level voucher with lower privileges. The policyID of the acquired DRMVoucher object will match the policyID of the VoucherAccessInfo under which the voucher was issued.
Implementation public function get policyID():String