stopTimeout property

int? stopTimeout
getter/setter pair

Minutes to wait in moving state with no movement before considering the device stationary.

Defaults to 5 minutes. When in the moving state, specifies the number of minutes to wait before turning off location-services and transitioning to stationary state after the ActivityRecognition System detects the device is STILL. An example use-case for this configuration is to delay GPS OFF while in a car waiting at a traffic light.

Note: Philosophy of Operation

WARNING: Setting a value > 15 min is not recommended, particularly for Android.

Implementation

int? stopTimeout;