Interface ShowHideController
-
- All Known Implementing Classes:
BrightcoveMediaController,BrightcoveShowHideController
public interface ShowHideControllerDefines 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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringANIMATION_STYLE_FADEUse a fading animation style whereby ...static java.lang.StringANIMATION_STYLE_SLIDEUse a sliding animation style whereby ...static java.lang.StringCONTROLS_HEIGHTThe name for the DID_SHOW_MEDIA_CONTROLS event's controls height property.static java.lang.StringDID_HIDE_MEDIA_CONTROLSStandard event type used to notify an app that media controls are hidden.static java.lang.StringDID_SHOW_MEDIA_CONTROLSStandard event type used to notify an app that media controls are showing.static java.lang.StringHIDE_MEDIA_CONTROLSStandard event type used to emit and listen for hiding media controls.static java.lang.StringSHOW_HIDE_ANIMATION_STYLEEvent property key selecting an animation style, a String constant.static java.lang.StringSHOW_HIDE_RESOURCESEvent property key specifying the Android resource identifiers to either show or hide.static java.lang.StringSHOW_HIDE_TIMEOUTEvent property key specifying delay (in milliseconds, default is three seconds) from showing to hiding the media controls.static java.lang.StringSHOW_MEDIA_CONTROLSStandard event type used to emit and listen for showing media controls.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhide()Hides the media controls.booleanisShowing()Determines whether or not the media controls are showing.voidshow()Shows the media controls.
-
-
-
Field Detail
-
SHOW_MEDIA_CONTROLS
static final java.lang.String SHOW_MEDIA_CONTROLS
Standard event type used to emit and listen for showing media controls.- See Also:
- Constant Field Values
-
HIDE_MEDIA_CONTROLS
static final java.lang.String HIDE_MEDIA_CONTROLS
Standard event type used to emit and listen for hiding media controls.- See Also:
- Constant Field Values
-
DID_SHOW_MEDIA_CONTROLS
static final java.lang.String DID_SHOW_MEDIA_CONTROLS
Standard event type used to notify an app that media controls are showing.- See Also:
- Constant Field Values
-
DID_HIDE_MEDIA_CONTROLS
static final java.lang.String DID_HIDE_MEDIA_CONTROLS
Standard event type used to notify an app that media controls are hidden.- See Also:
- Constant Field Values
-
CONTROLS_HEIGHT
static final java.lang.String CONTROLS_HEIGHT
The name for the DID_SHOW_MEDIA_CONTROLS event's controls height property.- See Also:
- Constant Field Values
-
SHOW_HIDE_ANIMATION_STYLE
static final java.lang.String SHOW_HIDE_ANIMATION_STYLE
Event property key selecting an animation style, a String constant. See the default supported styles below.- See Also:
- Constant Field Values
-
SHOW_HIDE_TIMEOUT
static final java.lang.String SHOW_HIDE_TIMEOUT
Event property key specifying delay (in milliseconds, default is three seconds) from showing to hiding the media controls.- See Also:
- Constant Field Values
-
SHOW_HIDE_RESOURCES
static final java.lang.String SHOW_HIDE_RESOURCES
Event property key specifying the Android resource identifiers to either show or hide.- See Also:
- Constant Field Values
-
ANIMATION_STYLE_FADE
static final java.lang.String ANIMATION_STYLE_FADE
Use a fading animation style whereby ...- See Also:
- Constant Field Values
-
ANIMATION_STYLE_SLIDE
static final java.lang.String ANIMATION_STYLE_SLIDE
Use a sliding animation style whereby ...- See Also:
- Constant Field Values
-
-