次の方法で共有


HKStatistics.GetMostRecentQuantity(HKSource) メソッド

定義

ソースから最新の数量を返します。

[Foundation.Export("mostRecentQuantityForSource:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual HealthKit.HKQuantity GetMostRecentQuantity (HealthKit.HKSource source);
abstract member GetMostRecentQuantity : HealthKit.HKSource -> HealthKit.HKQuantity
override this.GetMostRecentQuantity : HealthKit.HKSource -> HealthKit.HKQuantity

パラメーター

source
HKSource

クエリを実行するソース。

戻り値

ソースからの最新の数量。

属性

適用対象