public static interface

ActivityMonitor.Listener

implements Application.ActivityLifecycleCallbacks
com.urbanairship.ActivityMonitor.Listener
Known Indirect Subclasses

Class Overview

Listener class for activity updates.

Summary

Public Methods
abstract void onBackground(long time)
Called when the app is backgrounded.
abstract void onForeground(long time)
Called when the app is foregrounded.
[Expand]
Inherited Methods
From interface android.app.Application.ActivityLifecycleCallbacks

Public Methods

public abstract void onBackground (long time)

Called when the app is backgrounded.

public abstract void onForeground (long time)

Called when the app is foregrounded.