qnx.fuse.ui.events.MediaControlEvent

MediaControlEvent

Properties | Methods | Constants


Packageqnx.fuse.ui.events
Classpublic class MediaControlEvent
InheritanceMediaControlEvent Inheritance flash.events.Event

The MediaControlEvent is dispatched by the MediaControl component.

Class information:
PlayBook Tablet OS Version:   1.0.6

See also

MediaControl



Public Properties

 PropertyDefined By
  property : String
[read-only] Gets the property, state or option of the MediaControl class that triggered the event.
MediaControlEvent

Public Methods

 MethodDefined By
  
MediaControlEvent(type:String, property:String = null)
Constructs a MediaControl object.
MediaControlEvent

Public Constants

 ConstantDefined 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 Detail

property


property:String  [read-only]

Gets the property, state or option of the MediaControl class that triggered the event.


Implementation

public function get property():String

Constructor Detail

MediaControlEvent()


public function MediaControlEvent(type:String, property:String = null)

Constructs a MediaControl object.

Parameters

type:String — The type of MediaControlEvent.
property:String (default = null) — The property that changed.

Constant Detail

OPTION_CLICK


public static const OPTION_CLICK:String = optionClicked

Dispatched when certain elements in the control are touched by the user.

The following cases will cause this event to be dispatched:

  • When the user touches the next button.
  • When the user touches the previous button.

See also

MediaControlOption.NEXT
MediaControlOption.PREVIOUS

PROPERTY_CHANGE


public static const PROPERTY_CHANGE:String = propertyChange

Dispatched when a property has changed through user interaction.

The following cases will cause this event to be dispatched:

  • When the user interacts with the seek bar.
  • When the user interacts with the volume slider.
  • When the user presses the fullscreen button.

See also

MediaControlProperty

STATE_CHANGE


public static const STATE_CHANGE:String = stateChange

Dispatched 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:

  • The user presses the stop button.
  • The user presses the pause button.
  • The user presses the play button.
  • The user touches down on the seek thumb.
  • The user releases the seek thumb.

See also

MediaControlState