Packagecom.adobe.mediacore.events
Classpublic class DRMInfoEvent
InheritanceDRMInfoEvent Inheritance flash.events.Event

Event dispatched by the MediaPlayer in relation with the DRM authentication system



Public Properties
 PropertyDefined By
  drmManager : DRMManager
[read-only] The associated DRM Manager
DRMInfoEvent
  drmMetadata : Object
[read-only] DEPRECATED! Will be removed on a future relase.
DRMInfoEvent
  errorId : int
[read-only] The error id, in case there was an authentication error.
DRMInfoEvent
  subErrorId : int
[read-only] The suberror id, in case there was an authentication error.
DRMInfoEvent
Public Methods
 MethodDefined By
  
DRMInfoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, errorId:int = 0, subErrorId:int = 0, drmMetadata:Object = null)
Default constructor
DRMInfoEvent
Public Constants
 ConstantDefined By
  DRM_ERROR : String = drmError
[static] Dispatched when the DRM process has failed
DRMInfoEvent
  DRM_METADATA_AVAILABLE : String = drmMetadataAvailable
[static] DEPRECATED! Will be removed on a future relase.
DRMInfoEvent
Property Detail
drmManagerproperty
drmManager:DRMManager  [read-only]

The associated DRM Manager


Implementation
    public function get drmManager():DRMManager
drmMetadataproperty 
drmMetadata:Object  [read-only]

DEPRECATED! Will be removed on a future relase. The associated DRM Metadata


Implementation
    public function get drmMetadata():Object
errorIdproperty 
errorId:int  [read-only]

The error id, in case there was an authentication error. Otherwise, 0.


Implementation
    public function get errorId():int
subErrorIdproperty 
subErrorId:int  [read-only]

The suberror id, in case there was an authentication error. Otherwise, 0.


Implementation
    public function get subErrorId():int
Constructor Detail
DRMInfoEvent()Constructor
public function DRMInfoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, errorId:int = 0, subErrorId:int = 0, drmMetadata:Object = null)

Default constructor

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
errorId:int (default = 0)
 
subErrorId:int (default = 0)
 
drmMetadata:Object (default = null)
Constant Detail
DRM_ERRORConstant
public static const DRM_ERROR:String = drmError

Dispatched when the DRM process has failed

DRM_METADATA_AVAILABLEConstant 
public static const DRM_METADATA_AVAILABLE:String = drmMetadataAvailable

DEPRECATED! Will be removed on a future relase. A DRMContentData payload is available as a drmMetadata