AppBackgroundingManager

com.anywherecommerce.android.sdk

Class AppBackgroundingManager

  • java.lang.Object

  • com.anywherecommerce.android.sdk.AppBackgroundingManager

  • public class <span class="typeNameLabel">AppBackgroundingManager</span>
    extends java.lang.Object
    

Nested Class Summary

  Modifier and TypeClass and Description`static interface ``<span class="memberNameLink">

AppBackgroundingManager.AppBackroundedListener`

Field Summary

  Modifier and TypeField and Description`static long``<span class="memberNameLink">

BACKGROUND_DELAY`

Method Summary

  Modifier and TypeMethod and Description`static 

AppBackgroundingManager``

get() boolean``

isInBackground() void````

onActivityCreated(Activity activity,
Bundle savedInstanceState)
` `void

onActivityDestroyed(Activity activity) void``

onActivityPaused(Activity activity) void``

onActivityResumed(Activity activity) void````

onActivitySaveInstanceState(Activity activity,
Bundle outState)
` `void

onActivityStarted(Activity activity) void``

onActivityStopped(Activity activity) void``

registerListener(

AppBackgroundingManager.AppBackroundedListener listener) void``

unregisterListener(

AppBackgroundingManager.AppBackroundedListener listener)`

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

BACKGROUND_DELAY

        `public static final long BACKGROUND_DELAY`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.AppBackgroundingManager.BACKGROUND_DELAY)

Method Detail

get

        `public static 

AppBackgroundingManager get()`

registerListener

        `public void registerListener(

AppBackgroundingManager.AppBackroundedListener listener)`

unregisterListener

        `public void unregisterListener(

AppBackgroundingManager.AppBackroundedListener listener)`

isInBackground

        `public boolean isInBackground()`

onActivityResumed

        `public void onActivityResumed(Activity activity)`

onActivityPaused

        `public void onActivityPaused(Activity activity)`

onActivityStopped

        `public void onActivityStopped(Activity activity)`

onActivityCreated

        ```
        public void onActivityCreated(Activity activity,
                                      Bundle savedInstanceState)
        ```

onActivityStarted

        `public void onActivityStarted(Activity activity)`

onActivitySaveInstanceState

        ```
        public void onActivitySaveInstanceState(Activity activity,
                                                Bundle outState)
        ```

onActivityDestroyed

        `public void onActivityDestroyed(Activity activity)`