1 | import Taro from '@tarojs/api';
|
2 | /**
|
3 | * 停止监听设备方向的变化。
|
4 | */
|
5 | declare const stopDeviceMotionListening: typeof Taro.stopDeviceMotionListening;
|
6 | /**
|
7 | * 开始监听设备方向的变化。
|
8 | */
|
9 | declare const startDeviceMotionListening: typeof Taro.startDeviceMotionListening;
|
10 | /**
|
11 | * 监听设备方向变化事件。
|
12 | */
|
13 | declare const onDeviceMotionChange: typeof Taro.onDeviceMotionChange;
|
14 | /**
|
15 | * 取消监听设备方向变化事件,参数为空,则取消所有的事件监听。
|
16 | */
|
17 | declare const offDeviceMotionChange: typeof Taro.offDeviceMotionChange;
|
18 | export { stopDeviceMotionListening, startDeviceMotionListening, onDeviceMotionChange, offDeviceMotionChange };
|