ShowHideController

Defines the facilities for managing media controls visibility. After showing or hiding media controls, a DID_SHOW_MEDIA_CONTROLS or DID_HIDE_MEDIA_CONTROLS SDK event will be emitted with event properties containing the current animation style and timeout value. To determine programmatically if the Brighcove media controls are being displayed, the isShowing() method can be used.

Author

Paul Michael Reilly --- pmreilly@brightcove.com

Inheritors

Properties

Link copied to clipboard
Use a fading animation style whereby ...
Link copied to clipboard
Use a sliding animation style whereby ...
Link copied to clipboard
val CONTROLS_HEIGHT: String = "controlsHeight"
The name for the DID_SHOW_MEDIA_CONTROLS event's controls height property.
Link copied to clipboard
val DID_HIDE_MEDIA_CONTROLS: String = "didHideMediaControls"
Standard event type used to notify an app that media controls are hidden.
Link copied to clipboard
val DID_SHOW_MEDIA_CONTROLS: String = "didShowMediaControls"
Standard event type used to notify an app that media controls are showing.
Link copied to clipboard
val HIDE_MEDIA_CONTROLS: String = "hideMediaControls"
Standard event type used to emit and listen for hiding media controls.
Link copied to clipboard
val SHOW_HIDE_ANIMATION_STYLE: String = "showHideAnimationStyle"
Event property key selecting an animation style, a String constant.
Link copied to clipboard
val SHOW_HIDE_RESOURCES: String = "showHideResources"
Event property key specifying the Android resource identifiers to either show or hide.
Link copied to clipboard
val SHOW_HIDE_TIMEOUT: String = "showHideTimeout"
Event property key specifying delay (in milliseconds, default is three seconds) from showing to hiding the media controls.
Link copied to clipboard
val SHOW_MEDIA_CONTROLS: String = "showMediaControls"
Standard event type used to emit and listen for showing media controls.

Functions

Link copied to clipboard
abstract fun hide()
Hides the media controls.
Link copied to clipboard
abstract fun isShowing(): Boolean
Determines whether or not the media controls are showing.
Link copied to clipboard
abstract fun show()
Shows the media controls.