| Package | com.brightcove.api.events |
| Class | public class ContentEvent |
| Inheritance | ContentEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| media : MediaDTO [read-only]
Returns the media for which the event was broadcast. | ContentEvent | ||
| mediaCollection : MediaCollectionDTO [read-only]
Returns the media collection for which the event was broadcast. | ContentEvent | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor. | ContentEvent | ||
clone():Event [override]
Returns a copy of the event instance. | ContentEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| MEDIA_COLLECTION_LOAD : String = mediaCollectionLoad [static]
The ContentEvent.MEDIA_COLLECTION_LOAD constant defines the value of the
type property of the event object for a
mediaCollectionLoad event. | ContentEvent | ||
| MEDIA_LOAD : String = mediaLoad [static]
The ContentEvent.MEDIA_LOAD constant defines the value of the
type property of the event object for a
mediaLoad event. | ContentEvent | ||
| media | property |
media:MediaDTO [read-only] Returns the media for which the event was broadcast.
public function get media():MediaDTO| mediaCollection | property |
mediaCollection:MediaCollectionDTO [read-only] Returns the media collection for which the event was broadcast.
public function get mediaCollection():MediaCollectionDTO| ContentEvent | () | Constructor |
public function ContentEvent(type:String, media:MediaDTO = null, mediaCollection:MediaCollectionDTO = null)Constructor.
Parameterstype:String — event name.
| |
media:MediaDTO (default = null) — media, if any, that the event is for.
| |
mediaCollection:MediaCollectionDTO (default = null) — media collection, if any, that the event is for.
|
| clone | () | method |
override public function clone():EventReturns a copy of the event instance.
ReturnsEvent — A copy of the event.
|
| MEDIA_COLLECTION_LOAD | Constant |
public static const MEDIA_COLLECTION_LOAD:String = mediaCollectionLoad
The ContentEvent.MEDIA_COLLECTION_LOAD constant defines the value of the
type property of the event object for a
mediaCollectionLoad event.
| MEDIA_LOAD | Constant |
public static const MEDIA_LOAD:String = mediaLoad
The ContentEvent.MEDIA_LOAD constant defines the value of the
type property of the event object for a
mediaLoad event.