A CustomButton allows for a media player action other than one of the PLAYBACK_CONTROL_* actions. When a CustomButton is pressed in the media player the ContentDelegate.onCustomButton(button) function is called with the pressed button as a parameter.
Instance Method Summary collapse
Called by the system to draw the button in the Media Player.
Called by the system to determine if the current state of the button.
Called by the system to draw the name of the button.
Instance Method Details
getImage(image as Media.ButtonImage, highlighted as Lang.Boolean) as WatchUi.BitmapResource or Graphics.BitmapReference or Null
Called by the system to draw the button in the Media Player
BitmapReference is only supported in CIQ 4.0.0 and later.
getState() as Media.ButtonState
Called by the system to determine if the current state of the button