| Package | org.osmf.traits | 
| Class | public final class DRMState | 
| Inheritance | DRMState    Object | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | OSMF 1.0 | 
| Runtime Versions: | Flash Player 10.1, AIR 1.5 | 
Public Properties
| Property | Defined By | ||
|---|---|---|---|
![]()  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance.  | Object | |
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
![]()  | 
	 Indicates whether an object has a specified property defined.  | Object | |
![]()  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter.  | Object | |
![]()  | 
	 Indicates whether the specified property exists and is enumerable.  | Object | |
![]()  | 
     Sets the availability of a dynamic property for loop operations.  | Object | |
![]()  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions.  | Object | |
![]()  | 
	 Returns the string representation of the specified object.  | Object | |
![]()  | 
	 Returns the primitive value of the specified object.  | Object | |
Public Constants
| Constant | Defined 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.
Thu Dec 4 2014, 05:50 PM -08:00
 