androidStopForegroundOnPause property Null safety

bool androidStopForegroundOnPause
final

Whether the Android service should switch to a lower priority state when playback is paused allowing the user to swipe away the notification. Note that while in this lower priority state, the operating system will also be able to kill your service at any time to reclaim resources.

Implementation

final bool androidStopForegroundOnPause;