-
public class RadarTrackingOptions.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final RadarTrackingOptionsCONTINUOUSpublic final RadarTrackingOptionsRESPONSIVEpublic final RadarTrackingOptionsEFFICIENTpublic final static RadarTrackingOptions.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final RadarTrackingOptionsfromJson(JSONObject obj)final RadarTrackingOptionsgetCONTINUOUS()Updates about every 30 seconds while moving or stopped. final RadarTrackingOptionsgetRESPONSIVE()Updates about every 2.5 minutes while moving and shuts down when stopped to save battery. final RadarTrackingOptionsgetEFFICIENT()Updates as fast as every 6 minutes while moving and periodically when stopped. -
-
Method Detail
-
fromJson
final RadarTrackingOptions fromJson(JSONObject obj)
-
getCONTINUOUS
final RadarTrackingOptions getCONTINUOUS()
Updates about every 30 seconds while moving or stopped. Starts a foreground service. Moderate battery usage.
-
getRESPONSIVE
final RadarTrackingOptions getRESPONSIVE()
Updates about every 2.5 minutes while moving and shuts down when stopped to save battery. Once stopped, the device will need to move more than 100 meters to wake up and start moving again. Low battery usage.
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.
-
getEFFICIENT
final RadarTrackingOptions getEFFICIENT()
Updates as fast as every 6 minutes while moving and periodically when stopped. Once stopped, the device will need to move more than 100 meters and wait for at least 15 minutes to wake up and start moving again. Lowest battery usage.
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.
-
-
-
-