Package | flash.net.drm |
Class | public class DRMContentData |
Inheritance | DRMContentData Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5 |
A DRMContentData object can be obtained from a NetStream instance by calling
the NetStream preloadEmbeddedContent()
method and providing an
onDRMContentData
callback function on the NetStream client object. Use the DRMContentData object
passed to the callback function as a parameter for the DRMManager loadVoucher()
method.
See also
Property | Defined By | ||
---|---|---|---|
authenticationMethod : String [read-only]
The type of authentication required to obtain a voucher for the associated content. | DRMContentData | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
domain : String [read-only]
The content domain of the media rights server to which the user must be authenticated in order to obtain
the voucher for the associated content. | DRMContentData | ||
licenseID : String [read-only]
A unique id identifying the content associated with this metadata on
the media rights server. | DRMContentData | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
serverURL : String [read-only]
URL of a media rights server that can
provide the voucher required to view the associated content. | DRMContentData |
authenticationMethod | property |
authenticationMethod:String
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5 |
The type of authentication required to obtain a voucher for the associated content.
The support types of authentication are:
- AuthenticationMethod.ANONYMOUS — anyone can obtain a voucher.
- AuthenticationMethod.USERNAME_AND_PASSWORD — the username and password of an account authorized to view the associated content must be supplied in order to obtain a voucher.
The AuthenticationMethod class provides string constants to use with the
authenticationMethod
property.
Implementation
public function get authenticationMethod():String
domain | property |
domain:String
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5 |
The content domain of the media rights server to which the user must be authenticated in order to obtain the voucher for the associated content.
If authentication is to the default domain or no authentication is required,
then domainName
will be 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
licenseID | property |
licenseID:String
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5 |
A unique id identifying the content associated with this metadata on the media rights server.
Implementation
public function get licenseID():String
serverURL | property |
serverURL:String
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.5 |
URL of a media rights server that can provide the voucher required to view the associated content.
Implementation
public function get serverURL():String
Fri Mar 19 2010, 02:45 AM -07:00