| Package | com.adobe.mediacore.events |
| Class | public class AdBreakPlaybackEvent |
| Inheritance | AdBreakPlaybackEvent flash.events.Event |
See also
| Property | Defined By | ||
|---|---|---|---|
| adBreak : AdBreak [read-only]
The associated ad break information. | AdBreakPlaybackEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AdBreakPlaybackEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak)
Default constructor. | AdBreakPlaybackEvent | ||
clone():Event [override]
| AdBreakPlaybackEvent | ||
[static]
Factory method for creating AdBreakPlaybackEvent. | AdBreakPlaybackEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| AD_BREAK_COMPLETED : String = adBreakCompleted [static]
Event dispatched when an ad break completes. | AdBreakPlaybackEvent | ||
| AD_BREAK_STARTED : String = adBreakStarted [static]
Event dispatched when an ad break starts. | AdBreakPlaybackEvent | ||
| adBreak | property |
adBreak:AdBreak [read-only] The associated ad break information.
public function get adBreak():AdBreak| AdBreakPlaybackEvent | () | Constructor |
public function AdBreakPlaybackEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak)Default constructor. Throws an ArgumentError if the specified ad break is null.
Parameterstype:String — The type of the event.
| |
bubbles:Boolean — Determines whether the Event object participates in the bubbling stage of the event flow.
| |
cancelable:Boolean — Determines whether the Event object can be canceled.
| |
adBreak:AdBreak — The associated ad break.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| create | () | method |
public static function create(type:String, adBreak:AdBreak):AdBreakPlaybackEventFactory method for creating AdBreakPlaybackEvent. Throws an ArgumentError if the specified ad break is null.
Parameters
type:String — The type of event.
| |
adBreak:AdBreak — The associated ad break.
|
AdBreakPlaybackEvent — a valid AdBreakPlaybackEvent instance.
|
| AD_BREAK_COMPLETED | Constant |
public static const AD_BREAK_COMPLETED:String = adBreakCompletedEvent dispatched when an ad break completes.
| AD_BREAK_STARTED | Constant |
public static const AD_BREAK_STARTED:String = adBreakStartedEvent dispatched when an ad break starts.