Health Connect
By integrating the ROOK SDK, you can access available Health Connect data to retrieve body, physical, and sleep information from your linked users. Our SDK collects raw data from Health Connect, transforms it into structured data, and delivers it in JSON format through the ROOK SDK.
Health Connect Available Data
This is the data available from Health Connect that ROOK extracts:
Body Health
{
"body_summary": [
"blood_pressure_avg_object",
"saturation_granular_data_array",
"blood_pressure_granular_data_array",
"bmi_float",
"height_cm_int",
"hr_avg_bpm_int",
"weight_kg_float",
"saturation_avg_percentage_int",
"hr_granular_data_array",
"hr_minimum_bpm_int",
"hr_maximum_bpm_int"
],
"body_blood_pressure_event": [
"blood_pressure_granular_data_array",
"blood_pressure_avg_object"
],
"body_metrics_event": [
"bmi_float",
"weight_kg_float",
"height_cm_int"
],
"body_heart_rate_event": [
"hr_avg_bpm_int",
"hr_minimum_bpm_int",
"hr_maximum_bpm_int",
"hr_granular_data_array"
],
"body_oxygenation_event": [
"saturation_granular_data_array",
"saturation_avg_percentage_int"
]
}
Physical Health
{
"physical_activity_event": [
"floors_climbed_granular_data_array",
"activity_type_name_string",
"vo2max_mL_per_min_per_kg_int",
"steps_granular_data_array",
"hr_minimum_bpm_int",
"elevation_granular_data_array",
"speed_maximum_meters_per_second_float",
"speed_granular_data_array",
"elevation_maximum_altitude_meters_float",
"hr_maximum_bpm_int",
"elevation_minimum_altitude_meters_float",
"activity_duration_seconds_int",
"traveled_distance_meters_float",
"elevation_avg_altitude_meters_float",
"elevation_gain_actual_altitude_meters_float",
"speed_avg_meters_per_second_float",
"activity_energy_kilojoules_float",
"activity_start_datetime_string",
"hr_granular_data_array",
"floors_climbed_float",
"activity_end_datetime_string",
"calories_expenditure_kcal_float",
"traveled_distance_granular_data_array",
"steps_int",
"hr_avg_bpm_int"
],
"physical_summary": [
"saturation_granular_data_array",
"vo2max_mL_per_min_per_kg_int",
"hr_minimum_bpm_int",
"steps_granular_data_array",
"elevation_granular_data_array",
"steps_int",
"elevation_maximum_altitude_meters_float",
"hr_maximum_bpm_int",
"elevation_minimum_altitude_meters_float",
"elevation_avg_altitude_meters_float",
"traveled_distance_meters_float",
"elevation_gain_actual_altitude_meters_float",
"saturation_avg_percentage_int",
"hr_granular_data_array",
"floors_climbed_float",
"calories_expenditure_kcal_float",
"traveled_distance_granular_data_array",
"hr_avg_bpm_int",
"floors_climbed_granular_data_array"
],
"physical_heart_rate_event": [
"hr_avg_bpm_int",
"hr_minimum_bpm_int",
"hr_maximum_bpm_int",
"hr_granular_data_array"
]
}
Sleep Health
{
"sleep_summary": [
"deep_sleep_duration_seconds_int",
"saturation_minimum_percentage_int",
"sleep_duration_seconds_int",
"time_in_bed_seconds_int",
"sleep_date_string",
"rem_sleep_duration_seconds_int",
"sleep_start_datetime_string",
"saturation_granular_data_array",
"light_sleep_duration_seconds_int",
"sleep_end_datetime_string",
"hr_avg_bpm_int",
"time_awake_during_sleep_seconds_int",
"saturation_avg_percentage_int",
"hr_granular_data_array",
"hr_minimum_bpm_int",
"hr_maximum_bpm_int",
"saturation_maximum_percentage_int"
]
}
The data you receive depends on the permissions granted by the user when linking their data source.
Data Delivery:
Our Health Connect integration delivers notifications within minutes after a user completes an event and syncs their app. ROOK retrieves, processes, and delivers the data through our SDK, providing you with user insights efficiently.
Start Extracting Health Connect Data
To begin extracting health data from Health Connect, follow these steps:
Step 1: Integrate Our
ROOK offers SDK compatible with Health Connect, allowing precise integration into your solution.
Native | Flutter | Capacitor | React Native |
---|
Step 2: Set Up Your Connections Page
Enable the Health Connect data source on the connections page to allow your users to connect.
Step 3: Receive Your Users' Data
Once users connect to the data source, you will start receiving their data. Utilize this data to its full potential.
{
"version":[],
"data_structure": "",
"client_uuid": "",
"user_id": "",
"body_health": {},
"physical_health": {},
"Sleep_health": {},
}