Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
Builder class for BloodPressureRecord
Summary
Public constructors
Builder
Builder(
metadata: Metadata,
time: Instant,
measurementLocation: Int,
systolic: Pressure,
diastolic: Pressure,
bodyPosition: Int)
| Parameters |
metadata |
Metadata: Metadata to be associated with the record. See Metadata. This value cannot be null. |
time |
Instant: Start time of this activity. This value cannot be null. |
measurementLocation |
Int: The arm and part of the arm where the measurement was taken. Optional field. Allowed values: BodyTemperatureMeasurementLocation. Value is one of the following:
|
systolic |
Pressure: Systolic blood pressure measurement, in Pressure unit. Required field. Valid range: 20-200 mmHg. This value cannot be null. |
diastolic |
Pressure: Diastolic blood pressure measurement, in Pressure unit. Required field. Valid range: 10-180 mmHg. This value cannot be null. |
bodyPosition |
Int: The user's body position when the measurement was taken. Optional field. Allowed values: BodyPosition. Value is one of the following:
|
Public methods
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 2026-02-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 2026-02-13 UTC."],[],[]]