fit-samples icon indicating copy to clipboard operation
fit-samples copied to clipboard

Limit record of heart rate

Open lambui09 opened this issue 1 year ago • 3 comments

DataReadRequest.Builder()
             .read(DataType.TYPE_HEART_RATE_BPM)
             .enableServerQueries()
             .bucketByTime(1, TimeUnit.MINUTES)
             .setTimeRange(startTime, endTime, TimeUnit.MILLISECONDS)
             .build()

I tried to get data for 2 months, but got the error: onError -- 5022: Cannot bucket into more than 86400 intervals. -- null If I transmit. SetLimit(1000) Then there will be data returned. What is the limit of the record limit API?

lambui09 avatar Mar 25 '24 04:03 lambui09

pls help me to share some information for this?

lambui09 avatar Mar 28 '24 14:03 lambui09

I've got no idea why you CC'd me.

DanAlbert avatar Mar 28 '24 21:03 DanAlbert

sorry, I mistook you for the owner.

lambui09 avatar Mar 29 '24 02:03 lambui09