Package | com.brightcove.api.events |
Class | public class AuthEvent |
Inheritance | AuthEvent ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
AuthEvent(type:String, service:String, data:Object = null)
Constructor. | AuthEvent | ||
clone():Event [override]
Returns a copy of the event instance. | AuthEvent |
Constant | Defined 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 |
requestorId | property |
requestorId:String
[read-only] Returns the requestorId and resourceId for the media. This is only applicable to Adobe Pass (currently).
public function get requestorId():String
resourceId | property |
resourceId:String
[read-only] public function get resourceId():String
service | property |
service:String
[read-only] Returns a copy of the service type (Adobe Pass, AIS, etc)
public function get service():String
AuthEvent | () | Constructor |
public function AuthEvent(type:String, service:String, data:Object = null)
Constructor.
Parameterstype:String — event name.
| |
service:String — position of the media, in seconds.
| |
data:Object (default = null ) — duration of the media, in seconds.
|
clone | () | method |
override public function clone():Event
Returns a copy of the event instance.
ReturnsEvent — A copy of the event.
|
AUTH_NEEDED | Constant |
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.