Class

CMPedometerData

Information about the distance traveled by a user on foot.

Declaration

@interface CMPedometerData : NSObject

Overview

You do not create instances of this class yourself. Instead, you use a CMPedometer object to request pedometer data from the system. The data for each request is packaged into an instance of this class and delivered to the handlers you registered with the pedometer object.

Topics

Getting the Dates

startDate

The start time for the pedometer data.

endDate

The end time for the pedometer data.

Getting the Pedestrian Data

numberOfSteps

The number of steps taken by the user.

distance

The estimated distance (in meters) traveled by the user.

averageActivePace

The average pace of the user, measured in seconds per meter.

currentPace

The current pace of the user, measured in seconds per meter.

currentCadence

The rate at which steps are taken, measured in steps per second.

Getting the Floor Counts

floorsAscended

The approximate number of floors ascended by walking.

floorsDescended

The approximate number of floors descended by walking.

Relationships

Inherits From

See Also

Pedometer

CMPedometer

An object for fetching the system-generated live walking data.

CMPedometerEvent

A change in the user's pedestrian activity.

CMStepCounter

The number of steps the user has taken with the device.

Deprecated