I have tried to read Blood pressure value from Google Fit using Android code but unable to read value and returns the below logs
Blood Pressure Log:
Use builder like this:
return new DataReadRequest.Builder()
.aggregate(HealthDataTypes.TYPE_BLOOD_PRESSURE,HealthDataTypes.AGGREGATE_BLOOD_PRESSURE_SUMMARY)
.bucketByTime(1, TimeUnit.DAYS) //important thing
.setTimeRange(startTime, endTime, TimeUnit.MILLISECONDS)
.enableServerQueries()
.build();