Package com.castlabs.android.player
Interface PlayerViewPlugin
-
public interface PlayerViewPluginA plugin interface that can be used to create plugins that need access to theIPlayerViewor thePlayerControllerthat is responsible for the playback lifecycle.- Since:
- 3.2.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePlayerViewPlugin.PlayerViewComponentImplementations of this view component can be used to gain controlled access to aIPlayerViewand itsPlayerController.static classPlayerViewPlugin.SingleViewPlayerViewComponent<ViewType extends View>Helper class which extracts all the common logic in aPlayerViewPlugin.PlayerViewComponentin case it only operates on one single View.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlayerViewPlugin.PlayerViewComponentcreate()Creates and returns a new instance of thePlayerViewPlugin.PlayerViewComponentthat is provided by this plugin
-
-
-
Method Detail
-
create
@Nullable PlayerViewPlugin.PlayerViewComponent create()
Creates and returns a new instance of thePlayerViewPlugin.PlayerViewComponentthat is provided by this plugin- Returns:
- playerViewComponent a new component
-
-