HKWorkoutBuilder.GetStatistics(HKQuantityType) Method

Definition

Returns a statistics object for data of the specified quantity type.

[Foundation.Export("statisticsForType:")]
public virtual HealthKit.HKStatistics GetStatistics (HealthKit.HKQuantityType quantityType);
abstract member GetStatistics : HealthKit.HKQuantityType -> HealthKit.HKStatistics
override this.GetStatistics : HealthKit.HKQuantityType -> HealthKit.HKStatistics

Parameters

quantityType
HKQuantityType

The quantity type for which to get a statistics object.

Returns

A statistics object for data of the specified quantity type

Attributes

Applies to