java.lang.Object | |
↳ | com.urbanairship.app.SimpleApplicationListener |
A convenience class to extend when you only want to listen for a subset of of application events.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SimpleApplicationListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
onBackground(long time)
Called when the app is backgrounded.
| ||||||||||
void |
onForeground(long time)
Called when the app is foregrounded.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.app.ApplicationListener
|
Called when the app is backgrounded.
time | Time in milliseconds when the background occurred. |
---|
Called when the app is foregrounded.
time | Time in milliseconds when the foreground occurred. |
---|