Modifica

Condividi tramite


HKStatistics.GetMostRecentQuantityDateInterval(HKSource) Method

Definition

Returns the date interval of the most recent quantity from the source.

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

Parameters

source
HKSource

The source to query.

Returns

The date interval of the most recent quantity from the source.

Attributes

Applies to