Package io.flutter.embedding.engine.plugins.service

## Interface ServiceAware.OnModeChangeListener

- Enclosing interface:
    ServiceAware

      public static interface ServiceAware.OnModeChangeListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | 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.

- - ### Method Detail

    - #### 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.