다음을 통해 공유


HKQueryOptions 열거형

정의

메서드와 함께 사용할 수 있는 옵션을 열거합니다 GetPredicateForSamples(NSDate, NSDate, HKQueryOptions) .

이 열거형은 멤버 값의 비트 조합을 지원합니다.

[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 = 
상속
HKQueryOptions
특성

필드

None 0

샘플은 전적으로 날짜 범위 내에 있어야 합니다.

StrictEndDate 2

샘플은 지정된 종료 시간 또는 그 이전에 끝나야 합니다.

StrictStartDate 1

샘플은 지정된 시작 날짜 또는 그 이후에 시작해야 합니다.

적용 대상