BrightcoveMediaControlRegistryImpl

Provides a button controller registry where collections of button controllers are managed.

Author

Paul Michael Reilly --- pmreilly@brightcove.com

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun clear()
Clears out the media controls and button controllers.
Link copied to clipboard
Gets a button controller for a given Android resource identifier.
Link copied to clipboard
Gets the list of registered button controllers.
Link copied to clipboard
open fun getId(view: View): Int
Gets the Android resource id for a given view.
Link copied to clipboard
open fun getManagedState(id: Int): Int
Gets the managed state for a controller with a given button resource id.
Link copied to clipboard
Implements a getter for the state list associated with a given button.
Link copied to clipboard
open fun getView(id: Int): View
Implements a getter to obtain a button widget for a given button resource id.
open fun getView(resourceTag: String): View
Implements a getter to obtain a view given the tag part of a resource id, i.e.
Link copied to clipboard
open fun register(view: View)
Registers a View object as a media control.
open fun register(controller: ButtonController)
Implements to register a given button controller.
Link copied to clipboard
open fun unregister(view: View)
Unregisters a View object as a media control.
open fun unregister(controller: ButtonController)
Unregisters a given button controller.