-
- All Implemented Interfaces:
-
android.app.Application.ActivityLifecycleCallbacks
public class BackgroundPowerSaverInternal implements Application.ActivityLifecycleCallbacks
-
-
Constructor Summary
Constructors Constructor Description BackgroundPowerSaverInternal(Context context)
Constructs a new BackgroundPowerSaver using the default background determination strategy
-
Method Summary
Modifier and Type Method Description void
onActivityCreated(Activity activity, Bundle bundle)
void
onActivityStarted(Activity activity)
void
onActivityResumed(Activity activity)
void
onActivityPaused(Activity activity)
void
onActivityStopped(Activity activity)
void
onActivitySaveInstanceState(Activity activity, Bundle bundle)
void
onActivityDestroyed(Activity activity)
-
Methods inherited from class android.app.Application.ActivityLifecycleCallbacks
onActivityPostCreated, onActivityPostDestroyed, onActivityPostPaused, onActivityPostResumed, onActivityPostSaveInstanceState, onActivityPostStarted, onActivityPostStopped, onActivityPreCreated, onActivityPreDestroyed, onActivityPrePaused, onActivityPreResumed, onActivityPreSaveInstanceState, onActivityPreStarted, onActivityPreStopped
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BackgroundPowerSaverInternal
BackgroundPowerSaverInternal(Context context)
Constructs a new BackgroundPowerSaver using the default background determination strategy
-
-
Method Detail
-
onActivityCreated
void onActivityCreated(Activity activity, Bundle bundle)
-
onActivityStarted
void onActivityStarted(Activity activity)
-
onActivityResumed
void onActivityResumed(Activity activity)
-
onActivityPaused
void onActivityPaused(Activity activity)
-
onActivityStopped
void onActivityStopped(Activity activity)
-
onActivitySaveInstanceState
void onActivitySaveInstanceState(Activity activity, Bundle bundle)
-
onActivityDestroyed
void onActivityDestroyed(Activity activity)
-
-
-
-