BrightcoveMediaControlRegistry

Defines the interface for managing a collection of controllers for media control buttons which use an icon fontset to present the button operation via a glyph defined by the font.

Author

Paul Michael Reilly --- pmreilly@brightcove.com

Inheritors

Functions

Link copied to clipboard
abstract fun clear()
Clears the registry of all media controls and any button controllers.
Link copied to clipboard
Gets a particular button controller for a given button identifier.
Link copied to clipboard
Gets a list of all registered button controllers.
Link copied to clipboard
abstract fun getId(view: View): Int
Maps a media control view to a resource identifier.
Link copied to clipboard
abstract fun getManagedState(id: Int): Int
Obtain the managed state information from the controller with a given Android resource id.
Link copied to clipboard
abstract fun getStateList(id: Int): List<ButtonState>
Implements a getter for the state list associated with a given button.
Link copied to clipboard
abstract fun getView(id: Int): View
Gets a media control view with a given resource id.
abstract fun getView(resourceTag: String): View
Gets a media control view with a given resource tag (the last portion of the textual resource id, e.g.
Link copied to clipboard
abstract fun register(control: View)
Registers a media control.
abstract fun register(controller: ButtonController)
Registers a given button controller.
Link copied to clipboard
abstract fun unregister(control: View)
Unregisters a media control.
abstract fun unregister(controller: ButtonController)
Unregisters a given button controller.