Package | com.adobe.mediacore.events |
Class | public final class ProfileEvent |
Inheritance | ProfileEvent ![]() |
Property | Defined By | ||
---|---|---|---|
description : String [read-only]
The description of this profile event
| ProfileEvent | ||
profile : int [read-only]
The current profile being played by the media player. | ProfileEvent | ||
time : Number [read-only]
The stream time when the change has occurred. | ProfileEvent |
Method | Defined By | ||
---|---|---|---|
ProfileEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, profile:int = 0, time:Number = 0, description:String)
Default constructor. | ProfileEvent | ||
clone():Event [override]
| ProfileEvent | ||
create(profile:int, time:Number, description:String):ProfileEvent [static]
Factory method for this event. | ProfileEvent |
Constant | Defined By | ||
---|---|---|---|
EMPTY_DESCRIPTION : String = Not available [static] | ProfileEvent | ||
PROFILE_CHANGED : String = profileChanged [static]
Event dispatched when the media player change its current profile. | ProfileEvent |
description | property |
description:String
[read-only] The description of this profile event
public function get description():String
profile | property |
profile:int
[read-only] The current profile being played by the media player.
public function get profile():int
time | property |
time:Number
[read-only] The stream time when the change has occurred.
public function get time():Number
ProfileEvent | () | Constructor |
public function ProfileEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, profile:int = 0, time:Number = 0, description:String)
Default constructor.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
| |
profile:int (default = 0 )
| |
time:Number (default = 0 )
| |
description:String (default = NaN )
|
clone | () | method |
override public function clone():Event
Returns
Event |
create | () | method |
public static function create(profile:int, time:Number, description:String):ProfileEvent
Factory method for this event.
Parameters
profile:int — the current profile used by the media player.
| |
time:Number — the stream time when this changed has occurred.
| |
description:String (default = NaN )
|
ProfileEvent — a valid instance of ProfileEvent
|
EMPTY_DESCRIPTION | Constant |
public static const EMPTY_DESCRIPTION:String = Not available
PROFILE_CHANGED | Constant |
public static const PROFILE_CHANGED:String = profileChanged
Event dispatched when the media player change its current profile. The new profile being played is exposed through profile property. The time when this event has occurred is exposed through time property.