public static interface ServiceAware.OnModeChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onMoveToBackground()
Callback triggered when the associated
Service goes from foreground
execution to background execution. |
void |
onMoveToForeground()
Callback triggered when the associated
Service goes from background
execution to foreground execution. |
void onMoveToForeground()
Service goes from background
execution to foreground execution.void onMoveToBackground()
Service goes from foreground
execution to background execution.