HKBodyTemperature class

Represents body temperature data from HealthKit.

Wraps an HKQuantitySample containing the temperature measurement and extends HealthKitData to provide a standardized interface.

Inheritance
Available extensions

Constructors

HKBodyTemperature(HKQuantitySample data)
Creates a new body temperature record with the specified sample data.

Properties

data HKQuantitySample
The underlying quantity sample containing the temperature measurement.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
healthMetric HealthKitHealthMetric
The health metric type for this data.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toOpenMHealth() List<OpenMHealthSchema>

Available on HealthKitData, provided by the OpenMHealthConverter extension

Converts this HealthKitData instance to OpenMHealth schema format.
toOpenMHealthBodyTemperature() List<OpenMHealthBodyTemperature>

Available on HKBodyTemperature, provided by the OpenMHealthBodyTemperatureConverter extension

Converts this HKBodyTemperature instance to a list of OpenMHealthBodyTemperature objects.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited