| Package | com.adobe.mediacore.events |
| Class | public final class MediaPlayerItemEvent |
| Inheritance | MediaPlayerItemEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| item : MediaPlayerItem [read-only]
The media item associated with this event. | MediaPlayerItemEvent | ||
| Method | Defined By | ||
|---|---|---|---|
MediaPlayerItemEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, item:MediaPlayerItem = null)
Default constructor
| MediaPlayerItemEvent | ||
clone():Event [override]
| MediaPlayerItemEvent | ||
[static]
Factory method
| MediaPlayerItemEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CAPTION_UPDATED : String = captionUpdated [static]
Event dispatched when a media player item is updated. | MediaPlayerItemEvent | ||
| ITEM_CREATED : String = itemCreated [static]
Event dispatched when a media player item is created. | MediaPlayerItemEvent | ||
| ITEM_UPDATED : String = itemUpdated [static]
Event dispatched when a media player item is updated. | MediaPlayerItemEvent | ||
| item | property |
item:MediaPlayerItem [read-only] The media item associated with this event.
public function get item():MediaPlayerItem| MediaPlayerItemEvent | () | Constructor |
public function MediaPlayerItemEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, item:MediaPlayerItem = null)Default constructor
Parameterstype:String — Event type.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
item:MediaPlayerItem (default = null) — Associated media item.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| create | () | method |
public static function create(type:String, item:MediaPlayerItem):MediaPlayerItemEventFactory method
Parameters
type:String — event type.
| |
item:MediaPlayerItem — associated media item
|
MediaPlayerItemEvent — a valid MediaPlayerItemEvent instance.
|
| CAPTION_UPDATED | Constant |
public static const CAPTION_UPDATED:String = captionUpdatedEvent dispatched when a media player item is updated. For live/linear streams the client must periodically refresh the media resource to detect the new available content. When this happen certain media characteristics might change.
| ITEM_CREATED | Constant |
public static const ITEM_CREATED:String = itemCreatedEvent dispatched when a media player item is created. The newly created media player item can be accessed through item property of this event.
| ITEM_UPDATED | Constant |
public static const ITEM_UPDATED:String = itemUpdatedEvent dispatched when a media player item is updated. For live/linear streams the client must periodically refresh the media resource to detect the new available content. When this happen certain media characteristics might change.