1{ 2 "methods": { 3 "getMilliseconds()": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [], 9 "returnType": "long", 10 "exceptions": [], 11 "name": "getMilliseconds()", 12 "documentation": "Returns the last vibration duration in MS.\n" 13 }, 14 "getPattern()": { 15 "isImplementation": false, 16 "modifiers": [ 17 "public" 18 ], 19 "params": [], 20 "returnType": "long[]", 21 "exceptions": [], 22 "name": "getPattern()", 23 "documentation": "Returns the last vibration pattern.\n" 24 }, 25 "getRepeat()": { 26 "isImplementation": false, 27 "modifiers": [ 28 "public" 29 ], 30 "params": [], 31 "returnType": "int", 32 "exceptions": [], 33 "name": "getRepeat()", 34 "documentation": "Returns the last vibration repeat times.\n" 35 }, 36 "isCancelled()": { 37 "isImplementation": false, 38 "modifiers": [ 39 "public" 40 ], 41 "params": [], 42 "returnType": "boolean", 43 "exceptions": [], 44 "name": "isCancelled()", 45 "documentation": "Returns true if the Vibrator has been cancelled.\n" 46 }, 47 "isVibrating()": { 48 "isImplementation": false, 49 "modifiers": [ 50 "public" 51 ], 52 "params": [], 53 "returnType": "boolean", 54 "exceptions": [], 55 "name": "isVibrating()", 56 "documentation": "Returns true if the Vibrator is currently vibrating as controlled by {@link Vibrator#vibrate(long)}\n" 57 }, 58 "setHasAmplitudeControl(boolean)": { 59 "isImplementation": false, 60 "modifiers": [ 61 "public" 62 ], 63 "params": [ 64 "hasAmplitudeControl" 65 ], 66 "returnType": "void", 67 "exceptions": [], 68 "name": "setHasAmplitudeControl(boolean)", 69 "documentation": "Controls the return value of {@link Vibrator#hasAmplitudeControl()} the default is false.\n" 70 }, 71 "setHasVibrator(boolean)": { 72 "isImplementation": false, 73 "modifiers": [ 74 "public" 75 ], 76 "params": [ 77 "hasVibrator" 78 ], 79 "returnType": "void", 80 "exceptions": [], 81 "name": "setHasVibrator(boolean)", 82 "documentation": "Controls the return value of {@link Vibrator#hasVibrator()} the default is true.\n" 83 } 84 }, 85 "imports": [ 86 "android.os.Vibrator", 87 "org.robolectric.annotation.Implements" 88 ], 89 "name": "org.robolectric.shadows.ShadowVibrator" 90}