CMPedometerData¶
Inherits: RefCounted < Object
Aggregated pedometer data covering a time window.
Description¶
Wraps Apple’s CMPedometerData. Optional Apple values (distance, floor counts, pace, cadence) report -1 when the underlying capability is unavailable on the device. See Apple’s CMPedometerData reference.
Tutorials¶
Properties¶
Property Descriptions¶
Average pace across the window in seconds per meter, or -1 when unavailable.
Instantaneous cadence in steps per second, or -1 when unavailable.
Instantaneous pace in seconds per meter, or -1 when unavailable.
Distance walked or run in meters, or -1 when distance estimation is unavailable.
Unix-time end of the reporting window in seconds.
Approximate number of floors ascended, or -1 when floor counting is unavailable.
Approximate number of floors descended, or -1 when floor counting is unavailable.
Step count across the reporting window.
Unix-time start of the reporting window in seconds.