
Originariamente inviata da
andbin
Non me ne intendo di Android. Ma basta
leggere il javadoc di
setVibrate:
NotificationCompat.Builder setVibrate (long[] pattern)
Set the vibration pattern to use.
e poi c'è il link
for a discussion of the pattern parameter.
Dove per i vibrate() spiega:
Pass in an array of ints that are the durations for which to turn on or off the vibrator in milliseconds. The first value indicates the number of milliseconds to wait before turning the vibrator on. The next value indicates the number of milliseconds for which to keep the vibrator on before turning it off. Subsequent values alternate between durations in milliseconds to turn the vibrator off or to turn the vibrator on.
Quindi quale è il dubbio ora?