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

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.5

The DRMContentData class provides the information required to obtain the voucher necessary to view DRM-protected content.

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



Public Properties
 PropertyDefined By
  AIR-only authenticationMethod : String
[read-only] The type of authentication required to obtain a voucher for the associated content.
DRMContentData
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  AIR-only 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
  AIR-only licenseID : String
[read-only] A unique id identifying the content associated with this metadata on the media rights server.
DRMContentData
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  AIR-only serverURL : String
[read-only] URL of a media rights server that can provide the voucher required to view the associated content.
DRMContentData
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 

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
AIR-only 

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
AIR-only 

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
AIR-only 

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