HKStatistics.GetMostRecentQuantityDateInterval(HKSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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