CLActivityType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration whose values specify different types of activity.
public enum CLActivityType
type CLActivityType =
- Inheritance
-
CLActivityType
Fields
Airborne | 5 | |
AutomotiveNavigation | 2 | Indicates that the app is engaged in navigating an automobile. (Use OtherNavigation for other vehicle types.) |
Fitness | 3 | Indicates fitness and all walking activities. |
Other | 1 | Indicates that the activity type is unknown. |
OtherNavigation | 4 | Indicates that the app is involved in navigation, but not in a car. |
Remarks
By assigning ActivityType, the system can make intelligent choices regarding location update frequency vs. power consumption.