One Logo Pool Ball
MetricKit · IOS API REFERENCE

LocationActivityTimeMetric

struct · iOS 27.0+ · SDK 27.1

struct LocationActivityTimeMetric

A metric for location activity times.

Members (7)

get · iOS 27.0+

bestAccuracy

TypeScript
get bestAccuracy(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let bestAccuracy: Measurement<UnitDuration>

The total time spent tracking the current location at the best accuracy.

get · iOS 27.0+

oneKilometer

TypeScript
get oneKilometer(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let oneKilometer: Measurement<UnitDuration>

The total time spent tracking the current location to an accuracy of 1 kilometer.

get · iOS 27.0+

oneHundredMeter

TypeScript
get oneHundredMeter(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let oneHundredMeter: Measurement<UnitDuration>

The total time spent tracking the current location to an accuracy of 100 meters.

get · iOS 27.0+

reducedAccuracy

TypeScript
get reducedAccuracy(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let reducedAccuracy: Measurement<UnitDuration>

The total time spent tracking the current location at reduced accuracy.

get · iOS 27.0+

threeKilometers

TypeScript
get threeKilometers(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let threeKilometers: Measurement<UnitDuration>

The total time spent tracking the current location to an accuracy of 3 kilometers.

get · iOS 27.0+

bestAccuracyForNavigation

TypeScript
get bestAccuracyForNavigation(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let bestAccuracyForNavigation: Measurement<UnitDuration>

The total time spent tracking the current location at the best accuracy for navigation.

get · iOS 27.0+

tenMeters

TypeScript
get tenMeters(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let tenMeters: Measurement<UnitDuration>

The total time spent tracking the current location to an accuracy of 10 meters.

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →