Package com.castlabs.android.player

# Interface PlayerControllerListener

All Known Implementing Classes:
  `AbstractPlayerControllerListener`

public interface PlayerControllerListener
This is a high level listener interface that provides callbacks for lifecycle events of the player controller.

*NOTE* that all listener methods are invoked on the UI/main thread of your applications. You can directly interact with UI components from within the implementation of you listener.

The SDK contains an `AbstractPlayerControllerListener` implementation that you can use if you don't want to implement all the callbacks and are interested only in a subset of the available callbacks.

Since:
  3.1.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onDestroy(PlayerController controller)`
  Called when the controller is destroyed
  `void`
  `onRelease(PlayerController controller)`
  Called when the controller is released

- ## Method Details

  - ### onRelease

    void onRelease(PlayerController controller)
    Called when the controller is released
    Parameters:
      `controller` - The controller

  - ### onDestroy

    void onDestroy(PlayerController controller)
    Called when the controller is destroyed
    Parameters:
      `controller` - The controller