For NativeRingPolicy.whenInBackground: is the app in front now?
final bool Function()? appInForeground;