Stay organized with collections
Save and categorize content based on your preferences.
Record
public
abstract
class
Record
extends Object
Known direct subclasses
InstantRecord |
A record that contains a measurement recorded as an instance .
|
IntervalRecord |
A record that contains a measurement with a time interval.
|
|
Known indirect subclasses
ActiveCaloriesBurnedRecord, ActivityIntensityRecord, BasalBodyTemperatureRecord, BasalMetabolicRateRecord, BloodGlucoseRecord, BloodPressureRecord, BodyFatRecord, BodyTemperatureRecord, BodyWaterMassRecord, BoneMassRecord, CervicalMucusRecord, CyclingPedalingCadenceRecord, DistanceRecord, ElevationGainedRecord, ExerciseSessionRecord, and 27 others.
ActiveCaloriesBurnedRecord |
Captures the estimated active energy burned by the user (in kilocalories), excluding basal
metabolic rate (BMR).
|
ActivityIntensityRecord |
Represents intensity of an activity.
|
BasalBodyTemperatureRecord |
Captures the body temperature of a user when at rest (for example, immediately after waking up).
|
BasalMetabolicRateRecord |
Captures the BMR of a user.
|
BloodGlucoseRecord |
Captures the concentration of glucose in the blood.
|
BloodPressureRecord |
Captures the blood pressure of a user.
|
BodyFatRecord |
Captures the body fat percentage of a user.
|
BodyTemperatureRecord |
Captures the body temperature of a user.
|
BodyWaterMassRecord |
Captures the user's body water mass.
|
BoneMassRecord |
Captures the user's bone mass.
|
CervicalMucusRecord |
Captures the description of cervical mucus.
|
CyclingPedalingCadenceRecord |
Captures the user's cycling pedaling cadence.
|
DistanceRecord |
Captures distance travelled by the user since the last reading.
|
ElevationGainedRecord |
Captures the elevation gained by the user since the last reading.
|
ExerciseSessionRecord |
Captures exercise or a sequence of exercises.
|
FloorsClimbedRecord |
Captures the number of floors climbed by the user between the start and end time.
|
HeartRateRecord |
Captures the user's heart rate.
|
HeartRateVariabilityRmssdRecord |
Captures the user's heart rate variability RMSSD.
|
HeightRecord |
Captures the user's height.
|
HydrationRecord |
Captures the amount of liquids user had in a single drink.
|
IntermenstrualBleedingRecord |
Captures the user's inter-menstrual bleeding.
|
LeanBodyMassRecord |
Captures the user's lean body mass.
|
MenstruationFlowRecord |
Captures a description of how heavy a user's menstrual flow was (spotting, light, medium, or
heavy).
|
MenstruationPeriodRecord |
Captures the menstruation period record.
|
MindfulnessSessionRecord |
Captures a mindfulness session.
|
NutritionRecord |
Captures what nutrients were consumed as part of a meal or a food item.
|
OvulationTestRecord |
Each record represents the result of an ovulation test.
|
OxygenSaturationRecord |
Captures the amount of oxygen circulating in the blood, measured as a percentage of
oxygen-saturated hemoglobin.
|
PlannedExerciseSessionRecord |
Captures a planned exercise session, also commonly referred to as a training plan.
|
PowerRecord |
Captures the power generated by the user, e.g. during cycling or rowing with a power meter.
|
RespiratoryRateRecord |
Captures the user's respiratory rate.
|
RestingHeartRateRecord |
Captures the user's resting heart rate.
|
SexualActivityRecord |
Captures an occurrence of sexual activity.
|
SkinTemperatureRecord |
Captures the skin temperature of a user.
|
SleepSessionRecord |
Captures the user's sleep length and its stages.
|
SpeedRecord |
Captures the user's speed, e.g. during running or cycling.
|
StepsCadenceRecord |
Captures the user's steps cadence.
|
StepsRecord |
Captures the number of steps taken since the last reading.
|
TotalCaloriesBurnedRecord |
Total energy burned by the user in Energy , including active & basal energy burned (BMR).
|
Vo2MaxRecord |
Capture user's VO2 max score and optionally the measurement method.
|
WeightRecord |
Captures the user's weight.
|
WheelchairPushesRecord |
Captures the number of wheelchair pushes done over a time interval.
|
|
A base class for all record classes
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
|
|
Public methods
equals
public boolean equals (Object object)
Indicates whether some other object is "equal to" this one.
Parameters |
object |
Object : the reference object with which to compare.
This value may be null . |
Returns |
boolean |
true if this object is the same as the obj |
hashCode
public int hashCode ()
Returns a hash code value for the object.
Returns |
int |
a hash code value for this object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[]]