Class LifecycleUtil

java.lang.Object
com.brightcove.player.event.AbstractComponent
com.brightcove.player.util.LifecycleUtil
All Implemented Interfaces:
Component

@Emits(events={"seekTo","activityCreated","activityDestroyed","activityPaused","activityRestarted","activityResumed","activitySaveInstanceState","activityStarted","activityStopped","configurationChanged","fragmentActivityCreated","fragmentCreatedView","fragmentDestroyed","fragmentDestroyedView","fragmentDetached","fragmentPaused","fragmentResumed","fragmentSaveInstanceState","fragmentStarted","fragmentStopped","fragmentViewStateRestored"}) @ListensFor(events={"activityDestroyed","fragmentDestroyedView"}) public class LifecycleUtil extends AbstractComponent
  • Field Details

  • Constructor Details

    • LifecycleUtil

      public LifecycleUtil(BaseVideoView baseVideoView)
  • Method Details

    • onConfigurationChanged

      public void onConfigurationChanged(android.content.res.Configuration configuration)
    • onActivityCreated

      public void onActivityCreated(android.os.Bundle savedInstanceState)
    • onCreate

      public void onCreate(android.os.Bundle savedInstanceState, android.app.Activity activity)
    • onCreateView

      public void onCreateView(android.os.Bundle savedInstanceState, Object fragment)
    • activityOnStart

      public void activityOnStart()
    • fragmentOnStart

      public void fragmentOnStart()
    • activityOnPause

      public void activityOnPause()
    • fragmentOnPause

      public void fragmentOnPause()
    • activityOnResume

      public void activityOnResume()
    • fragmentOnResume

      public void fragmentOnResume()
    • onRestart

      public void onRestart()
    • activityOnDestroy

      @Deprecated public void activityOnDestroy()
      Deprecated.
    • onActivityDestroyed

      public void onActivityDestroyed(android.app.Activity activity)
    • fragmentOnDestroy

      public void fragmentOnDestroy()
    • onDestroyView

      public void onDestroyView()
    • onDetach

      public void onDetach()
    • activityOnStop

      public void activityOnStop()
    • fragmentOnStop

      public void fragmentOnStop()
    • activityOnSaveInstanceState

      public void activityOnSaveInstanceState(android.os.Bundle bundle)
    • fragmentOnSaveInstanceState

      public void fragmentOnSaveInstanceState(android.os.Bundle bundle)
    • onViewStateRestored

      public void onViewStateRestored(android.os.Bundle savedInstanceState)