Autopause core, activity effects

Hi, does anyone know if using different constants like CLActivity affects auto pause behavior? For example, will a location manager resume pausing more easily if activityType is set to CLActivityTypeAutomotiveNavigation or CLAcitivtyTypeFitness?

Thank you for your help.

+5
source share
1 answer

Flags of type action affect the internal logic of automatic pause. For example, it CLActivityTypeFitnessmore often stops when the user is stationary without the accelerometer moving and when the user is moving fast with the accelerometer movement similar to a vehicle, and vice versa CLActivityTypeAutomotiveNavigation. CLActivityTypeOtheris considered to be a setting for everyone else. However, the exact logic and threshold values ​​are known only to Apple.

As far as I know, location updates are renewed only if your application is activated again, in automatic mode there is no automatic renewal depending on the user's movement. But you can always start monitoring the region in your didPause callback to resume tracking again when the user is actually moving.

+12

All Articles