org.osmf.traits

# DRMState - AS3 OSMF

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

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

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00