iOS Guides | Samples

MonoTouch.HealthKit.HKStatistics Class

Provides basic statistical operations on health information.

See Also: HKStatistics

Syntax

[MonoTouch.Foundation.Register("HKStatistics", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.WatchOS, 2, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class HKStatistics : NSObject, INSCopying, INSSecureCoding, IDisposable

Related content

Requirements

Namespace: MonoTouch.HealthKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.HealthKit.HKStatistics are listed below.

See Also: NSObject

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
EndDateNSDate. Gets the end date of the data.
[read-only]
QuantityTypeHKQuantityType. Gets the quantity type of the data.
[read-only]
SourcesHKSource[]. Gets and array of the data sources to use for calculations.
[read-only]
StartDateNSDate. Gets the start date of the data.

Public Methods

AverageQuantity() : HKQuantity
Calculates and returns the average.
AverageQuantity(HKSource) : HKQuantity
Calculates and returns the average for source.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
MaximumQuantity() : HKQuantity
Finds and returns the largest value in the data.
MaximumQuantity(HKSource) : HKQuantity
Finds and returns the largest value in source.
MinimumQuantity() : HKQuantity
TFinds and returns the smallest value in the data.
MinimumQuantity(HKSource) : HKQuantity
Finds and returns the smallest value in source.
SumQuantity() : HKQuantity
Calculates and returns the sum of the data.
SumQuantity(HKSource) : HKQuantity
Calculates and returns the sum of the data in source.