| Package | qnx.ui.events |
| Class | public class MediaControlEvent |
| Inheritance | MediaControlEvent flash.events.Event |
MediaControlEvent is dispatched by the MediaControl component.
See also
| Property | Defined By | ||
|---|---|---|---|
| property : String [read-only]
Gets the property, state or option of the MediaControl class that triggered the event. | MediaControlEvent | ||
| Method | Defined By | ||
|---|---|---|---|
MediaControlEvent(type:String, property:String = null)
Constructs a MediaControl object. | MediaControlEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| OPTION_CLICK : String = optionClicked [static]
Dispatched when certain elements in the control are touched by the user. | MediaControlEvent | ||
| PROPERTY_CHANGE : String = propertyChange [static]
Dispatched when a property has changed through user interaction. | MediaControlEvent | ||
| STATE_CHANGE : String = stateChange [static]
Dispatched when the state of the media must change based on user interaction with the controls. | MediaControlEvent | ||
| property | property |
property:String [read-only]
Gets the property, state or option of the MediaControl class that triggered the event.
public function get property():String| MediaControlEvent | () | Constructor |
public function MediaControlEvent(type:String, property:String = null)
Constructs a MediaControl object.
type:String — The type of MediaControlEvent.
| |
property:String (default = null) — The property that changed.
|
| OPTION_CLICK | Constant |
public static const OPTION_CLICK:String = optionClickedDispatched when certain elements in the control are touched by the user.
The following cases will cause this event to be dispatched:
See also
| PROPERTY_CHANGE | Constant |
public static const PROPERTY_CHANGE:String = propertyChangeDispatched when a property has changed through user interaction.
The following cases will cause this event to be dispatched:
See also
| STATE_CHANGE | Constant |
public static const STATE_CHANGE:String = stateChangeDispatched when the state of the media must change based on user interaction with the controls.
The following cases will cause this event to be dispatched:
See also