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 thePlayerControllerListener
. All methods of the thePlayerControllerListener
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 Constructor Description AbstractPlayerControllerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDestroy(PlayerController controller)
Called when the controller is destroyedvoid
onRelease(PlayerController controller)
Called when the controller is released
-
-
-
Method Detail
-
onDestroy
public void onDestroy(PlayerController controller)
Description copied from interface:PlayerControllerListener
Called when the controller is destroyed- Specified by:
onDestroy
in interfacePlayerControllerListener
- Parameters:
controller
- The controller
-
onRelease
public void onRelease(PlayerController controller)
Description copied from interface:PlayerControllerListener
Called when the controller is released- Specified by:
onRelease
in interfacePlayerControllerListener
- Parameters:
controller
- The controller
-
-