void function ( Context arg0 , long [ ] arg1 , int arg2 ) { Vibrator loc0 = ( Vibrator ) arg0 . getSystemService ( Context . VIBRATOR_SERVICE ) ; loc0 . vibrate ( arg1 , arg2 ) ; }
vibrate with a given pattern . 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 . to cause the pattern to repeat , pass the index into the pattern array at which to start the repeat , or -1 to disable repeating . this method requires the caller to hold the permission android.manifest.permission #vibrate . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder