ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.traits 

DRMState  - AS3 OSMF

Packageorg.osmf.traits
Classpublic final class DRMState
InheritanceDRMState Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

DRMState is the enumeration of possible DRM-specific states that a piece of media can be in.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
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
Public Constants
 ConstantDefined By
  AUTHENTICATING : String = "authenticating"
[static] The media is authenticating (the DRM system is in the process of validating the credentials, or for anonymous content, of validating that the content is still valid to play).
DRMState
  AUTHENTICATION_COMPLETE : String = "authenticationComplete"
[static] The media has been successfully authenticated.
DRMState
  AUTHENTICATION_ERROR : String = "authenticationError"
[static] The media's authentication attempt failed.
DRMState
  AUTHENTICATION_NEEDED : String = "authenticationNeeded"
[static] The media needs credential-based authentication.
DRMState
  DRM_SYSTEM_UPDATING : String = "drmSystemUpdating"
[static] The DRM system is currently being updated.
DRMState
  UNINITIALIZED : String = "uninitialized"
[static] The media has not yet been initialized for DRM.
DRMState
Constant Detail

AUTHENTICATING

Constant
public static const AUTHENTICATING:String = "authenticating"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The media is authenticating (the DRM system is in the process of validating the credentials, or for anonymous content, of validating that the content is still valid to play).

AUTHENTICATION_COMPLETE

Constant 
public static const AUTHENTICATION_COMPLETE:String = "authenticationComplete"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The media has been successfully authenticated.

AUTHENTICATION_ERROR

Constant 
public static const AUTHENTICATION_ERROR:String = "authenticationError"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The media's authentication attempt failed.

AUTHENTICATION_NEEDED

Constant 
public static const AUTHENTICATION_NEEDED:String = "authenticationNeeded"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The media needs credential-based authentication. Call authenticate() on the DRMTrait to provide authentication.

DRM_SYSTEM_UPDATING

Constant 
public static const DRM_SYSTEM_UPDATING:String = "drmSystemUpdating"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The DRM system is currently being updated.

UNINITIALIZED

Constant 
public static const UNINITIALIZED:String = "uninitialized"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10.1, AIR 1.5

The media has not yet been initialized for DRM.