public interface BrightcoveMediaControlRegistry
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the registry of all media controls and any button controllers.
|
ButtonController |
getButtonController(int id)
Gets a particular button controller for a given button identifier.
|
java.util.List<ButtonController> |
getButtonControllers()
Gets a list of all registered button controllers.
|
int |
getId(android.view.View view)
Maps a media control view to a resource identifier.
|
int |
getManagedState(int id)
Obtain the managed state information from the controller with a given Android resource id.
|
java.util.List<ButtonState> |
getStateList(int id)
Implements a getter for the state list associated with a given button.
|
android.view.View |
getView(int id)
Gets a media control view with a given resource id.
|
android.view.View |
getView(java.lang.String resourceTag)
Gets a media control view with a given resource tag (the last portion of the textual resource id,
e.g.
|
void |
register(ButtonController controller)
Registers a given button controller.
|
void |
register(android.view.View control)
Registers a media control.
|
void clear()
java.util.List<ButtonController> getButtonControllers()
ButtonController getButtonController(int id)
id
- The given button identifier.int getManagedState(int id)
android.view.View getView(int id)
id
- The Android resource identifier.android.view.View getView(java.lang.String resourceTag)
resourceTag
- The Android resource identifier.int getId(android.view.View view)
view
- The given media control view.java.util.List<ButtonState> getStateList(int id)
id
- The given button resource id.void register(ButtonController controller)
controller
- The given button controller.void register(android.view.View control)
control
- The given media control.