Package com.castlabs.android.player
Interface PlayerViewPlugin
public interface PlayerViewPlugin
A plugin interface that can be used to create plugins that need access to the
IPlayerView
or the PlayerController
that is responsible for the
playback lifecycle.- Since:
- 3.2.2
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Implementations of this view component can be used to gain controlled access to aIPlayerView
and itsPlayerController
.static class
Helper class which extracts all the common logic in aPlayerViewPlugin.PlayerViewComponent
in case it only operates on one single View. -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates and returns a new instance of thePlayerViewPlugin.PlayerViewComponent
that is provided by this plugin
-
Method Details
-
create
Creates and returns a new instance of thePlayerViewPlugin.PlayerViewComponent
that is provided by this plugin- Returns:
- playerViewComponent a new component
-