次の方法で共有


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

サンプルは、指定した開始日以降に開始する必要があります。

適用対象