accelerometer.md 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
## uni.onAccelerometerChange(callback) @onaccelerometerchange

<!-- UTSAPIJSON.onAccelerometerChange.description -->

<!-- UTSAPIJSON.onAccelerometerChange.compatibility -->

<!-- UTSAPIJSON.onAccelerometerChange.param -->

<!-- UTSAPIJSON.onAccelerometerChange.returnValue -->

<!-- UTSAPIJSON.onAccelerometerChange.example -->

<!-- UTSAPIJSON.onAccelerometerChange.tutorial -->

## uni.offAccelerometerChange(callback) @offaccelerometerchange

<!-- UTSAPIJSON.offAccelerometerChange.description -->

<!-- UTSAPIJSON.offAccelerometerChange.compatibility -->

<!-- UTSAPIJSON.offAccelerometerChange.param -->

<!-- UTSAPIJSON.offAccelerometerChange.returnValue -->

<!-- UTSAPIJSON.offAccelerometerChange.example -->

<!-- UTSAPIJSON.offAccelerometerChange.tutorial -->

## uni.startAccelerometer(options) @startaccelerometer

<!-- UTSAPIJSON.startAccelerometer.description -->

<!-- UTSAPIJSON.startAccelerometer.compatibility -->

<!-- UTSAPIJSON.startAccelerometer.param -->

<!-- UTSAPIJSON.startAccelerometer.returnValue -->

<!-- UTSAPIJSON.startAccelerometer.example -->

<!-- UTSAPIJSON.startAccelerometer.tutorial -->

## uni.stopAccelerometer(options) @stopaccelerometer

<!-- UTSAPIJSON.stopAccelerometer.description -->

<!-- UTSAPIJSON.stopAccelerometer.compatibility -->

<!-- UTSAPIJSON.stopAccelerometer.param -->

<!-- UTSAPIJSON.stopAccelerometer.returnValue -->

<!-- UTSAPIJSON.stopAccelerometer.example -->

<!-- UTSAPIJSON.stopAccelerometer.tutorial -->

<!-- UTSAPIJSON.accelerometer.example -->

<!-- UTSAPIJSON.general_type.name -->

<!-- UTSAPIJSON.general_type.param -->