ActivityType enum

Represents the possible iOS activity types.

Inheritance
Available extensions

Values

automotiveNavigation → const ActivityType

The location manager is being used specifically during vehicular navigation to track location changes to the automobile.

fitness → const ActivityType

The location manager is being used to track fitness activities such as walking, running, cycling, and so on.

otherNavigation → const ActivityType

The location manager is being used to track movements for other types of vehicular navigation that are not automobile related.

airborne → const ActivityType

The location manager is being used specifically during airborne activities.

other → const ActivityType

The location manager is being used for an unknown activity.

maritime → const ActivityType

Positioning for vessels on water, including while anchored.

Requires an iOS 27 or macOS 27 SDK and iOS 27 or macOS 27 at runtime. Falls back to otherNavigation on older SDKs or operating systems.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ActivityType>
A constant List of the values in this enum, in order of their declaration.