Packagecom.brightcove.api.events
Classpublic class AuthEvent
InheritanceAuthEvent Inheritance flash.events.Event

Events to be broadcast for authorization



Public Properties
 PropertyDefined By
  requestorId : String
[read-only] Returns the requestorId and resourceId for the media.
AuthEvent
  resourceId : String
[read-only]
AuthEvent
  service : String
[read-only] Returns a copy of the service type (Adobe Pass, AIS, etc)
AuthEvent
Public Methods
 MethodDefined By
  
AuthEvent(type:String, service:String, data:Object = null)
Constructor.
AuthEvent
  
clone():Event
[override] Returns a copy of the event instance.
AuthEvent
Public Constants
 ConstantDefined By
  AUTH_NEEDED : String = authNeeded
[static] The AuthEvent.AUTH_NEEDED constant signals that the currently loaded media needs a media token before playback can successfully start.
AuthEvent
Property Detail
requestorIdproperty
requestorId:String  [read-only]

Returns the requestorId and resourceId for the media. This is only applicable to Adobe Pass (currently).


Implementation
    public function get requestorId():String
resourceIdproperty 
resourceId:String  [read-only]


Implementation
    public function get resourceId():String
serviceproperty 
service:String  [read-only]

Returns a copy of the service type (Adobe Pass, AIS, etc)


Implementation
    public function get service():String
Constructor Detail
AuthEvent()Constructor
public function AuthEvent(type:String, service:String, data:Object = null)

Constructor.

Parameters
type:String — event name.
 
service:String — position of the media, in seconds.
 
data:Object (default = null) — duration of the media, in seconds.
Method Detail
clone()method
override public function clone():Event

Returns a copy of the event instance.

Returns
Event — A copy of the event.
Constant Detail
AUTH_NEEDEDConstant
public static const AUTH_NEEDED:String = authNeeded

The AuthEvent.AUTH_NEEDED constant signals that the currently loaded media needs a media token before playback can successfully start.