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