Editar

Compartir a través de


HKStatistics.GetMostRecentQuantity(HKSource) Method

Definition

Returns the most recent quantity from the source.

[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

Parameters

source
HKSource

The source to query.

Returns

The most recent quantity from the source.

Attributes

Applies to