HKStatistics.GetMostRecentQuantity(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 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