desiredStoppedUpdateInterval

var desiredStoppedUpdateInterval: Int

Determines the desired location update interval in seconds when stopped. Use 0 to shut down when stopped.

Note that location updates may be delayed significantly by Doze Mode, App Standby, and Background Location Limits, or if the device has connectivity issues, low battery, or wi-fi disabled. To avoid these restrictions, you can start a foreground service.