@dcloudio/uni-app-x 0.7.59 → 0.7.61
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 +2 -2
- package/types/app.d.ts +24 -9
- package/types/native/IUniElement.d.ts +1 -3
- package/types/native/UniCustomElement.d.ts +2 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniInputChangeEvent.d.ts +31 -0
- package/types/native/UniPage.d.ts +10 -2
- 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 +14 -0
- package/types/native/index.d.ts +1 -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/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
- 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-chooseLocation/utssdk/interface.d.ts +2 -0
- 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/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +569 -139
- 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 +22 -37
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +12 -16
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +34 -15
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
- 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 +32 -61
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +45 -80
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +13 -11
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +16 -15
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -10
- 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 +88 -4
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +54 -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 +5 -5
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +16 -20
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +209 -451
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -698
- 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 +474 -184
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +755 -405
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +116 -124
- 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-privacy/utssdk/interface.d.ts +25 -26
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +54 -84
- 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 +71 -89
- 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 +300 -6
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
- 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/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +70 -82
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +6 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +49 -72
- package/types/uni/uts-plugin-biz/global.d.ts +11 -0
- package/types/uni/uts-plugin-biz/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +21 -16
- 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/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
- package/types/uni/uts-plugin-extend/global.d.ts +0 -2
- package/types/uni/uts-plugin-extend/index.d.ts +0 -2
- package/types/uni-cloud/interface.d.ts +13 -9
- package/types/vue/LifeCycle.d.ts +723 -1
- 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
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
3
|
* 创建一个 WebSocket 连接。
|
|
4
|
-
* @
|
|
5
|
-
* @
|
|
4
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#connectsocket
|
|
5
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#connectsocket
|
|
6
6
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#connectsocket
|
|
7
7
|
* @uniPlatform {
|
|
8
8
|
* "app": {
|
|
@@ -10,8 +10,7 @@ export interface Uni {
|
|
|
10
10
|
* "osVer": "4.4",
|
|
11
11
|
* "uniVer": "√",
|
|
12
12
|
* "uniUtsPlugin": "3.91",
|
|
13
|
-
* "unixVer": "3.91"
|
|
14
|
-
* "unixUtsPlugin": "3.91"
|
|
13
|
+
* "unixVer": "3.91"
|
|
15
14
|
* },
|
|
16
15
|
* "ios": {
|
|
17
16
|
* "osVer": "12.0",
|
|
@@ -90,8 +89,8 @@ export interface Uni {
|
|
|
90
89
|
* @description
|
|
91
90
|
* 监听WebSocket连接打开事件。
|
|
92
91
|
* @deprecated 已废弃,使用 SocketTask 的 onOpen 替换。
|
|
93
|
-
* @
|
|
94
|
-
* @
|
|
92
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#onsocketopen
|
|
93
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketopen
|
|
95
94
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketopen
|
|
96
95
|
* @uniPlatform {
|
|
97
96
|
* "app": {
|
|
@@ -99,8 +98,7 @@ export interface Uni {
|
|
|
99
98
|
* "osVer": "4.4",
|
|
100
99
|
* "uniVer": "√",
|
|
101
100
|
* "uniUtsPlugin": "3.91",
|
|
102
|
-
* "unixVer": "3.91"
|
|
103
|
-
* "unixUtsPlugin": "3.91"
|
|
101
|
+
* "unixVer": "3.91"
|
|
104
102
|
* },
|
|
105
103
|
* "ios": {
|
|
106
104
|
* "osVer": "12.0",
|
|
@@ -175,8 +173,8 @@ export interface Uni {
|
|
|
175
173
|
/**
|
|
176
174
|
* 监听WebSocket错误。
|
|
177
175
|
* @deprecated 已废弃,使用 SocketTask 的 onError 替换。
|
|
178
|
-
* @
|
|
179
|
-
* @
|
|
176
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#onsocketerror
|
|
177
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketerror
|
|
180
178
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketerror
|
|
181
179
|
* @uniPlatform {
|
|
182
180
|
* "app": {
|
|
@@ -184,8 +182,7 @@ export interface Uni {
|
|
|
184
182
|
* "osVer": "4.4",
|
|
185
183
|
* "uniVer": "√",
|
|
186
184
|
* "uniUtsPlugin": "3.91",
|
|
187
|
-
* "unixVer": "3.91"
|
|
188
|
-
* "unixUtsPlugin": "3.91"
|
|
185
|
+
* "unixVer": "3.91"
|
|
189
186
|
* },
|
|
190
187
|
* "ios": {
|
|
191
188
|
* "osVer": "12.0",
|
|
@@ -260,8 +257,8 @@ export interface Uni {
|
|
|
260
257
|
/**
|
|
261
258
|
* 通过 WebSocket 连接发送数据,需要先 uni.connectSocket,并在 uni.onSocketOpen 回调之后才能发送。
|
|
262
259
|
* @deprecated 已废弃,使用 SocketTask 的 send 替换。
|
|
263
|
-
* @
|
|
264
|
-
* @
|
|
260
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#sendsocketmessage
|
|
261
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#sendsocketmessage
|
|
265
262
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#sendsocketmessage
|
|
266
263
|
* @uniPlatform {
|
|
267
264
|
* "app": {
|
|
@@ -269,8 +266,7 @@ export interface Uni {
|
|
|
269
266
|
* "osVer": "4.4",
|
|
270
267
|
* "uniVer": "√",
|
|
271
268
|
* "uniUtsPlugin": "3.91",
|
|
272
|
-
* "unixVer": "3.91"
|
|
273
|
-
* "unixUtsPlugin": "3.91"
|
|
269
|
+
* "unixVer": "3.91"
|
|
274
270
|
* },
|
|
275
271
|
* "ios": {
|
|
276
272
|
* "osVer": "12.0",
|
|
@@ -345,8 +341,8 @@ export interface Uni {
|
|
|
345
341
|
/**
|
|
346
342
|
* 监听WebSocket接受到服务器的消息事件。
|
|
347
343
|
* @deprecated 已废弃,使用 SocketTask 的 onMessage 替换。
|
|
348
|
-
* @
|
|
349
|
-
* @
|
|
344
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#onsocketmessage
|
|
345
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketmessage
|
|
350
346
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketmessage
|
|
351
347
|
* @uniPlatform {
|
|
352
348
|
* "app": {
|
|
@@ -354,8 +350,7 @@ export interface Uni {
|
|
|
354
350
|
* "osVer": "4.4",
|
|
355
351
|
* "uniVer": "√",
|
|
356
352
|
* "uniUtsPlugin": "3.91",
|
|
357
|
-
* "unixVer": "3.91"
|
|
358
|
-
* "unixUtsPlugin": "3.91"
|
|
353
|
+
* "unixVer": "3.91"
|
|
359
354
|
* },
|
|
360
355
|
* "ios": {
|
|
361
356
|
* "osVer": "12.0",
|
|
@@ -430,8 +425,8 @@ export interface Uni {
|
|
|
430
425
|
/**
|
|
431
426
|
* 关闭 WebSocket 连接。
|
|
432
427
|
* @deprecated 已废弃,使用 SocketTask 的 close 替换。
|
|
433
|
-
* @
|
|
434
|
-
* @
|
|
428
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#closesocket
|
|
429
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#closesocket
|
|
435
430
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#closesocket
|
|
436
431
|
* @uniPlatform {
|
|
437
432
|
* "app": {
|
|
@@ -439,8 +434,7 @@ export interface Uni {
|
|
|
439
434
|
* "osVer": "4.4",
|
|
440
435
|
* "uniVer": "√",
|
|
441
436
|
* "uniUtsPlugin": "3.91",
|
|
442
|
-
* "unixVer": "3.91"
|
|
443
|
-
* "unixUtsPlugin": "3.91"
|
|
437
|
+
* "unixVer": "3.91"
|
|
444
438
|
* },
|
|
445
439
|
* "ios": {
|
|
446
440
|
* "osVer": "12.0",
|
|
@@ -513,8 +507,8 @@ export interface Uni {
|
|
|
513
507
|
/**
|
|
514
508
|
* 监听WebSocket关闭。
|
|
515
509
|
* @deprecated 已废弃,使用 SocketTask 的 onClose 替换。
|
|
516
|
-
* @
|
|
517
|
-
* @
|
|
510
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/websocket.html#onsocketclose
|
|
511
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketclose
|
|
518
512
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onsocketclose
|
|
519
513
|
* @uniPlatform {
|
|
520
514
|
* "app": {
|
|
@@ -522,8 +516,7 @@ export interface Uni {
|
|
|
522
516
|
* "osVer": "4.4",
|
|
523
517
|
* "uniVer": "√",
|
|
524
518
|
* "uniUtsPlugin": "3.91",
|
|
525
|
-
* "unixVer": "3.91"
|
|
526
|
-
* "unixUtsPlugin": "3.91"
|
|
519
|
+
* "unixVer": "3.91"
|
|
527
520
|
* },
|
|
528
521
|
* "ios": {
|
|
529
522
|
* "osVer": "12.0",
|
|
@@ -671,8 +664,7 @@ export type ConnectSocketOptions = {
|
|
|
671
664
|
"osVer": "4.4",
|
|
672
665
|
"uniVer": "√",
|
|
673
666
|
"uniUtsPlugin": "3.91",
|
|
674
|
-
"unixVer": "3.91"
|
|
675
|
-
"unixUtsPlugin": "3.91"
|
|
667
|
+
"unixVer": "3.91"
|
|
676
668
|
},
|
|
677
669
|
"ios": {
|
|
678
670
|
"osVer": "12.0",
|
|
@@ -743,8 +735,7 @@ export type ConnectSocketOptions = {
|
|
|
743
735
|
"osVer": "4.4",
|
|
744
736
|
"uniVer": "√",
|
|
745
737
|
"uniUtsPlugin": "3.91",
|
|
746
|
-
"unixVer": "3.91"
|
|
747
|
-
"unixUtsPlugin": "3.91"
|
|
738
|
+
"unixVer": "3.91"
|
|
748
739
|
},
|
|
749
740
|
"ios": {
|
|
750
741
|
"osVer": "12.0",
|
|
@@ -810,8 +801,7 @@ export type ConnectSocketOptions = {
|
|
|
810
801
|
"osVer": "4.4",
|
|
811
802
|
"uniVer": "√",
|
|
812
803
|
"uniUtsPlugin": "3.91",
|
|
813
|
-
"unixVer": "3.91"
|
|
814
|
-
"unixUtsPlugin": "3.91"
|
|
804
|
+
"unixVer": "3.91"
|
|
815
805
|
},
|
|
816
806
|
"ios": {
|
|
817
807
|
"osVer": "12.0",
|
|
@@ -1352,8 +1342,7 @@ export type SendSocketMessageOptions = {
|
|
|
1352
1342
|
"osVer": "4.4",
|
|
1353
1343
|
"uniVer": "√",
|
|
1354
1344
|
"uniUtsPlugin": "3.91",
|
|
1355
|
-
"unixVer": "3.91"
|
|
1356
|
-
"unixUtsPlugin": "3.91"
|
|
1345
|
+
"unixVer": "3.91"
|
|
1357
1346
|
},
|
|
1358
1347
|
"ios": {
|
|
1359
1348
|
"osVer": "12.0",
|
|
@@ -1576,8 +1565,7 @@ export type CloseSocketOptions = {
|
|
|
1576
1565
|
"osVer": "4.4",
|
|
1577
1566
|
"uniVer": "√",
|
|
1578
1567
|
"uniUtsPlugin": "3.91",
|
|
1579
|
-
"unixVer": "3.91"
|
|
1580
|
-
"unixUtsPlugin": "3.91"
|
|
1568
|
+
"unixVer": "3.91"
|
|
1581
1569
|
},
|
|
1582
1570
|
"ios": {
|
|
1583
1571
|
"osVer": "12.0",
|
|
@@ -1648,8 +1636,7 @@ export type CloseSocketOptions = {
|
|
|
1648
1636
|
"osVer": "4.4",
|
|
1649
1637
|
"uniVer": "√",
|
|
1650
1638
|
"uniUtsPlugin": "3.91",
|
|
1651
|
-
"unixVer": "3.91"
|
|
1652
|
-
"unixUtsPlugin": "3.91"
|
|
1639
|
+
"unixVer": "3.91"
|
|
1653
1640
|
},
|
|
1654
1641
|
"ios": {
|
|
1655
1642
|
"osVer": "12.0",
|
|
@@ -1871,8 +1858,7 @@ export type OnSocketOpenCallbackResult = {
|
|
|
1871
1858
|
"osVer": "4.4",
|
|
1872
1859
|
"uniVer": "√",
|
|
1873
1860
|
"uniUtsPlugin": "3.91",
|
|
1874
|
-
"unixVer": "3.91"
|
|
1875
|
-
"unixUtsPlugin": "3.91"
|
|
1861
|
+
"unixVer": "3.91"
|
|
1876
1862
|
},
|
|
1877
1863
|
"ios": {
|
|
1878
1864
|
"osVer": "12.0",
|
|
@@ -1945,8 +1931,7 @@ export type OnSocketMessageCallbackResult = {
|
|
|
1945
1931
|
"osVer": "4.4",
|
|
1946
1932
|
"uniVer": "√",
|
|
1947
1933
|
"uniUtsPlugin": "3.91",
|
|
1948
|
-
"unixVer": "3.91"
|
|
1949
|
-
"unixUtsPlugin": "3.91"
|
|
1934
|
+
"unixVer": "3.91"
|
|
1950
1935
|
},
|
|
1951
1936
|
"ios": {
|
|
1952
1937
|
"osVer": "12.0",
|
|
@@ -2011,8 +1996,8 @@ export type OnSocketMessageCallbackResult = {
|
|
|
2011
1996
|
export interface SocketTask {
|
|
2012
1997
|
/**
|
|
2013
1998
|
* 通过 WebSocket 连接发送数据
|
|
2014
|
-
* @
|
|
2015
|
-
* @
|
|
1999
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-send
|
|
2000
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#send
|
|
2016
2001
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#send
|
|
2017
2002
|
* @uniPlatform
|
|
2018
2003
|
{
|
|
@@ -2021,8 +2006,7 @@ export interface SocketTask {
|
|
|
2021
2006
|
"osVer": "4.4",
|
|
2022
2007
|
"uniVer": "√",
|
|
2023
2008
|
"uniUtsPlugin": "3.91",
|
|
2024
|
-
"unixVer": "3.91"
|
|
2025
|
-
"unixUtsPlugin": "3.91"
|
|
2009
|
+
"unixVer": "3.91"
|
|
2026
2010
|
},
|
|
2027
2011
|
"ios": {
|
|
2028
2012
|
"osVer": "12.0",
|
|
@@ -2093,8 +2077,8 @@ export interface SocketTask {
|
|
|
2093
2077
|
|
|
2094
2078
|
/**
|
|
2095
2079
|
* 关闭 WebSocket 连接
|
|
2096
|
-
* @
|
|
2097
|
-
* @
|
|
2080
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-close
|
|
2081
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#close
|
|
2098
2082
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#close
|
|
2099
2083
|
* @uniPlatform
|
|
2100
2084
|
{
|
|
@@ -2103,8 +2087,7 @@ export interface SocketTask {
|
|
|
2103
2087
|
"osVer": "4.4",
|
|
2104
2088
|
"uniVer": "√",
|
|
2105
2089
|
"uniUtsPlugin": "3.91",
|
|
2106
|
-
"unixVer": "3.91"
|
|
2107
|
-
"unixUtsPlugin": "3.91"
|
|
2090
|
+
"unixVer": "3.91"
|
|
2108
2091
|
},
|
|
2109
2092
|
"ios": {
|
|
2110
2093
|
"osVer": "12.0",
|
|
@@ -2175,8 +2158,8 @@ export interface SocketTask {
|
|
|
2175
2158
|
|
|
2176
2159
|
/**
|
|
2177
2160
|
* 监听 WebSocket 连接打开事件
|
|
2178
|
-
* @
|
|
2179
|
-
* @
|
|
2161
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-onopen
|
|
2162
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onopen
|
|
2180
2163
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onopen
|
|
2181
2164
|
* @uniPlatform
|
|
2182
2165
|
{
|
|
@@ -2185,8 +2168,7 @@ export interface SocketTask {
|
|
|
2185
2168
|
"osVer": "4.4",
|
|
2186
2169
|
"uniVer": "√",
|
|
2187
2170
|
"uniUtsPlugin": "3.91",
|
|
2188
|
-
"unixVer": "3.91"
|
|
2189
|
-
"unixUtsPlugin": "3.91"
|
|
2171
|
+
"unixVer": "3.91"
|
|
2190
2172
|
},
|
|
2191
2173
|
"ios": {
|
|
2192
2174
|
"osVer": "12.0",
|
|
@@ -2257,8 +2239,8 @@ export interface SocketTask {
|
|
|
2257
2239
|
|
|
2258
2240
|
/**
|
|
2259
2241
|
* 监听 WebSocket 连接关闭事件
|
|
2260
|
-
* @
|
|
2261
|
-
* @
|
|
2242
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-onclose
|
|
2243
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onclose
|
|
2262
2244
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onclose
|
|
2263
2245
|
* @uniPlatform
|
|
2264
2246
|
{
|
|
@@ -2267,8 +2249,7 @@ export interface SocketTask {
|
|
|
2267
2249
|
"osVer": "4.4",
|
|
2268
2250
|
"uniVer": "√",
|
|
2269
2251
|
"uniUtsPlugin": "3.91",
|
|
2270
|
-
"unixVer": "3.91"
|
|
2271
|
-
"unixUtsPlugin": "3.91"
|
|
2252
|
+
"unixVer": "3.91"
|
|
2272
2253
|
},
|
|
2273
2254
|
"ios": {
|
|
2274
2255
|
"osVer": "12.0",
|
|
@@ -2342,8 +2323,8 @@ export interface SocketTask {
|
|
|
2342
2323
|
* onError()
|
|
2343
2324
|
* @description
|
|
2344
2325
|
* 监听 WebSocket 错误
|
|
2345
|
-
* @
|
|
2346
|
-
* @
|
|
2326
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-onerror
|
|
2327
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onerror
|
|
2347
2328
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onerror
|
|
2348
2329
|
* @uniPlatform
|
|
2349
2330
|
{
|
|
@@ -2352,8 +2333,7 @@ export interface SocketTask {
|
|
|
2352
2333
|
"osVer": "4.4",
|
|
2353
2334
|
"uniVer": "√",
|
|
2354
2335
|
"uniUtsPlugin": "3.91",
|
|
2355
|
-
"unixVer": "3.91"
|
|
2356
|
-
"unixUtsPlugin": "3.91"
|
|
2336
|
+
"unixVer": "3.91"
|
|
2357
2337
|
},
|
|
2358
2338
|
"ios": {
|
|
2359
2339
|
"osVer": "12.0",
|
|
@@ -2425,8 +2405,8 @@ export interface SocketTask {
|
|
|
2425
2405
|
|
|
2426
2406
|
/**
|
|
2427
2407
|
* 监听 WebSocket 接受到服务器的消息事件
|
|
2428
|
-
* @
|
|
2429
|
-
* @
|
|
2408
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/request/socket-task.html#sockettask-onmessage
|
|
2409
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onmessage
|
|
2430
2410
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/websocket-global.html#onmessage
|
|
2431
2411
|
* @uniPlatform
|
|
2432
2412
|
{
|
|
@@ -2435,8 +2415,7 @@ export interface SocketTask {
|
|
|
2435
2415
|
"osVer": "4.4",
|
|
2436
2416
|
"uniVer": "√",
|
|
2437
2417
|
"uniUtsPlugin": "3.91",
|
|
2438
|
-
"unixVer": "3.91"
|
|
2439
|
-
"unixUtsPlugin": "3.91"
|
|
2418
|
+
"unixVer": "3.91"
|
|
2440
2419
|
},
|
|
2441
2420
|
"ios": {
|
|
2442
2421
|
"osVer": "12.0",
|
|
@@ -2579,8 +2558,7 @@ export type OnSocketCloseCallbackResult = {
|
|
|
2579
2558
|
"osVer": "4.4",
|
|
2580
2559
|
"uniVer": "√",
|
|
2581
2560
|
"uniUtsPlugin": "3.91",
|
|
2582
|
-
"unixVer": "3.91"
|
|
2583
|
-
"unixUtsPlugin": "3.91"
|
|
2561
|
+
"unixVer": "3.91"
|
|
2584
2562
|
},
|
|
2585
2563
|
"ios": {
|
|
2586
2564
|
"osVer": "12.0",
|
|
@@ -2650,8 +2628,7 @@ export type OnSocketCloseCallbackResult = {
|
|
|
2650
2628
|
"osVer": "4.4",
|
|
2651
2629
|
"uniVer": "√",
|
|
2652
2630
|
"uniUtsPlugin": "3.91",
|
|
2653
|
-
"unixVer": "3.91"
|
|
2654
|
-
"unixUtsPlugin": "3.91"
|
|
2631
|
+
"unixVer": "3.91"
|
|
2655
2632
|
},
|
|
2656
2633
|
"ios": {
|
|
2657
2634
|
"osVer": "12.0",
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
/// <reference path='./lib/uni-ad/utssdk/global.d.ts' />
|
|
2
2
|
/// <reference path='./lib/uni-crash/utssdk/global.d.ts' />
|
|
3
3
|
/// <reference path='./lib/uni-facialVerify/utssdk/global.d.ts' />
|
|
4
|
+
/// <reference path='./lib/uni-live-player/utssdk/global.d.ts' />
|
|
5
|
+
/// <reference path='./lib/uni-live-pusher/utssdk/global.d.ts' />
|
|
4
6
|
/// <reference path='./lib/uni-map-tencent/utssdk/global.d.ts' />
|
|
7
|
+
/// <reference path='./lib/uni-push-fcm/utssdk/global.d.ts' />
|
|
8
|
+
/// <reference path='./lib/uni-push-gp/utssdk/global.d.ts' />
|
|
9
|
+
/// <reference path='./lib/uni-push-hms/utssdk/global.d.ts' />
|
|
10
|
+
/// <reference path='./lib/uni-push-honor/utssdk/global.d.ts' />
|
|
11
|
+
/// <reference path='./lib/uni-push-mainland/utssdk/global.d.ts' />
|
|
12
|
+
/// <reference path='./lib/uni-push-meizu/utssdk/global.d.ts' />
|
|
13
|
+
/// <reference path='./lib/uni-push-oppo/utssdk/global.d.ts' />
|
|
14
|
+
/// <reference path='./lib/uni-push-vivo/utssdk/global.d.ts' />
|
|
15
|
+
/// <reference path='./lib/uni-push-xiaomi/utssdk/global.d.ts' />
|
|
5
16
|
/// <reference path='./lib/uni-push/utssdk/global.d.ts' />
|
|
6
17
|
/// <reference path='./lib/uni-secure-network/utssdk/global.d.ts' />
|
|
7
18
|
/// <reference path='./lib/uni-verify/utssdk/global.d.ts' />
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
export * from './lib/uni-ad/utssdk'
|
|
2
2
|
export * from './lib/uni-crash/utssdk'
|
|
3
3
|
export * from './lib/uni-facialVerify/utssdk'
|
|
4
|
+
export * from './lib/uni-live-player/utssdk'
|
|
5
|
+
export * from './lib/uni-live-pusher/utssdk'
|
|
4
6
|
export * from './lib/uni-map-tencent/utssdk'
|
|
7
|
+
export * from './lib/uni-push-fcm/utssdk'
|
|
8
|
+
export * from './lib/uni-push-gp/utssdk'
|
|
9
|
+
export * from './lib/uni-push-hms/utssdk'
|
|
10
|
+
export * from './lib/uni-push-honor/utssdk'
|
|
11
|
+
export * from './lib/uni-push-mainland/utssdk'
|
|
12
|
+
export * from './lib/uni-push-meizu/utssdk'
|
|
13
|
+
export * from './lib/uni-push-oppo/utssdk'
|
|
14
|
+
export * from './lib/uni-push-vivo/utssdk'
|
|
15
|
+
export * from './lib/uni-push-xiaomi/utssdk'
|
|
5
16
|
export * from './lib/uni-push/utssdk'
|
|
6
17
|
export * from './lib/uni-secure-network/utssdk'
|
|
7
18
|
export * from './lib/uni-verify/utssdk'
|
|
@@ -255,6 +255,57 @@ export type CreateRewardedVideoAdOptions = {
|
|
|
255
255
|
* }
|
|
256
256
|
*/
|
|
257
257
|
adUnitId?: string | null;
|
|
258
|
+
/**
|
|
259
|
+
* 需要基础库: `3.7.1`
|
|
260
|
+
*
|
|
261
|
+
* 是否禁用分享页,默认为false
|
|
262
|
+
*
|
|
263
|
+
* @uniPlatform {
|
|
264
|
+
* "mp": {
|
|
265
|
+
* "weixin": {
|
|
266
|
+
* "hostVer": "3.7.1",
|
|
267
|
+
* "uniVer": "√",
|
|
268
|
+
* "unixVer": "4.41"
|
|
269
|
+
* },
|
|
270
|
+
* "alipay": {
|
|
271
|
+
* "hostVer": "-",
|
|
272
|
+
* "uniVer": "-",
|
|
273
|
+
* "unixVer": "-"
|
|
274
|
+
* },
|
|
275
|
+
* "baidu": {
|
|
276
|
+
* "hostVer": "-",
|
|
277
|
+
* "uniVer": "-",
|
|
278
|
+
* "unixVer": "-"
|
|
279
|
+
* },
|
|
280
|
+
* "toutiao": {
|
|
281
|
+
* "hostVer": "-",
|
|
282
|
+
* "uniVer": "-",
|
|
283
|
+
* "unixVer": "-"
|
|
284
|
+
* },
|
|
285
|
+
* "lark": {
|
|
286
|
+
* "hostVer": "-",
|
|
287
|
+
* "uniVer": "-",
|
|
288
|
+
* "unixVer": "-"
|
|
289
|
+
* },
|
|
290
|
+
* "qq": {
|
|
291
|
+
* "hostVer": "-",
|
|
292
|
+
* "uniVer": "-",
|
|
293
|
+
* "unixVer": "-"
|
|
294
|
+
* },
|
|
295
|
+
* "kuaishou": {
|
|
296
|
+
* "hostVer": "-",
|
|
297
|
+
* "uniVer": "-",
|
|
298
|
+
* "unixVer": "-"
|
|
299
|
+
* },
|
|
300
|
+
* "jd": {
|
|
301
|
+
* "hostVer": "-",
|
|
302
|
+
* "uniVer": "-",
|
|
303
|
+
* "unixVer": "-"
|
|
304
|
+
* }
|
|
305
|
+
* }
|
|
306
|
+
* }
|
|
307
|
+
*/
|
|
308
|
+
disableFallbackSharePage?: boolean | null;
|
|
258
309
|
/**
|
|
259
310
|
* 需要基础库: `2.8.0`
|
|
260
311
|
*
|
|
@@ -332,7 +383,7 @@ export interface InterstitialAd {
|
|
|
332
383
|
* "uniVer": "x",
|
|
333
384
|
* "unixVer": "x"
|
|
334
385
|
* }
|
|
335
|
-
* }
|
|
386
|
+
* }
|
|
336
387
|
*/
|
|
337
388
|
show() : Promise<any>
|
|
338
389
|
/**
|
|
@@ -555,7 +606,7 @@ export interface IVideoAd {
|
|
|
555
606
|
* "uniVer": "x",
|
|
556
607
|
* "unixVer": "x"
|
|
557
608
|
* }
|
|
558
|
-
* }
|
|
609
|
+
* }
|
|
559
610
|
*/
|
|
560
611
|
show() : Promise<any>
|
|
561
612
|
/**
|
|
@@ -868,6 +919,9 @@ export interface Uni {
|
|
|
868
919
|
/**
|
|
869
920
|
* 创建激励视频广告对象
|
|
870
921
|
* @description 创建激励视频广告对象
|
|
922
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/create-rewarded-video-ad.html#createrewardedvideoad
|
|
923
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/create-rewarded-video-ad.html#createrewardedvideoad
|
|
924
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/uni-ad/ad-rewarded-video.html#api%E8%AF%AD%E6%B3%95
|
|
871
925
|
* @uniPlatform {
|
|
872
926
|
* "app": {
|
|
873
927
|
* "android": {
|
|
@@ -939,6 +993,9 @@ export interface Uni {
|
|
|
939
993
|
/**
|
|
940
994
|
* 创建插屏广告对象
|
|
941
995
|
* @description 创建插屏广告对象
|
|
996
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/create-interstitial-ad.html
|
|
997
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/create-interstitial-ad.html
|
|
998
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/uni-ad/ad-interstitial.html#api%E8%AF%AD%E6%B3%95
|
|
942
999
|
* @uniPlatform {
|
|
943
1000
|
* "app": {
|
|
944
1001
|
* "android": {
|
|
@@ -1006,4 +1063,4 @@ export interface Uni {
|
|
|
1006
1063
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ad/InterstitialAd.html
|
|
1007
1064
|
*/
|
|
1008
1065
|
createInterstitialAd(option : CreateInterstitialAdOptions) : InterstitialAd;
|
|
1009
|
-
}
|
|
1066
|
+
}
|
|
@@ -153,6 +153,9 @@ export type StartFacialRecognitionVerify = (faceStyle : StartFacialRecognitionVe
|
|
|
153
153
|
export interface Uni {
|
|
154
154
|
/**
|
|
155
155
|
* 获取阿里云实人认证meta info
|
|
156
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/facial-recognition-meta-info.html
|
|
157
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/facial-recognition-meta-info.html
|
|
158
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/facialRecognitionVerify.html#getfacialrecognitionmetainfo
|
|
156
159
|
* @description 获取阿里云实人认证meta info
|
|
157
160
|
* @uniPlatform {
|
|
158
161
|
* "app": {
|
|
@@ -182,6 +185,9 @@ export interface Uni {
|
|
|
182
185
|
getFacialRecognitionMetaInfo() : string,
|
|
183
186
|
/**
|
|
184
187
|
* 启动人脸识别
|
|
188
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/facial-recognition-meta-info.html#startfacialrecognitionverify
|
|
189
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/facial-recognition-meta-info.html#startfacialrecognitionverify
|
|
190
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/facialRecognitionVerify.html#startfacialrecognitionverify
|
|
185
191
|
* @description 启动人脸识别
|
|
186
192
|
* @uniPlatform {
|
|
187
193
|
* "app": {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
StreamingContextListener as StreamingContextListenerOrigin,
|
|
4
|
+
StreamingBufferingListener as StreamingBufferingListenerOrigin,
|
|
5
|
+
StreamingMuteChangedListener as StreamingMuteChangedListenerOrigin,
|
|
6
|
+
StreamingProgressListener as StreamingProgressListenerOrigin,
|
|
7
|
+
LivePlayerStreamingStateListener as LivePlayerStreamingStateListenerOrigin,
|
|
8
|
+
LivePlayerStreamingErrorListener as LivePlayerStreamingErrorListenerOrigin,
|
|
9
|
+
StreamingFullScreenChangedListener as StreamingFullScreenChangedListenerOrigin,
|
|
10
|
+
UniLivePlayerStatechangeEvent as UniLivePlayerStatechangeEventOrigin,
|
|
11
|
+
UniLivePlayerStatechangeEventDetail as UniLivePlayerStatechangeEventDetailOrigin,
|
|
12
|
+
UniLivePlayerFullscreenchangeEvent as UniLivePlayerFullscreenchangeEventOrigin,
|
|
13
|
+
UniLivePlayerFullscreenchangeEventDetail as UniLivePlayerFullscreenchangeEventDetailOrigin,
|
|
14
|
+
UniLivePlayerErrorEvent as UniLivePlayerErrorEventOrigin,
|
|
15
|
+
UniLivePlayerError as UniLivePlayerErrorOrigin,
|
|
16
|
+
LivePlayerSuccess as LivePlayerSuccessOrigin,
|
|
17
|
+
LivePlayerSuccessCallback as LivePlayerSuccessCallbackOrigin,
|
|
18
|
+
LivePlayerFail as LivePlayerFailOrigin,
|
|
19
|
+
LivePlayerFailCallback as LivePlayerFailCallbackOrigin,
|
|
20
|
+
LivePlayerComplete as LivePlayerCompleteOrigin,
|
|
21
|
+
LivePlayerCompleteCallback as LivePlayerCompleteCallbackOrigin,
|
|
22
|
+
LivePlayerOptions as LivePlayerOptionsOrigin,
|
|
23
|
+
LivePlayerContext as LivePlayerContextOrigin,
|
|
24
|
+
CreateLivePlayerContext as CreateLivePlayerContextOrigin,
|
|
25
|
+
Uni as UniOrigin
|
|
26
|
+
} from './interface'
|
|
27
|
+
|
|
28
|
+
declare global {
|
|
29
|
+
type StreamingContextListener = StreamingContextListenerOrigin
|
|
30
|
+
type StreamingBufferingListener = StreamingBufferingListenerOrigin
|
|
31
|
+
type StreamingMuteChangedListener = StreamingMuteChangedListenerOrigin
|
|
32
|
+
type StreamingProgressListener = StreamingProgressListenerOrigin
|
|
33
|
+
type LivePlayerStreamingStateListener = LivePlayerStreamingStateListenerOrigin
|
|
34
|
+
type LivePlayerStreamingErrorListener = LivePlayerStreamingErrorListenerOrigin
|
|
35
|
+
type StreamingFullScreenChangedListener = StreamingFullScreenChangedListenerOrigin
|
|
36
|
+
type UniLivePlayerStatechangeEvent = UniLivePlayerStatechangeEventOrigin
|
|
37
|
+
type UniLivePlayerStatechangeEventDetail = UniLivePlayerStatechangeEventDetailOrigin
|
|
38
|
+
type UniLivePlayerFullscreenchangeEvent = UniLivePlayerFullscreenchangeEventOrigin
|
|
39
|
+
type UniLivePlayerFullscreenchangeEventDetail = UniLivePlayerFullscreenchangeEventDetailOrigin
|
|
40
|
+
type UniLivePlayerErrorEvent = UniLivePlayerErrorEventOrigin
|
|
41
|
+
type UniLivePlayerError = UniLivePlayerErrorOrigin
|
|
42
|
+
type LivePlayerSuccess = LivePlayerSuccessOrigin
|
|
43
|
+
type LivePlayerSuccessCallback = LivePlayerSuccessCallbackOrigin
|
|
44
|
+
type LivePlayerFail = LivePlayerFailOrigin
|
|
45
|
+
type LivePlayerFailCallback = LivePlayerFailCallbackOrigin
|
|
46
|
+
type LivePlayerComplete = LivePlayerCompleteOrigin
|
|
47
|
+
type LivePlayerCompleteCallback = LivePlayerCompleteCallbackOrigin
|
|
48
|
+
type LivePlayerOptions = LivePlayerOptionsOrigin
|
|
49
|
+
type LivePlayerContext = LivePlayerContextOrigin
|
|
50
|
+
type CreateLivePlayerContext = CreateLivePlayerContextOrigin
|
|
51
|
+
interface Uni extends UniOrigin { }
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
StreamingContextListener,
|
|
4
|
+
StreamingBufferingListener,
|
|
5
|
+
StreamingMuteChangedListener,
|
|
6
|
+
StreamingProgressListener,
|
|
7
|
+
LivePlayerStreamingStateListener,
|
|
8
|
+
LivePlayerStreamingErrorListener,
|
|
9
|
+
StreamingFullScreenChangedListener,
|
|
10
|
+
UniLivePlayerStatechangeEvent,
|
|
11
|
+
UniLivePlayerStatechangeEventDetail,
|
|
12
|
+
UniLivePlayerFullscreenchangeEvent,
|
|
13
|
+
UniLivePlayerFullscreenchangeEventDetail,
|
|
14
|
+
UniLivePlayerErrorEvent,
|
|
15
|
+
UniLivePlayerError,
|
|
16
|
+
LivePlayerSuccess,
|
|
17
|
+
LivePlayerSuccessCallback,
|
|
18
|
+
LivePlayerFail,
|
|
19
|
+
LivePlayerFailCallback,
|
|
20
|
+
LivePlayerComplete,
|
|
21
|
+
LivePlayerCompleteCallback,
|
|
22
|
+
LivePlayerOptions,
|
|
23
|
+
LivePlayerContext,
|
|
24
|
+
CreateLivePlayerContext,
|
|
25
|
+
} from './interface'
|