Instance Property

activityType

The type of user activity associated with the location updates.

Declaration

var activityType: CLActivityType { get set }

Discussion

The location manager uses the information in this property as a cue to determine when location updates may be automatically paused. Pausing updates gives the system the opportunity to save power in situations where the user's location is not likely to be changing. For example, if the activity type is automotiveNavigation and no location changes have occurred recently, the radios might be powered down until movement is detected again.

The default value of this property is other.