HKQueryOptions Enum

Definition

Enumerates options available for use with the GetPredicateForSamples(NSDate, NSDate, HKQueryOptions) method.

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 HKQueryOptions
type HKQueryOptions = 
Inheritance
HKQueryOptions
Attributes

Fields

None 0

The sample must be entirely within the date range, inclusively.

StrictEndDate 2

The sample must end at or before the specified end time.

StrictStartDate 1

The sample must start at or after the specified start date.

Applies to