public interface ILifecycle extends IBaseApplication
| Modifier and Type | Method and Description |
|---|---|
void |
addLifecycleListener(ILifecycleListener listener)
Add the listener for the lifecycle of the app
|
boolean |
isBackground()
Whether the application is in background or not
|
void |
removeLifecycleListener(ILifecycleListener listener)
Un-registers an existing listener from receiving lifecycle events.
|
void |
removeLifecycleListeners()
Removes all existing listeners from receiving lifecycle events.
|
getAPIGroup, getAPIVersionvoid addLifecycleListener(ILifecycleListener listener)
listener - Lifecycle listenerboolean isBackground()
void removeLifecycleListener(ILifecycleListener listener)
listener - Lifecycle listenervoid removeLifecycleListeners()