I have some questions about the haptics documentation:
https://dev.fitbit.com/build/reference/device-api/haptics
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
We have a pending update to address this. In the meantime:
1. Ring was removed
2. Returns `true` if the pattern is accepted and will start playing, or `false` if the pattern cannot be accepted because the vibration motor is still busy.
3. Here are the patterns:
Name (An easy to remember name), Repeat (0-6, 7=infinite), Time (ms) (5ms granularity), Strength (1-7, 0=off), Ramp "yes" to ramp to next point Bump,0,25,3, Nudge,0,100,7, ,,100,0, ,,100,7, Nudge Max,0,100,7, ,,100,0, ,,100,7, Ping,0,45,4, ,,120,0, ,,150,4, Confirmation,0,100,3, Confirmation Max,0,100,7,
4. Whichever you prefer. One of the nudges perhaps?
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
We have a pending update to address this. In the meantime:
1. Ring was removed
2. Returns `true` if the pattern is accepted and will start playing, or `false` if the pattern cannot be accepted because the vibration motor is still busy.
3. Here are the patterns:
Name (An easy to remember name), Repeat (0-6, 7=infinite), Time (ms) (5ms granularity), Strength (1-7, 0=off), Ramp "yes" to ramp to next point Bump,0,25,3, Nudge,0,100,7, ,,100,0, ,,100,7, Nudge Max,0,100,7, ,,100,0, ,,100,7, Ping,0,45,4, ,,120,0, ,,150,4, Confirmation,0,100,3, Confirmation Max,0,100,7,
4. Whichever you prefer. One of the nudges perhaps?
Regarding question 4 there are some example scenarios for haptic feedback in the design guidelines. Hopefully it can help you find something that works for the context of your error.
Best Answer@JonFitbit: Thanks!
(PS: Another message I sent earlier was incorrectly marked as spam. I would appreciate it if you could have a look: https://community.fitbit.com/t5/SDK-Development/Reliable-way-to-send-an-http-request-from-device/td-...)
Best AnswerVery useful, thanks! This should probably be linked in the API docs.
Also, I notice that the pattern-names are capitalised in there. That might misleading, because I assume they are case-sensitive in the API (though I haven't tested this).
Best AnswerI have created this little demo/example to help me understand and feel the patterns https://github.com/adiroiban/fitbit-os-haptics
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more