@dcloudio/uni-app-x 0.7.59 → 0.7.60
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/package.json +1 -1
- package/types/app.d.ts +16 -8
- package/types/native/IUniElement.d.ts +0 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
- package/types/native/UniSwiperChangeEvent.d.ts +1 -0
- package/types/native/WebViewStyles.d.ts +1 -1
- package/types/native/global.d.ts +2 -0
- package/types/page.d.ts +134 -22
- package/types/uni/uni-camera-global.d.ts +4 -0
- package/types/uni/uni-camera.d.ts +10 -9
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +26 -11
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -10
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -7
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +141 -243
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +387 -95
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +52 -52
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +39 -25
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +49 -49
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
- package/types/uni-cloud/interface.d.ts +13 -9
- package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
- package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
- package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
- package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
- package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
- package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
- package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
- package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
- package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
- package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
- package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
- package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
- package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
- package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
- package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
- package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
- package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
- package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
- package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
- package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
- package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
- package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
- package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
- package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
- package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
- package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
- package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
- package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
- package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
- package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
- package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
- package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
- package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
- package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
- package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
- package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
- package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
- package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
- package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
- package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
- package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
- package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
- package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
- package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
- package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
- package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
- package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
- package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
- package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
- package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
- package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
- package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
- package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
- package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
- package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
- package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
- package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
- package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
- package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
- package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
- package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
- package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
- package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
- package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
- package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
- package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
- package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
- package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
|
@@ -2,9 +2,9 @@ export type OnLaunchOptions = {
|
|
|
2
2
|
/**
|
|
3
3
|
* 首次启动时的页面路径。返回值与App.onLaunch的回调参数一致
|
|
4
4
|
*
|
|
5
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
6
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
7
5
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
6
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
7
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
8
8
|
* @uniPlatform {
|
|
9
9
|
* "app": {
|
|
10
10
|
* "android": {
|
|
@@ -75,9 +75,9 @@ export type OnLaunchOptions = {
|
|
|
75
75
|
/**
|
|
76
76
|
* 首次启动时的Scheme。返回值与App.onLaunch的回调参数一致
|
|
77
77
|
*
|
|
78
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
79
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
80
78
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
79
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
80
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
81
81
|
* @uniPlatform {
|
|
82
82
|
* "app": {
|
|
83
83
|
* "android": {
|
|
@@ -148,9 +148,9 @@ export type OnLaunchOptions = {
|
|
|
148
148
|
/**
|
|
149
149
|
* 首次启动时的appLink。返回值与App.onLaunch的回调参数一致
|
|
150
150
|
*
|
|
151
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
152
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
153
151
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
152
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
153
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
154
154
|
* @uniPlatform {
|
|
155
155
|
* "app": {
|
|
156
156
|
* "android": {
|
|
@@ -583,9 +583,9 @@ export interface Uni {
|
|
|
583
583
|
/**
|
|
584
584
|
* 获取首次启动时的参数。返回值与App.onLaunch的回调参数一致
|
|
585
585
|
*
|
|
586
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
587
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
588
586
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
587
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
588
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
589
589
|
* @uniPlatform {
|
|
590
590
|
* "app": {
|
|
591
591
|
* "android": {
|
|
@@ -5,8 +5,8 @@ export interface Uni {
|
|
|
5
5
|
* 获取网络类型
|
|
6
6
|
* @param {GetNetworkTypeOptions} options
|
|
7
7
|
* @return {void}
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
8
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#getnetworktype
|
|
9
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-network-type.html
|
|
10
10
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-network-type.html
|
|
11
11
|
* @uniPlatform {
|
|
12
12
|
* "app": {
|
|
@@ -87,8 +87,9 @@ export interface Uni {
|
|
|
87
87
|
/**
|
|
88
88
|
* 监听网络状态变化
|
|
89
89
|
*
|
|
90
|
-
* @
|
|
91
|
-
* @
|
|
90
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#onnetworkstatuschange
|
|
91
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
|
|
92
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
|
|
92
93
|
* @uniPlatform {
|
|
93
94
|
* "app": {
|
|
94
95
|
* "android": {
|
|
@@ -160,8 +161,9 @@ export interface Uni {
|
|
|
160
161
|
/**
|
|
161
162
|
* 取消监听网络状态变化
|
|
162
163
|
*
|
|
163
|
-
* @
|
|
164
|
-
* @
|
|
164
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#offnetworkstatuschange
|
|
165
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
|
|
166
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
|
|
165
167
|
* @uniPlatform {
|
|
166
168
|
* "app": {
|
|
167
169
|
* "android": {
|
|
@@ -346,8 +346,8 @@ export interface Uni {
|
|
|
346
346
|
/**
|
|
347
347
|
* 返回一个Performance对象实例
|
|
348
348
|
*
|
|
349
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
|
|
350
349
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
|
|
350
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
|
|
351
351
|
* @uniPlatform {
|
|
352
352
|
* "app": {
|
|
353
353
|
* "android": {
|
|
@@ -569,9 +569,9 @@ export interface Uni {
|
|
|
569
569
|
* @deprecated 已废弃,4.25及以后版本请使用getProviderSync()方法代替
|
|
570
570
|
* @param {GetProviderOptions} options
|
|
571
571
|
* @return {void}
|
|
572
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
|
|
573
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/provider.html
|
|
574
572
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/provider.html
|
|
573
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/provider.html
|
|
574
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
|
|
575
575
|
* @uniPlatform {
|
|
576
576
|
* "app": {
|
|
577
577
|
* "android": {
|
|
@@ -600,9 +600,9 @@ export interface Uni {
|
|
|
600
600
|
/**
|
|
601
601
|
* getProvider的同步方法
|
|
602
602
|
* @param {GetProviderSyncOptions} options
|
|
603
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
|
|
604
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
|
|
605
603
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
|
|
604
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
|
|
605
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
|
|
606
606
|
* @uniPlatform {
|
|
607
607
|
* "app": {
|
|
608
608
|
* "android": {
|
|
@@ -5,9 +5,9 @@ export interface Uni {
|
|
|
5
5
|
* 异步获取系统信息
|
|
6
6
|
* @param {GetSystemInfoOptions} options
|
|
7
7
|
* @return {void}
|
|
8
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html
|
|
9
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
|
|
10
8
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
|
|
9
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
|
|
10
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/info.html
|
|
11
11
|
* @uniPlatform {
|
|
12
12
|
* "app": {
|
|
13
13
|
* "android": {
|
|
@@ -94,9 +94,9 @@ export interface Uni {
|
|
|
94
94
|
* 同步获取系统信息
|
|
95
95
|
* @param {void}
|
|
96
96
|
* @return {GetSystemInfoResult}
|
|
97
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
|
|
98
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
|
|
99
97
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
|
|
98
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
|
|
99
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
|
|
100
100
|
* @uniPlatform {
|
|
101
101
|
* "app": {
|
|
102
102
|
* "android": {
|
|
@@ -176,9 +176,9 @@ export interface Uni {
|
|
|
176
176
|
* 同步获取窗口信息
|
|
177
177
|
* @param {void}
|
|
178
178
|
* @return {GetWindowInfoResult} result
|
|
179
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
|
|
180
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
|
|
181
179
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
|
|
180
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
|
|
181
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
|
|
182
182
|
* @uniPlatform {
|
|
183
183
|
* "app": {
|
|
184
184
|
* "android": {
|
|
@@ -1625,7 +1625,7 @@ export type GetSystemInfoResult = {
|
|
|
1625
1625
|
*/
|
|
1626
1626
|
appVersion: string,
|
|
1627
1627
|
/**
|
|
1628
|
-
* `manifest.json`
|
|
1628
|
+
* `manifest.json` 中应用版本号。
|
|
1629
1629
|
*
|
|
1630
1630
|
* @uniPlatform
|
|
1631
1631
|
* {
|
|
@@ -423,9 +423,9 @@ export interface Uni {
|
|
|
423
423
|
* @description
|
|
424
424
|
* 获取系统设置
|
|
425
425
|
* @return {object}
|
|
426
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
|
|
427
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
|
|
428
426
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
|
|
427
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
|
|
428
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
|
|
429
429
|
* @uniPlatform {
|
|
430
430
|
* "app": {
|
|
431
431
|
* "android": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
3
|
* 安装apk
|
|
4
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
|
|
5
4
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
|
|
5
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
|
|
6
6
|
* @uniPlatform {
|
|
7
7
|
* "app": {
|
|
8
8
|
* "android": {
|
|
@@ -19,9 +19,9 @@ export interface Uni {
|
|
|
19
19
|
* 添加拦截器
|
|
20
20
|
* @param name 需要拦截的 API 名称
|
|
21
21
|
* @param interceptor 拦截器
|
|
22
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html
|
|
23
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
|
|
24
22
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
|
|
23
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
|
|
24
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/interceptor.html
|
|
25
25
|
* @uniPlatform {
|
|
26
26
|
* "app": {
|
|
27
27
|
* "android": {
|
|
@@ -93,9 +93,9 @@ export interface Uni {
|
|
|
93
93
|
* 删除拦截器
|
|
94
94
|
* @param name 需要删除拦截器的 API 名称
|
|
95
95
|
* @param interceptor 拦截器
|
|
96
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html#removeinterceptor
|
|
97
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
|
|
98
96
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
|
|
97
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
|
|
98
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/interceptor.html#removeinterceptor
|
|
99
99
|
* @uniPlatform {
|
|
100
100
|
* "app": {
|
|
101
101
|
* "android": {
|