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 thePlayerControllerListenerare 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 voidonDestroy(PlayerController controller)Called when the controller is destroyedvoidonRelease(PlayerController controller)Called when the controller is released
-
-
-
Method Detail
-
onDestroy
public void onDestroy(PlayerController controller)
Description copied from interface:PlayerControllerListenerCalled when the controller is destroyed- Specified by:
onDestroyin interfacePlayerControllerListener- Parameters:
controller- The controller
-
onRelease
public void onRelease(PlayerController controller)
Description copied from interface:PlayerControllerListenerCalled when the controller is released- Specified by:
onReleasein interfacePlayerControllerListener- Parameters:
controller- The controller
-
-