@dcloudio/uni-app-x 0.7.121 → 0.7.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -0
- package/package.json +1 -1
- package/types/dom2-internal/UniCommon.d.ts +7 -2
- package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
- package/types/uni/uts-plugin-api/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +323 -1294
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/global.d.ts +16 -6
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/index.d.ts +9 -3
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +144 -110
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +418 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +83 -124
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-biz/global.d.ts +9 -0
- package/types/uni/uts-plugin-biz/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +371 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +1172 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +6 -1
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-component/global.d.ts +8 -1
- package/types/uni/uts-plugin-component/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +1342 -371
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +144 -110
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +13 -4
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +420 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +132 -75
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +0 -12
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +0 -917
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +0 -1095
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +0 -253
|
@@ -268,7 +268,12 @@ export type UniVerifyManagerCustomLoginOptions = {
|
|
|
268
268
|
/**
|
|
269
269
|
* @description 隐私标题,仅支持使用text组件
|
|
270
270
|
*/
|
|
271
|
-
privacyTextElement : UniElement,
|
|
271
|
+
privacyTextElement : UniElement,
|
|
272
|
+
/**
|
|
273
|
+
* @description checkbox组件勾选状态
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
privacyCheckBoxElementChecked ?: boolean,
|
|
272
277
|
success ?: UniVerifyManagerLoginSuccessCallback,
|
|
273
278
|
fail ?: UniVerifyManagerLoginFailCallback,
|
|
274
279
|
complete ?: UniVerifyManagerLoginCompleteCallback
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
VibrateShortType as VibrateShortTypeOrigin,
|
|
4
|
+
VibrateShortSuccess as VibrateShortSuccessOrigin,
|
|
5
|
+
VibrateLongSuccess as VibrateLongSuccessOrigin,
|
|
6
|
+
VibrateErrorCode as VibrateErrorCodeOrigin,
|
|
7
|
+
VibrateFail as VibrateFailOrigin,
|
|
8
|
+
VibrateShortOptions as VibrateShortOptionsOrigin,
|
|
9
|
+
VibrateLongOptions as VibrateLongOptionsOrigin,
|
|
10
|
+
VibrateShort as VibrateShortOrigin,
|
|
11
|
+
VibrateLong as VibrateLongOrigin,
|
|
12
|
+
Uni as UniOrigin
|
|
13
|
+
} from './interface'
|
|
14
|
+
|
|
15
|
+
declare global {
|
|
16
|
+
type VibrateShortType = VibrateShortTypeOrigin
|
|
17
|
+
type VibrateShortSuccess = VibrateShortSuccessOrigin
|
|
18
|
+
type VibrateLongSuccess = VibrateLongSuccessOrigin
|
|
19
|
+
type VibrateErrorCode = VibrateErrorCodeOrigin
|
|
20
|
+
type VibrateFail = VibrateFailOrigin
|
|
21
|
+
type VibrateShortOptions = VibrateShortOptionsOrigin
|
|
22
|
+
type VibrateLongOptions = VibrateLongOptionsOrigin
|
|
23
|
+
type VibrateShort = VibrateShortOrigin
|
|
24
|
+
type VibrateLong = VibrateLongOrigin
|
|
25
|
+
interface Uni extends UniOrigin { }
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export type VibrateShortType = "heavy" | "medium" | "light"
|
|
2
|
+
|
|
3
|
+
export type VibrateShortSuccess = {
|
|
4
|
+
errMsg : string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type VibrateLongSuccess = {
|
|
8
|
+
errMsg : string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type VibrateErrorCode = 9001001 | 9001002 | 9001003
|
|
12
|
+
|
|
13
|
+
export interface VibrateFail extends IUniError {
|
|
14
|
+
errCode : VibrateErrorCode
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type VibrateShortSuccessCallback = (result : VibrateShortSuccess) => void
|
|
18
|
+
type VibrateLongSuccessCallback = (result : VibrateLongSuccess) => void
|
|
19
|
+
type VibrateFailCallback = (result : VibrateFail) => void
|
|
20
|
+
type VibrateComplete = any
|
|
21
|
+
type VibrateCompleteCallback = (result : VibrateComplete) => void
|
|
22
|
+
|
|
23
|
+
export type VibrateShortOptions = {
|
|
24
|
+
type : VibrateShortType,
|
|
25
|
+
success ?: VibrateShortSuccessCallback,
|
|
26
|
+
fail ?: VibrateFailCallback,
|
|
27
|
+
complete ?: VibrateCompleteCallback
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type VibrateLongOptions = {
|
|
31
|
+
success ?: VibrateLongSuccessCallback,
|
|
32
|
+
fail ?: VibrateFailCallback,
|
|
33
|
+
complete ?: VibrateCompleteCallback
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type VibrateShort = (options : VibrateShortOptions) => void
|
|
37
|
+
export type VibrateLong = (options : VibrateLongOptions) => void
|
|
38
|
+
|
|
39
|
+
export interface Uni {
|
|
40
|
+
/**
|
|
41
|
+
* 使设备发生较短时间的振动。
|
|
42
|
+
*
|
|
43
|
+
* @uniPlatform {
|
|
44
|
+
* "app": {
|
|
45
|
+
* "android": {
|
|
46
|
+
* "osVer": "5.0",
|
|
47
|
+
* "uniVer": "√",
|
|
48
|
+
* "unixVer": "5.08"
|
|
49
|
+
* },
|
|
50
|
+
* "ios": {
|
|
51
|
+
* "osVer": "12.0",
|
|
52
|
+
* "uniVer": "√",
|
|
53
|
+
* "unixVer": "5.08"
|
|
54
|
+
* },
|
|
55
|
+
* "harmony": {
|
|
56
|
+
* "osVer": "3.0",
|
|
57
|
+
* "uniVer": "x",
|
|
58
|
+
* "unixVer": "5.08"
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
* }
|
|
62
|
+
*/
|
|
63
|
+
vibrateShort(options : VibrateShortOptions) : void
|
|
64
|
+
/**
|
|
65
|
+
* 使设备发生较长时间的振动。
|
|
66
|
+
*
|
|
67
|
+
* @uniPlatform {
|
|
68
|
+
* "app": {
|
|
69
|
+
* "android": {
|
|
70
|
+
* "osVer": "5.0",
|
|
71
|
+
* "uniVer": "√",
|
|
72
|
+
* "unixVer": "5.08"
|
|
73
|
+
* },
|
|
74
|
+
* "ios": {
|
|
75
|
+
* "osVer": "12.0",
|
|
76
|
+
* "uniVer": "√",
|
|
77
|
+
* "unixVer": "5.08"
|
|
78
|
+
* },
|
|
79
|
+
* "harmony": {
|
|
80
|
+
* "osVer": "3.0",
|
|
81
|
+
* "uniVer": "x",
|
|
82
|
+
* "unixVer": "5.08"
|
|
83
|
+
* }
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
*/
|
|
87
|
+
vibrateLong(options : VibrateLongOptions) : void
|
|
88
|
+
}
|
|
@@ -20,19 +20,21 @@
|
|
|
20
20
|
/// <reference path='./lib/uni-form-global/utssdk/global.d.ts' />
|
|
21
21
|
/// <reference path='./lib/uni-editor-global/utssdk/global.d.ts' />
|
|
22
22
|
/// <reference path='./lib/uni-camera-global/utssdk/global.d.ts' />
|
|
23
|
-
/// <reference path='./lib/uni-
|
|
23
|
+
/// <reference path='./lib/uni-accelerometer/utssdk/global.d.ts' />
|
|
24
24
|
/// <reference path='./lib/uni-actionSheet/utssdk/global.d.ts' />
|
|
25
25
|
/// <reference path='./lib/uni-addPhoneContact/utssdk/global.d.ts' />
|
|
26
26
|
/// <reference path='./lib/uni-arrayBufferToBase64/utssdk/global.d.ts' />
|
|
27
27
|
/// <reference path='./lib/uni-authentication/utssdk/global.d.ts' />
|
|
28
28
|
/// <reference path='./lib/uni-barcode-scanning/utssdk/global.d.ts' />
|
|
29
29
|
/// <reference path='./lib/uni-base64ToArrayBuffer/utssdk/global.d.ts' />
|
|
30
|
+
/// <reference path='./lib/uni-calendar/utssdk/global.d.ts' />
|
|
30
31
|
/// <reference path='./lib/uni-camera/utssdk/global.d.ts' />
|
|
31
32
|
/// <reference path='./lib/uni-canvas-dom2/utssdk/global.d.ts' />
|
|
32
33
|
/// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
|
|
33
34
|
/// <reference path='./lib/uni-chooseLocation/utssdk/global.d.ts' />
|
|
34
35
|
/// <reference path='./lib/uni-chooseMedia/utssdk/global.d.ts' />
|
|
35
36
|
/// <reference path='./lib/uni-clipboard/utssdk/global.d.ts' />
|
|
37
|
+
/// <reference path='./lib/uni-compass/utssdk/global.d.ts' />
|
|
36
38
|
/// <reference path='./lib/uni-createInnerAudioContext/utssdk/global.d.ts' />
|
|
37
39
|
/// <reference path='./lib/uni-createIntersectionObserver/utssdk/global.d.ts' />
|
|
38
40
|
/// <reference path='./lib/uni-createRequestPermissionListener/utssdk/global.d.ts' />
|
|
@@ -59,6 +61,7 @@
|
|
|
59
61
|
/// <reference path='./lib/uni-getProvider/utssdk/global.d.ts' />
|
|
60
62
|
/// <reference path='./lib/uni-getSystemInfo/utssdk/global.d.ts' />
|
|
61
63
|
/// <reference path='./lib/uni-getSystemSetting/utssdk/global.d.ts' />
|
|
64
|
+
/// <reference path='./lib/uni-gyroscope/utssdk/global.d.ts' />
|
|
62
65
|
/// <reference path='./lib/uni-installApk/utssdk/global.d.ts' />
|
|
63
66
|
/// <reference path='./lib/uni-interceptor/utssdk/global.d.ts' />
|
|
64
67
|
/// <reference path='./lib/uni-keyboard/utssdk/global.d.ts' />
|
|
@@ -68,6 +71,7 @@
|
|
|
68
71
|
/// <reference path='./lib/uni-location/utssdk/global.d.ts' />
|
|
69
72
|
/// <reference path='./lib/uni-makePhoneCall/utssdk/global.d.ts' />
|
|
70
73
|
/// <reference path='./lib/uni-media/utssdk/global.d.ts' />
|
|
74
|
+
/// <reference path='./lib/uni-memorywarning/utssdk/global.d.ts' />
|
|
71
75
|
/// <reference path='./lib/uni-modal/utssdk/global.d.ts' />
|
|
72
76
|
/// <reference path='./lib/uni-navigationBar/utssdk/global.d.ts' />
|
|
73
77
|
/// <reference path='./lib/uni-network/utssdk/global.d.ts' />
|
|
@@ -76,11 +80,13 @@
|
|
|
76
80
|
/// <reference path='./lib/uni-oauth/utssdk/global.d.ts' />
|
|
77
81
|
/// <reference path='./lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts' />
|
|
78
82
|
/// <reference path='./lib/uni-openDocument/utssdk/global.d.ts' />
|
|
83
|
+
/// <reference path='./lib/uni-openLocation/utssdk/global.d.ts' />
|
|
79
84
|
/// <reference path='./lib/uni-pageScrollTo/utssdk/global.d.ts' />
|
|
80
85
|
/// <reference path='./lib/uni-payment-alipay/utssdk/global.d.ts' />
|
|
81
86
|
/// <reference path='./lib/uni-payment-huawei/utssdk/global.d.ts' />
|
|
82
87
|
/// <reference path='./lib/uni-payment-wxpay/utssdk/global.d.ts' />
|
|
83
88
|
/// <reference path='./lib/uni-payment/utssdk/global.d.ts' />
|
|
89
|
+
/// <reference path='./lib/uni-phoneContact/utssdk/global.d.ts' />
|
|
84
90
|
/// <reference path='./lib/uni-previewImage/utssdk/global.d.ts' />
|
|
85
91
|
/// <reference path='./lib/uni-privacy/utssdk/global.d.ts' />
|
|
86
92
|
/// <reference path='./lib/uni-prompt/utssdk/global.d.ts' />
|
|
@@ -99,6 +105,7 @@
|
|
|
99
105
|
/// <reference path='./lib/uni-storage/utssdk/global.d.ts' />
|
|
100
106
|
/// <reference path='./lib/uni-tabBar/utssdk/global.d.ts' />
|
|
101
107
|
/// <reference path='./lib/uni-theme/utssdk/global.d.ts' />
|
|
108
|
+
/// <reference path='./lib/uni-vibrate/utssdk/global.d.ts' />
|
|
102
109
|
/// <reference path='./lib/uni-video/utssdk/global.d.ts' />
|
|
103
110
|
/// <reference path='./lib/uni-virtualPayment/utssdk/global.d.ts' />
|
|
104
111
|
/// <reference path='./lib/uni-web-view/utssdk/global.d.ts' />
|
|
@@ -20,19 +20,21 @@ export * from './lib/uni-form-global/utssdk'
|
|
|
20
20
|
export * from './lib/uni-form-global/utssdk'
|
|
21
21
|
export * from './lib/uni-editor-global/utssdk'
|
|
22
22
|
export * from './lib/uni-camera-global/utssdk'
|
|
23
|
-
export * from './lib/uni-
|
|
23
|
+
export * from './lib/uni-accelerometer/utssdk'
|
|
24
24
|
export * from './lib/uni-actionSheet/utssdk'
|
|
25
25
|
export * from './lib/uni-addPhoneContact/utssdk'
|
|
26
26
|
export * from './lib/uni-arrayBufferToBase64/utssdk'
|
|
27
27
|
export * from './lib/uni-authentication/utssdk'
|
|
28
28
|
export * from './lib/uni-barcode-scanning/utssdk'
|
|
29
29
|
export * from './lib/uni-base64ToArrayBuffer/utssdk'
|
|
30
|
+
export * from './lib/uni-calendar/utssdk'
|
|
30
31
|
export * from './lib/uni-camera/utssdk'
|
|
31
32
|
export * from './lib/uni-canvas-dom2/utssdk'
|
|
32
33
|
export * from './lib/uni-canvas/utssdk'
|
|
33
34
|
export * from './lib/uni-chooseLocation/utssdk'
|
|
34
35
|
export * from './lib/uni-chooseMedia/utssdk'
|
|
35
36
|
export * from './lib/uni-clipboard/utssdk'
|
|
37
|
+
export * from './lib/uni-compass/utssdk'
|
|
36
38
|
export * from './lib/uni-createInnerAudioContext/utssdk'
|
|
37
39
|
export * from './lib/uni-createIntersectionObserver/utssdk'
|
|
38
40
|
export * from './lib/uni-createRequestPermissionListener/utssdk'
|
|
@@ -59,6 +61,7 @@ export * from './lib/uni-getPerformance/utssdk'
|
|
|
59
61
|
export * from './lib/uni-getProvider/utssdk'
|
|
60
62
|
export * from './lib/uni-getSystemInfo/utssdk'
|
|
61
63
|
export * from './lib/uni-getSystemSetting/utssdk'
|
|
64
|
+
export * from './lib/uni-gyroscope/utssdk'
|
|
62
65
|
export * from './lib/uni-installApk/utssdk'
|
|
63
66
|
export * from './lib/uni-interceptor/utssdk'
|
|
64
67
|
export * from './lib/uni-keyboard/utssdk'
|
|
@@ -68,6 +71,7 @@ export * from './lib/uni-location-tencent/utssdk'
|
|
|
68
71
|
export * from './lib/uni-location/utssdk'
|
|
69
72
|
export * from './lib/uni-makePhoneCall/utssdk'
|
|
70
73
|
export * from './lib/uni-media/utssdk'
|
|
74
|
+
export * from './lib/uni-memorywarning/utssdk'
|
|
71
75
|
export * from './lib/uni-modal/utssdk'
|
|
72
76
|
export * from './lib/uni-navigationBar/utssdk'
|
|
73
77
|
export * from './lib/uni-network/utssdk'
|
|
@@ -76,11 +80,13 @@ export * from './lib/uni-oauth-weixin/utssdk'
|
|
|
76
80
|
export * from './lib/uni-oauth/utssdk'
|
|
77
81
|
export * from './lib/uni-openAppAuthorizeSetting/utssdk'
|
|
78
82
|
export * from './lib/uni-openDocument/utssdk'
|
|
83
|
+
export * from './lib/uni-openLocation/utssdk'
|
|
79
84
|
export * from './lib/uni-pageScrollTo/utssdk'
|
|
80
85
|
export * from './lib/uni-payment-alipay/utssdk'
|
|
81
86
|
export * from './lib/uni-payment-huawei/utssdk'
|
|
82
87
|
export * from './lib/uni-payment-wxpay/utssdk'
|
|
83
88
|
export * from './lib/uni-payment/utssdk'
|
|
89
|
+
export * from './lib/uni-phoneContact/utssdk'
|
|
84
90
|
export * from './lib/uni-previewImage/utssdk'
|
|
85
91
|
export * from './lib/uni-privacy/utssdk'
|
|
86
92
|
export * from './lib/uni-prompt/utssdk'
|
|
@@ -99,6 +105,7 @@ export * from './lib/uni-sse/utssdk'
|
|
|
99
105
|
export * from './lib/uni-storage/utssdk'
|
|
100
106
|
export * from './lib/uni-tabBar/utssdk'
|
|
101
107
|
export * from './lib/uni-theme/utssdk'
|
|
108
|
+
export * from './lib/uni-vibrate/utssdk'
|
|
102
109
|
export * from './lib/uni-video/utssdk'
|
|
103
110
|
export * from './lib/uni-virtualPayment/utssdk'
|
|
104
111
|
export * from './lib/uni-web-view/utssdk'
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
AccelerometerInterval as AccelerometerIntervalOrigin,
|
|
4
|
+
AccelerometerErrorCode as AccelerometerErrorCodeOrigin,
|
|
5
|
+
IAccelerometerError as IAccelerometerErrorOrigin,
|
|
6
|
+
AccelerometerSuccess as AccelerometerSuccessOrigin,
|
|
7
|
+
AccelerometerFail as AccelerometerFailOrigin,
|
|
8
|
+
AccelerometerSuccessCallback as AccelerometerSuccessCallbackOrigin,
|
|
9
|
+
AccelerometerFailCallback as AccelerometerFailCallbackOrigin,
|
|
10
|
+
AccelerometerComplete as AccelerometerCompleteOrigin,
|
|
11
|
+
AccelerometerCompleteCallback as AccelerometerCompleteCallbackOrigin,
|
|
12
|
+
StartAccelerometerOptions as StartAccelerometerOptionsOrigin,
|
|
13
|
+
StopAccelerometerOptions as StopAccelerometerOptionsOrigin,
|
|
14
|
+
OnAccelerometerChangeCallbackResult as OnAccelerometerChangeCallbackResultOrigin,
|
|
15
|
+
OnAccelerometerChangeCallback as OnAccelerometerChangeCallbackOrigin,
|
|
16
|
+
Uni as UniOrigin
|
|
17
|
+
} from './interface'
|
|
18
|
+
|
|
19
|
+
declare global {
|
|
20
|
+
type AccelerometerInterval = AccelerometerIntervalOrigin
|
|
21
|
+
type AccelerometerErrorCode = AccelerometerErrorCodeOrigin
|
|
22
|
+
type IAccelerometerError = IAccelerometerErrorOrigin
|
|
23
|
+
type AccelerometerSuccess = AccelerometerSuccessOrigin
|
|
24
|
+
type AccelerometerFail = AccelerometerFailOrigin
|
|
25
|
+
type AccelerometerSuccessCallback = AccelerometerSuccessCallbackOrigin
|
|
26
|
+
type AccelerometerFailCallback = AccelerometerFailCallbackOrigin
|
|
27
|
+
type AccelerometerComplete = AccelerometerCompleteOrigin
|
|
28
|
+
type AccelerometerCompleteCallback = AccelerometerCompleteCallbackOrigin
|
|
29
|
+
type StartAccelerometerOptions = StartAccelerometerOptionsOrigin
|
|
30
|
+
type StopAccelerometerOptions = StopAccelerometerOptionsOrigin
|
|
31
|
+
type OnAccelerometerChangeCallbackResult = OnAccelerometerChangeCallbackResultOrigin
|
|
32
|
+
type OnAccelerometerChangeCallback = OnAccelerometerChangeCallbackOrigin
|
|
33
|
+
interface Uni extends UniOrigin { }
|
|
34
|
+
}
|
|
35
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
AccelerometerInterval,
|
|
4
|
+
AccelerometerErrorCode,
|
|
5
|
+
IAccelerometerError,
|
|
6
|
+
AccelerometerSuccess,
|
|
7
|
+
AccelerometerFail,
|
|
8
|
+
AccelerometerSuccessCallback,
|
|
9
|
+
AccelerometerFailCallback,
|
|
10
|
+
AccelerometerComplete,
|
|
11
|
+
AccelerometerCompleteCallback,
|
|
12
|
+
StartAccelerometerOptions,
|
|
13
|
+
StopAccelerometerOptions,
|
|
14
|
+
OnAccelerometerChangeCallbackResult,
|
|
15
|
+
OnAccelerometerChangeCallback,
|
|
16
|
+
} from './interface'
|
|
17
|
+
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
export type AccelerometerInterval =
|
|
2
|
+
'game' |
|
|
3
|
+
'ui' |
|
|
4
|
+
'normal'
|
|
5
|
+
|
|
6
|
+
export type AccelerometerErrorCode =
|
|
7
|
+
601 |
|
|
8
|
+
602 |
|
|
9
|
+
603 |
|
|
10
|
+
604 |
|
|
11
|
+
701 |
|
|
12
|
+
702 |
|
|
13
|
+
703 |
|
|
14
|
+
801 |
|
|
15
|
+
802 |
|
|
16
|
+
803 |
|
|
17
|
+
804 |
|
|
18
|
+
501 |
|
|
19
|
+
502 |
|
|
20
|
+
503 |
|
|
21
|
+
901
|
|
22
|
+
|
|
23
|
+
export interface IAccelerometerError extends IUniError {
|
|
24
|
+
errCode : AccelerometerErrorCode
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AccelerometerSuccess = {
|
|
28
|
+
errMsg ?: string | null
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type AccelerometerFail = IAccelerometerError
|
|
32
|
+
export type AccelerometerSuccessCallback = (res : AccelerometerSuccess) => void
|
|
33
|
+
export type AccelerometerFailCallback = (res : AccelerometerFail) => void
|
|
34
|
+
export type AccelerometerComplete = AccelerometerSuccess | AccelerometerFail
|
|
35
|
+
export type AccelerometerCompleteCallback = (res : AccelerometerComplete) => void
|
|
36
|
+
|
|
37
|
+
export type StartAccelerometerOptions = {
|
|
38
|
+
interval ?: AccelerometerInterval | null
|
|
39
|
+
success ?: AccelerometerSuccessCallback | null
|
|
40
|
+
fail ?: AccelerometerFailCallback | null
|
|
41
|
+
complete ?: AccelerometerCompleteCallback | null
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type StopAccelerometerOptions = {
|
|
45
|
+
success ?: AccelerometerSuccessCallback | null
|
|
46
|
+
fail ?: AccelerometerFailCallback | null
|
|
47
|
+
complete ?: AccelerometerCompleteCallback | null
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type OnAccelerometerChangeCallbackResult = {
|
|
51
|
+
x : number
|
|
52
|
+
y : number
|
|
53
|
+
z : number
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type OnAccelerometerChangeCallback = (result : OnAccelerometerChangeCallbackResult) => void
|
|
57
|
+
|
|
58
|
+
export interface Uni {
|
|
59
|
+
/**
|
|
60
|
+
* 监听加速度数据变化事件
|
|
61
|
+
*
|
|
62
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#onaccelerometerchange
|
|
63
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#onaccelerometerchange
|
|
64
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#onaccelerometerchange
|
|
65
|
+
*
|
|
66
|
+
* @uniPlatform {
|
|
67
|
+
* "app": {
|
|
68
|
+
* "android": {
|
|
69
|
+
* "osVer": "5.0",
|
|
70
|
+
* "uniVer": "2.9.6",
|
|
71
|
+
* "unixVer": "5.08"
|
|
72
|
+
* },
|
|
73
|
+
* "ios": {
|
|
74
|
+
* "osVer": "12.0",
|
|
75
|
+
* "uniVer": "2.9.6",
|
|
76
|
+
* "unixVer": "5.08"
|
|
77
|
+
* },
|
|
78
|
+
* "harmony": {
|
|
79
|
+
* "osVer": "5.0.0",
|
|
80
|
+
* "uniVer": "5.08",
|
|
81
|
+
* "unixVer": "5.08",
|
|
82
|
+
* "unixvVer": "5.08"
|
|
83
|
+
* }
|
|
84
|
+
* },
|
|
85
|
+
* "web": {
|
|
86
|
+
* "uniVer": "2.9.6",
|
|
87
|
+
* "unixVer": "4.0"
|
|
88
|
+
* },
|
|
89
|
+
* "mp":{
|
|
90
|
+
* "weixin": {
|
|
91
|
+
* "hostVer": "√",
|
|
92
|
+
* "uniVer": "√",
|
|
93
|
+
* "unixVer": "4.41"
|
|
94
|
+
* },
|
|
95
|
+
* "alipay": {
|
|
96
|
+
* "hostVer": "√",
|
|
97
|
+
* "uniVer": "√",
|
|
98
|
+
* "unixVer": "x"
|
|
99
|
+
* },
|
|
100
|
+
* "baidu": {
|
|
101
|
+
* "hostVer": "√",
|
|
102
|
+
* "uniVer": "√",
|
|
103
|
+
* "unixVer": "x"
|
|
104
|
+
* },
|
|
105
|
+
* "toutiao": {
|
|
106
|
+
* "hostVer": "x",
|
|
107
|
+
* "uniVer": "x",
|
|
108
|
+
* "unixVer": "x"
|
|
109
|
+
* },
|
|
110
|
+
* "lark": {
|
|
111
|
+
* "hostVer": "x",
|
|
112
|
+
* "uniVer": "x",
|
|
113
|
+
* "unixVer": "x"
|
|
114
|
+
* },
|
|
115
|
+
* "qq": {
|
|
116
|
+
* "hostVer": "x",
|
|
117
|
+
* "uniVer": "x",
|
|
118
|
+
* "unixVer": "x"
|
|
119
|
+
* },
|
|
120
|
+
* "kuaishou": {
|
|
121
|
+
* "hostVer": "√",
|
|
122
|
+
* "uniVer": "√",
|
|
123
|
+
* "unixVer": "x"
|
|
124
|
+
* },
|
|
125
|
+
* "jd": {
|
|
126
|
+
* "hostVer": "x",
|
|
127
|
+
* "uniVer": "x",
|
|
128
|
+
* "unixVer": "x"
|
|
129
|
+
* }
|
|
130
|
+
* }
|
|
131
|
+
* }
|
|
132
|
+
*/
|
|
133
|
+
onAccelerometerChange(callback : OnAccelerometerChangeCallback) : void;
|
|
134
|
+
/**
|
|
135
|
+
* 监听加速度数据变化事件
|
|
136
|
+
*
|
|
137
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#offaccelerometerchange
|
|
138
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#offaccelerometerchange
|
|
139
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#offaccelerometerchange
|
|
140
|
+
*
|
|
141
|
+
* @uniPlatform {
|
|
142
|
+
* "app": {
|
|
143
|
+
* "android": {
|
|
144
|
+
* "osVer": "5.0",
|
|
145
|
+
* "uniVer": "2.9.6",
|
|
146
|
+
* "unixVer": "5.08"
|
|
147
|
+
* },
|
|
148
|
+
* "ios": {
|
|
149
|
+
* "osVer": "12.0",
|
|
150
|
+
* "uniVer": "2.9.6",
|
|
151
|
+
* "unixVer": "5.08"
|
|
152
|
+
* },
|
|
153
|
+
* "harmony": {
|
|
154
|
+
* "osVer": "5.0.0",
|
|
155
|
+
* "uniVer": "5.08",
|
|
156
|
+
* "unixVer": "5.08",
|
|
157
|
+
* "unixvVer": "5.08"
|
|
158
|
+
* }
|
|
159
|
+
* },
|
|
160
|
+
* "web": {
|
|
161
|
+
* "uniVer": "2.9.6",
|
|
162
|
+
* "unixVer": "4.0"
|
|
163
|
+
* },
|
|
164
|
+
* "mp":{
|
|
165
|
+
* "weixin": {
|
|
166
|
+
* "hostVer": "2.9.3",
|
|
167
|
+
* "uniVer": "√",
|
|
168
|
+
* "unixVer": "4.41"
|
|
169
|
+
* },
|
|
170
|
+
* "alipay": {
|
|
171
|
+
* "hostVer": "√",
|
|
172
|
+
* "uniVer": "√",
|
|
173
|
+
* "unixVer": "x"
|
|
174
|
+
* },
|
|
175
|
+
* "baidu": {
|
|
176
|
+
* "hostVer": "√",
|
|
177
|
+
* "uniVer": "√",
|
|
178
|
+
* "unixVer": "x"
|
|
179
|
+
* },
|
|
180
|
+
* "toutiao": {
|
|
181
|
+
* "hostVer": "x",
|
|
182
|
+
* "uniVer": "x",
|
|
183
|
+
* "unixVer": "x"
|
|
184
|
+
* },
|
|
185
|
+
* "lark": {
|
|
186
|
+
* "hostVer": "x",
|
|
187
|
+
* "uniVer": "x",
|
|
188
|
+
* "unixVer": "x"
|
|
189
|
+
* },
|
|
190
|
+
* "qq": {
|
|
191
|
+
* "hostVer": "x",
|
|
192
|
+
* "uniVer": "x",
|
|
193
|
+
* "unixVer": "x"
|
|
194
|
+
* },
|
|
195
|
+
* "kuaishou": {
|
|
196
|
+
* "hostVer": "√",
|
|
197
|
+
* "uniVer": "√",
|
|
198
|
+
* "unixVer": "x"
|
|
199
|
+
* },
|
|
200
|
+
* "jd": {
|
|
201
|
+
* "hostVer": "x",
|
|
202
|
+
* "uniVer": "x",
|
|
203
|
+
* "unixVer": "x"
|
|
204
|
+
* }
|
|
205
|
+
* }
|
|
206
|
+
* }
|
|
207
|
+
*/
|
|
208
|
+
offAccelerometerChange(callback : OnAccelerometerChangeCallback) : void;
|
|
209
|
+
/**
|
|
210
|
+
* 开始监听加速度数据变化事件
|
|
211
|
+
*
|
|
212
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#startaccelerometer
|
|
213
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#startaccelerometer
|
|
214
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#startaccelerometer
|
|
215
|
+
*
|
|
216
|
+
* @uniPlatform {
|
|
217
|
+
* "app": {
|
|
218
|
+
* "android": {
|
|
219
|
+
* "osVer": "5.0",
|
|
220
|
+
* "uniVer": "2.9.6",
|
|
221
|
+
* "unixVer": "5.08"
|
|
222
|
+
* },
|
|
223
|
+
* "ios": {
|
|
224
|
+
* "osVer": "12.0",
|
|
225
|
+
* "uniVer": "2.9.6",
|
|
226
|
+
* "unixVer": "5.08"
|
|
227
|
+
* },
|
|
228
|
+
* "harmony": {
|
|
229
|
+
* "osVer": "5.0.0",
|
|
230
|
+
* "uniVer": "5.08",
|
|
231
|
+
* "unixVer": "5.08",
|
|
232
|
+
* "unixvVer": "5.08"
|
|
233
|
+
* }
|
|
234
|
+
* },
|
|
235
|
+
* "web": {
|
|
236
|
+
* "uniVer": "2.9.6",
|
|
237
|
+
* "unixVer": "4.0"
|
|
238
|
+
* },
|
|
239
|
+
* "mp":{
|
|
240
|
+
* "weixin": {
|
|
241
|
+
* "hostVer": "2.9.3",
|
|
242
|
+
* "uniVer": "√",
|
|
243
|
+
* "unixVer": "4.41"
|
|
244
|
+
* },
|
|
245
|
+
* "alipay": {
|
|
246
|
+
* "hostVer": "√",
|
|
247
|
+
* "uniVer": "√",
|
|
248
|
+
* "unixVer": "x"
|
|
249
|
+
* },
|
|
250
|
+
* "baidu": {
|
|
251
|
+
* "hostVer": "√",
|
|
252
|
+
* "uniVer": "√",
|
|
253
|
+
* "unixVer": "x"
|
|
254
|
+
* },
|
|
255
|
+
* "toutiao": {
|
|
256
|
+
* "hostVer": "x",
|
|
257
|
+
* "uniVer": "x",
|
|
258
|
+
* "unixVer": "x"
|
|
259
|
+
* },
|
|
260
|
+
* "lark": {
|
|
261
|
+
* "hostVer": "x",
|
|
262
|
+
* "uniVer": "x",
|
|
263
|
+
* "unixVer": "x"
|
|
264
|
+
* },
|
|
265
|
+
* "qq": {
|
|
266
|
+
* "hostVer": "x",
|
|
267
|
+
* "uniVer": "x",
|
|
268
|
+
* "unixVer": "x"
|
|
269
|
+
* },
|
|
270
|
+
* "kuaishou": {
|
|
271
|
+
* "hostVer": "√",
|
|
272
|
+
* "uniVer": "√",
|
|
273
|
+
* "unixVer": "x"
|
|
274
|
+
* },
|
|
275
|
+
* "jd": {
|
|
276
|
+
* "hostVer": "x",
|
|
277
|
+
* "uniVer": "x",
|
|
278
|
+
* "unixVer": "x"
|
|
279
|
+
* }
|
|
280
|
+
* }
|
|
281
|
+
* }
|
|
282
|
+
*/
|
|
283
|
+
startAccelerometer(options ?: StartAccelerometerOptions | null) : void;
|
|
284
|
+
/**
|
|
285
|
+
* 停止监听加速度数据变化事件
|
|
286
|
+
*
|
|
287
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#stopaccelerometer
|
|
288
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/accelerometer.html#stopaccelerometer
|
|
289
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/accelerometer.html#stopaccelerometer
|
|
290
|
+
*
|
|
291
|
+
* @uniPlatform {
|
|
292
|
+
* "app": {
|
|
293
|
+
* "android": {
|
|
294
|
+
* "osVer": "5.0",
|
|
295
|
+
* "uniVer": "2.9.6",
|
|
296
|
+
* "unixVer": "5.08"
|
|
297
|
+
* },
|
|
298
|
+
* "ios": {
|
|
299
|
+
* "osVer": "12.0",
|
|
300
|
+
* "uniVer": "2.9.6",
|
|
301
|
+
* "unixVer": "5.08"
|
|
302
|
+
* },
|
|
303
|
+
* "harmony": {
|
|
304
|
+
* "osVer": "5.0.0",
|
|
305
|
+
* "uniVer": "5.08",
|
|
306
|
+
* "unixVer": "5.08",
|
|
307
|
+
* "unixvVer": "5.08"
|
|
308
|
+
* }
|
|
309
|
+
* },
|
|
310
|
+
* "web": {
|
|
311
|
+
* "uniVer": "2.9.6",
|
|
312
|
+
* "unixVer": "4.0"
|
|
313
|
+
* },
|
|
314
|
+
* "mp":{
|
|
315
|
+
* "weixin": {
|
|
316
|
+
* "hostVer": "2.9.3",
|
|
317
|
+
* "uniVer": "√",
|
|
318
|
+
* "unixVer": "4.41"
|
|
319
|
+
* },
|
|
320
|
+
* "alipay": {
|
|
321
|
+
* "hostVer": "√",
|
|
322
|
+
* "uniVer": "√",
|
|
323
|
+
* "unixVer": "x"
|
|
324
|
+
* },
|
|
325
|
+
* "baidu": {
|
|
326
|
+
* "hostVer": "√",
|
|
327
|
+
* "uniVer": "√",
|
|
328
|
+
* "unixVer": "x"
|
|
329
|
+
* },
|
|
330
|
+
* "toutiao": {
|
|
331
|
+
* "hostVer": "x",
|
|
332
|
+
* "uniVer": "x",
|
|
333
|
+
* "unixVer": "x"
|
|
334
|
+
* },
|
|
335
|
+
* "lark": {
|
|
336
|
+
* "hostVer": "x",
|
|
337
|
+
* "uniVer": "x",
|
|
338
|
+
* "unixVer": "x"
|
|
339
|
+
* },
|
|
340
|
+
* "qq": {
|
|
341
|
+
* "hostVer": "x",
|
|
342
|
+
* "uniVer": "x",
|
|
343
|
+
* "unixVer": "x"
|
|
344
|
+
* },
|
|
345
|
+
* "kuaishou": {
|
|
346
|
+
* "hostVer": "√",
|
|
347
|
+
* "uniVer": "√",
|
|
348
|
+
* "unixVer": "x"
|
|
349
|
+
* },
|
|
350
|
+
* "jd": {
|
|
351
|
+
* "hostVer": "x",
|
|
352
|
+
* "uniVer": "x",
|
|
353
|
+
* "unixVer": "x"
|
|
354
|
+
* }
|
|
355
|
+
* }
|
|
356
|
+
* }
|
|
357
|
+
*/
|
|
358
|
+
stopAccelerometer(options ?: StopAccelerometerOptions | null) : void;
|
|
359
|
+
}
|