Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit record of heart rate #72

Open
lambui09 opened this issue Mar 25, 2024 · 3 comments
Open

Limit record of heart rate #72

lambui09 opened this issue Mar 25, 2024 · 3 comments

Comments

@lambui09
Copy link

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
Copy link
Author

lambui09 commented Mar 28, 2024

pls help me to share some information for this?

@DanAlbert
Copy link
Member

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

@lambui09
Copy link
Author

sorry, I mistook you for the owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants