Package com.castlabs.android.player
Interface PlayerViewLifecycleDelegate.LifecycleListener
- All Known Implementing Classes:
MultiControllerPlaylist
,PlaylistController
- Enclosing class:
PlayerViewLifecycleDelegate
public static interface PlayerViewLifecycleDelegate.LifecycleListener
Callback to receive delegated Lifecycle events.
Exposes hook points to add extra logic dependant on the lifecycle.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeRelease
(boolean backgroundPlayback) void
void
onPostRelease
(boolean backgroundPlayback) void
onPostResume
(PlayerController playerController) void
-
Method Details
-
onPostStart
void onPostStart() -
onPostResume
-
onBeforeRelease
void onBeforeRelease(boolean backgroundPlayback) -
onPostRelease
void onPostRelease(boolean backgroundPlayback) -
onPostDestroy
void onPostDestroy()
-