Contents

odometer

A sensor that provides information about speed and slope.

Declaration

static let odometer: SRSensor

Discussion

The sample type for this sensor is CMOdometerData.

You need to provide a reason to record the user’s odometer by adding the SRSensorUsageOdometer dictionary to the NSSensorKitUsageDetail key in the information property list.

See Also

Reading user activity sensors