Tuesday 15 September 2015

android - Sony Smartwatch 2 manage vibration on receiving notification -



android - Sony Smartwatch 2 manage vibration on receiving notification -

i'm using sony addon sdk develop notification app on smart watch 2.

i've managed work (watch vibrates when phone gets notification), havn't got way modify vibration length.

is there way manage vibration on receiving notification? in shorter vibration, longer vibration, etc..

the default vibration seem bit long, want modify it's length.

any help appreciated.

short answer: there no possibility configure vibration of standard notification, using notification api.

you can create custom vibration pattern, in smartwatch2 extension using command api. available after user starts extension, not notification purpose. start vibration pattern running extension, can use: controlextension.startvibrator(int onduration, int offduration, int repeats)

android sony sony-smartwatch

No comments:

Post a Comment