Package com.castlabs.android.player
Interface PlayerControllerPlugin
-
public interface PlayerControllerPlugin
A plugin interface that can be used to create plugins that need access to thePlayerController
.- Since:
- 4.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PlayerControllerPlugin.Component
Implementations of this component can be used to gain controlled access to aPlayerController
.static interface
PlayerControllerPlugin.ComponentViewListener
Interface which allowsComponents
to work with their Views.static interface
PlayerControllerPlugin.VisualComponent
Special type ofPlayerControllerPlugin.Component
which also happens to depend on a View.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlayerControllerPlugin.Component
create(PlayerController playerController)
Creates and returns a new instance of thePlayerControllerPlugin.Component
that is provided by this plugin.
-
-
-
Method Detail
-
create
@Nullable PlayerControllerPlugin.Component create(PlayerController playerController)
Creates and returns a new instance of thePlayerControllerPlugin.Component
that is provided by this plugin.- Parameters:
playerController
- The player controller- Returns:
- playerControllerComponent a new component
-
-