Package com.castlabs.android.player

# Interface PlayerControllerPlugin

public interface PlayerControllerPlugin
A plugin interface that can be used to create plugins that need access to the `PlayerController`.

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 a `PlayerController`.
  `static interface`
  `PlayerControllerPlugin.ComponentViewListener`
  Interface which allows `Components` to work with their Views.
  `static interface`
  `PlayerControllerPlugin.VisualComponent`
  Special type of `PlayerControllerPlugin.Component` which also happens to depend on a View.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PlayerControllerPlugin.Component`
  `create(PlayerController playerController)`
  Creates and returns a new instance of the `PlayerControllerPlugin.Component` that is provided by this plugin.

- ## Method Details

  - ### create

    @Nullable PlayerControllerPlugin.Component create(PlayerController playerController)
    Creates and returns a new instance of the `PlayerControllerPlugin.Component` that is provided by this plugin.
    Parameters:
      `playerController` - The player controller
    Returns:
      playerControllerComponent a new component