HKStatistics.GetDuration(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.
[Foundation.Export("durationForSource:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual HealthKit.HKQuantity? GetDuration(HealthKit.HKSource source);
[<Foundation.Export("durationForSource:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDuration : HealthKit.HKSource -> HealthKit.HKQuantity
override this.GetDuration : HealthKit.HKSource -> HealthKit.HKQuantity
Parameters
- source
- HKSource
Returns
- Attributes