com.urbanairship.app.ApplicationListener |
Known Indirect Subclasses |
Listener for application foreground and backgrounds.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onBackground(long milliseconds)
Called when the app is backgrounded.
| ||||||||||
abstract void |
onForeground(long milliseconds)
Called when the app is foregrounded.
|
Called when the app is backgrounded.
milliseconds | Time in milliseconds when the background occurred. |
---|
Called when the app is foregrounded.
milliseconds | Time in milliseconds when the foreground occurred. |
---|