CLActivityType Enum

Definition

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.

Applies to

See also