- Enclosing interface:
- ServiceAware
public static interface ServiceAware.OnModeChangeListener
-
Method Summary
void
Callback triggered when the associated
Service
goes from foreground
execution to background execution.
void
Callback triggered when the associated
Service
goes from background
execution to foreground execution.
-
Method Details
-
onMoveToForeground
void onMoveToForeground()
Callback triggered when the associated
Service
goes from background
execution to foreground execution.
-
onMoveToBackground
void onMoveToBackground()
Callback triggered when the associated
Service
goes from foreground
execution to background execution.