Package com.castlabs.android.player
Class AbstractPlayerControllerListener
java.lang.Object
com.castlabs.android.player.AbstractPlayerControllerListener
- All Implemented Interfaces:
PlayerControllerListener
public abstract class AbstractPlayerControllerListener
extends Object
implements PlayerControllerListener
Abstract implementation of the
PlayerControllerListener
. All
methods of the the PlayerControllerListener
are implemented with empty bodies and you can extend
this class if you only need to implement a subset of the callbacks. Using this abstract class
instead of the interface might also simplify updates of the API.
*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.- Since:
- 3.1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onDestroy
(PlayerController controller) Called when the controller is destroyedvoid
onRelease
(PlayerController controller) Called when the controller is released
-
Constructor Details
-
AbstractPlayerControllerListener
public AbstractPlayerControllerListener()
-
-
Method Details
-
onDestroy
Description copied from interface:PlayerControllerListener
Called when the controller is destroyed- Specified by:
onDestroy
in interfacePlayerControllerListener
- Parameters:
controller
- The controller
-
onRelease
Description copied from interface:PlayerControllerListener
Called when the controller is released- Specified by:
onRelease
in interfacePlayerControllerListener
- Parameters:
controller
- The controller
-