Düzenle

Aracılığıyla paylaş


HKStatisticsOptions Enum

Definition

Enumerates options applicable to HKStatisticsQuery and HKStatisticsCollectionQuery objets.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum HKStatisticsOptions
type HKStatisticsOptions = 
Inheritance
HKStatisticsOptions
Attributes

Fields

Name Value Description
None 0

Do nothing with the data.

SeparateBySource 1

Calculate each statistic by source.

DiscreteAverage 2

Calculate the average of all the matching data.

DiscreteMin 4

Find the minimum value in the matching data.

DiscreteMax 8

Find the maximum value in the matching data.

CumulativeSum 16

Calculate a sum of all the matching data.

Applies to