问题
I am willing to be able to make my UP3 vibrate at will. I cannot find in the API documentation how to achieve it.
A workaround that comes to my mind is eventually adding a task schedule from the apps for the minute after, well, a nicer solution might exist.
Thanks!
回答1:
The Developer APIs for UP do not expose a way to trigger band vibration.
There are several reasons to keep this feature private. Here are a few examples:
- Band vibration can reduce battery life if triggered too frequently.
- App-triggered band vibration would require a data sync from the phone to the band, and the band is not always guaranteed to have a bluetooth connection (e.g., the phone could be out of range).
- Developer application events are not necessarily occurring in real time, so a band vibration in response to an event could occur much later than the event and create a disjointed user experience.
(For more details, on the limitations of real-time behavior, see my response to UP3 (jawbone) how to retrieve sleep value in REALTIME
来源:https://stackoverflow.com/questions/37800885/how-to-push-a-vibration-event-on-jawbone-up3