| Package | com.adobe.mediacore.events |
| Class | public final class ProfileEvent |
| Inheritance | ProfileEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| 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)
Default constructor. | ProfileEvent | ||
clone():Event [override]
| ProfileEvent | ||
create(profile:int, time:Number):ProfileEvent [static]
Factory method for this event. | ProfileEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| PROFILE_CHANGED : String = profileChanged [static]
Event dispatched when the media player change its current profile. | ProfileEvent | ||
| 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)Default constructor.
Parameterstype:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) | |
profile:int (default = 0) | |
time:Number (default = 0) |
| clone | () | method |
override public function clone():EventReturns
Event |
| create | () | method |
public static function create(profile:int, time:Number):ProfileEventFactory 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.
|
ProfileEvent — a valid instance of ProfileEvent
|
| PROFILE_CHANGED | Constant |
public static const PROFILE_CHANGED:String = profileChangedEvent 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.