Synchronize pressure data

pressure

iOS: IDOSyncDataType.pressure

Android : IDOSyncDataType.PRESSURE

json field received by App:

Field name Field type Field description
year int data date year
month int data date month
day int data date day
start_time int Start time, unit minutes, offset from 0 point
data_type int 0 is invalid, 1 is a value, 2 is the maximum and minimum value (reserved bytes)
time_zone int Time zone offset scaled by 100; e.g. timezone 8 returns 800, 5.5 returns 550
Valid only when supportSyncHealthDataWithTimeZone function table flag is on
items collection collection of offset & value

items items — Pressure details

Field name Field type Field description
offset int offset in minutes
value int pressure value

Version-compatible function table (2.2)

When getSupportSyncPressureUseVersionCompatible is on, JSON adds:

Field Type Description
pressure_payload_version int 0: 2.1; 1: 2.2
pressure_high_reminders array 2.2 only; hour, minute, pressure_val

Example

{
     "year":2022,
     "month":12,
     "day":26,
     "start_time":0,
     "data_type":1,
    "time_zone":800,
     "items":[
         {
             "offset":30,
             "value":30,
         },
         {
             "offset":30,
             "value":30,
         }
     ]
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-10-20 07:53:20

results matching ""

    No results matching ""