@dcloudio/uni-app-x 0.7.13 → 0.7.15
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/options.d.ts +1 -1
- package/package.json +1 -1
- package/types/app.d.ts +5 -6
- package/types/index.d.ts +1 -1
- package/types/native/CanvasRenderingContext2D.d.ts +378 -0
- package/types/native/IUniElement.d.ts +40 -12
- package/types/native/Path2D.d.ts +74 -0
- package/types/native/UniApp.d.ts +17 -1
- package/types/native/UniCanvasElement.d.ts +9 -0
- package/types/native/UniEvent.d.ts +30 -0
- package/types/native/UniNativePage.d.ts +31 -1
- package/types/native/UniPageManager.d.ts +4 -1
- package/types/native/UniProvider.d.ts +14 -0
- package/types/native/UniResizeObserver.d.ts +10 -10
- package/types/native/UniScrollEvent.d.ts +1 -1
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +24 -2
- package/types/native/UniSwiperChangeEvent.d.ts +24 -2
- package/types/native/UniSwiperTransitionEvent.d.ts +2 -2
- package/types/native/UniWebViewErrorEvent.d.ts +3 -3
- package/types/native/UniWebViewLoadEvent.d.ts +2 -2
- package/types/native/UniWebViewLoadingEvent.d.ts +2 -2
- package/types/native/UniWebViewMessageEvent.d.ts +1 -1
- package/types/native/global.d.ts +40 -9
- package/types/native/index.d.ts +4 -0
- package/types/page.d.ts +85 -0
- package/types/shim-uts-basic.d.ts +4495 -0
- package/types/uni/env/index.d.ts +21 -0
- package/types/uni/global.d.ts +1 -0
- package/types/uni/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/global.d.ts +14 -2
- package/types/uni/uts-plugin-api/index.d.ts +14 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +19 -8
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +30 -2
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +12 -3
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +64 -8
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +111 -27
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +465 -45
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +651 -115
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +7 -1
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +173 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -5
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +11 -5
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +176 -72
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1728 -59
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -16
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +100 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +459 -67
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +34 -5
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +909 -101
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +26 -16
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +251 -42
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +114 -45
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +167 -7
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +516 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +320 -83
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +48 -39
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -394
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +19 -15
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
- package/types/uni/uts-plugin-extend/README.md +3 -0
- package/types/uni/uts-plugin-extend/global.d.ts +13 -0
- package/types/uni/uts-plugin-extend/index.d.ts +13 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
- package/types/uni-cloud/index.d.ts +4 -0
- package/types/uni-cloud/interface.d.ts +163 -20
- package/types/vue/CheckboxGroupChangeEvent.d.ts +10 -13
- package/types/vue/LifeCycle.d.ts +32 -32
- package/types/vue/PickerViewChangeEvent.d.ts +10 -13
- package/types/vue/ProgressActiveendEvent.d.ts +9 -11
- package/types/vue/RadioGroupChangeEvent.d.ts +10 -13
- package/types/vue/SliderChangeEvent.d.ts +9 -10
- package/types/vue/SwitchChangeEvent.d.ts +11 -13
- package/types/vue/UniCloudDBElement.d.ts +72 -75
- package/types/vue/UniFormElement.d.ts +17 -19
- package/types/vue/UniNavigatorElement.d.ts +1 -2
- package/types/vue/global.d.ts +190 -0
- package/types/vue/index.d.ts +10 -11
- package/types/vue-global/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -643
|
@@ -3,6 +3,8 @@ export {
|
|
|
3
3
|
UrlCallbackOptions,
|
|
4
4
|
CreateRewardedVideoAdOptions,
|
|
5
5
|
RewardedVideoAd,
|
|
6
|
+
IVideoAd,
|
|
7
|
+
IRewardedVideoAd,
|
|
6
8
|
VideoAdClose,
|
|
7
9
|
RewardedVideoAdClose,
|
|
8
10
|
UniAdErrorCode,
|
|
@@ -11,7 +13,5 @@ export {
|
|
|
11
13
|
AdCloseCallBackEvent,
|
|
12
14
|
AdErrorCallBackEvent,
|
|
13
15
|
AdVerifyCallBackEvent,
|
|
14
|
-
IVideoAd,
|
|
15
|
-
IRewardedVideoAd,
|
|
16
16
|
CreateRewardedVideoAd,
|
|
17
17
|
} from './interface'
|
|
@@ -20,45 +20,10 @@ export type CreateRewardedVideoAdOptions = {
|
|
|
20
20
|
urlCallback ?: UrlCallbackOptions | null
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export interface RewardedVideoAd extends IVideoAd,
|
|
23
|
+
export interface RewardedVideoAd extends IVideoAd,IRewardedVideoAd{
|
|
24
24
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export type VideoAdClose = {
|
|
28
|
-
/**
|
|
29
|
-
* true标识广告播放完毕或者达到发放奖励的条件
|
|
30
|
-
*/
|
|
31
|
-
isEnded : boolean
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type RewardedVideoAdClose = VideoAdClose
|
|
35
|
-
|
|
36
|
-
export type UniAdErrorCode = number;
|
|
37
|
-
|
|
38
|
-
export interface IUniAdError extends IUniError {
|
|
39
|
-
/**
|
|
40
|
-
* 错误码
|
|
41
|
-
* - -5001 广告位标识adpid为空,请传入有效的adpid
|
|
42
|
-
* - -5002 无效的广告位标识adpid,请使用正确的adpid
|
|
43
|
-
* - -5003 广告位未开通广告,请在广告平台申请并确保已审核通过
|
|
44
|
-
* - -5004 无广告模块,打包时请配置要使用的广告模块
|
|
45
|
-
* - -5005 广告加载失败,请稍后重试
|
|
46
|
-
* - -5006 广告已经展示过了,请重新加载
|
|
47
|
-
* - -5007 广告不可用或已过期,请重新请求
|
|
48
|
-
* - -5008 广告不可用或已过期,请重新请求
|
|
49
|
-
* - -5009 广告类型不符,请检查后再试
|
|
50
|
-
* - -5011 打包或开通的渠道,不支持此类型广告
|
|
51
|
-
* - -5013 广告播放失败,请重新加载
|
|
52
|
-
*/
|
|
53
|
-
errCode : UniAdErrorCode
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export type AdCallBackEvent = (result : any) => void
|
|
57
|
-
|
|
58
|
-
export type AdCloseCallBackEvent = (result : RewardedVideoAdClose) => void
|
|
59
|
-
export type AdErrorCallBackEvent = (result : IUniAdError) => void
|
|
60
|
-
export type AdVerifyCallBackEvent = (result : UTSJSONObject) => void
|
|
61
|
-
|
|
62
27
|
export interface IVideoAd {
|
|
63
28
|
/**
|
|
64
29
|
* 广告加载成功之后,调用此方法展示广告
|
|
@@ -109,6 +74,41 @@ export interface IRewardedVideoAd {
|
|
|
109
74
|
onVerify(callback : AdVerifyCallBackEvent) : void;
|
|
110
75
|
}
|
|
111
76
|
|
|
77
|
+
export type VideoAdClose = {
|
|
78
|
+
/**
|
|
79
|
+
* true标识广告播放完毕或者达到发放奖励的条件
|
|
80
|
+
*/
|
|
81
|
+
isEnded : boolean
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type RewardedVideoAdClose = VideoAdClose
|
|
85
|
+
|
|
86
|
+
export type UniAdErrorCode = number;
|
|
87
|
+
|
|
88
|
+
export interface IUniAdError extends IUniError {
|
|
89
|
+
/**
|
|
90
|
+
* 错误码
|
|
91
|
+
* - -5001 广告位标识adpid为空,请传入有效的adpid
|
|
92
|
+
* - -5002 无效的广告位标识adpid,请使用正确的adpid
|
|
93
|
+
* - -5003 广告位未开通广告,请在广告平台申请并确保已审核通过
|
|
94
|
+
* - -5004 无广告模块,打包时请配置要使用的广告模块
|
|
95
|
+
* - -5005 广告加载失败,请稍后重试
|
|
96
|
+
* - -5006 广告已经展示过了,请重新加载
|
|
97
|
+
* - -5007 广告不可用或已过期,请重新请求
|
|
98
|
+
* - -5008 广告不可用或已过期,请重新请求
|
|
99
|
+
* - -5009 广告类型不符,请检查后再试
|
|
100
|
+
* - -5011 打包或开通的渠道,不支持此类型广告
|
|
101
|
+
* - -5013 广告播放失败,请重新加载
|
|
102
|
+
*/
|
|
103
|
+
errCode : UniAdErrorCode
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type AdCallBackEvent = (result : any) => void
|
|
107
|
+
|
|
108
|
+
export type AdCloseCallBackEvent = (result : RewardedVideoAdClose) => void
|
|
109
|
+
export type AdErrorCallBackEvent = (result : IUniAdError) => void
|
|
110
|
+
export type AdVerifyCallBackEvent = (result : UTSJSONObject) => void
|
|
111
|
+
|
|
112
112
|
export type CreateRewardedVideoAd = (option : CreateRewardedVideoAdOptions) => RewardedVideoAd
|
|
113
113
|
|
|
114
114
|
export interface Uni {
|
|
@@ -116,13 +116,22 @@ export interface Uni {
|
|
|
116
116
|
* 创建激励视频广告对象
|
|
117
117
|
* @description 创建激励视频广告对象
|
|
118
118
|
* @uniPlatform {
|
|
119
|
-
*
|
|
119
|
+
* "app": {
|
|
120
120
|
* "android": {
|
|
121
121
|
* "osVer": "4.4",
|
|
122
122
|
* "uniVer": "√",
|
|
123
123
|
* "unixVer": "4.0+"
|
|
124
|
-
* }
|
|
125
|
-
*
|
|
124
|
+
* },
|
|
125
|
+
* "ios": {
|
|
126
|
+
* osVer": "12.0",
|
|
127
|
+
* uniVer": "√",
|
|
128
|
+
* "unixVer": "4.22"
|
|
129
|
+
* }
|
|
130
|
+
* },
|
|
131
|
+
* "web": {
|
|
132
|
+
* "uniVer": "x",
|
|
133
|
+
* "unixVer": "x"
|
|
134
|
+
* }
|
|
126
135
|
* }
|
|
127
136
|
* @uniVueVersion 2,3
|
|
128
137
|
* @autotest {
|
|
@@ -103,18 +103,27 @@ export interface Uni {
|
|
|
103
103
|
* 获取阿里云实人认证meta info
|
|
104
104
|
* @description 获取阿里云实人认证meta info
|
|
105
105
|
* @uniPlatform {
|
|
106
|
-
*
|
|
106
|
+
* "app": {
|
|
107
107
|
* "android": {
|
|
108
108
|
* "osVer": "5.0",
|
|
109
109
|
* "uniVer": "√",
|
|
110
110
|
* "unixVer": "3.9+"
|
|
111
111
|
* },
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
|
|
112
|
+
* "ios": {
|
|
113
|
+
* "osVer": "12.0",
|
|
114
|
+
* "uniVer": "√",
|
|
115
|
+
* "unixVer": "4.11"
|
|
116
|
+
* },
|
|
117
|
+
* "harmony": {
|
|
118
|
+
* "osVer": "x",
|
|
119
|
+
* "uniVer": "x",
|
|
120
|
+
* "unixVer": "x"
|
|
121
|
+
* }
|
|
122
|
+
* },
|
|
123
|
+
* "web": {
|
|
124
|
+
* "uniVer": "x",
|
|
125
|
+
* "unixVer": "x"
|
|
126
|
+
* }
|
|
118
127
|
* }
|
|
119
128
|
* @uniVueVersion 2,3
|
|
120
129
|
*/
|
|
@@ -123,20 +132,29 @@ export interface Uni {
|
|
|
123
132
|
* 启动人脸识别
|
|
124
133
|
* @description 启动人脸识别
|
|
125
134
|
* @uniPlatform {
|
|
126
|
-
*
|
|
135
|
+
* "app": {
|
|
127
136
|
* "android": {
|
|
128
137
|
* "osVer": "5.0",
|
|
129
138
|
* "uniVer": "√",
|
|
130
139
|
* "unixVer": "3.9+"
|
|
131
140
|
* },
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
|
|
141
|
+
* "ios": {
|
|
142
|
+
* "osVer": "12.0",
|
|
143
|
+
* "uniVer": "√",
|
|
144
|
+
* "unixVer": "4.11"
|
|
145
|
+
* },
|
|
146
|
+
* "harmony": {
|
|
147
|
+
* "osVer": "x",
|
|
148
|
+
* "uniVer": "x",
|
|
149
|
+
* "unixVer": "x"
|
|
150
|
+
* }
|
|
151
|
+
* },
|
|
152
|
+
* "web": {
|
|
153
|
+
* "uniVer": "x",
|
|
154
|
+
* "unixVer": "x"
|
|
155
|
+
* }
|
|
138
156
|
* }
|
|
139
157
|
* @uniVueVersion 2,3
|
|
140
158
|
*/
|
|
141
159
|
startFacialRecognitionVerify(faceStyle : StartFacialRecognitionVerifyOptions) : void
|
|
142
|
-
}
|
|
160
|
+
}
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
GetChannelManager as GetChannelManagerOrigin,
|
|
17
17
|
SetPushChannelOptions as SetPushChannelOptionsOrigin,
|
|
18
18
|
ChannelManager as ChannelManagerOrigin,
|
|
19
|
+
PushChannelManager as PushChannelManagerOrigin,
|
|
19
20
|
CreatePushMessage as CreatePushMessageOrigin,
|
|
20
21
|
CreatePushMessageSuccess as CreatePushMessageSuccessOrigin,
|
|
21
22
|
CreatePushMessageSuccessCallback as CreatePushMessageSuccessCallbackOrigin,
|
|
@@ -24,6 +25,7 @@ import {
|
|
|
24
25
|
CreatePushMessageComplete as CreatePushMessageCompleteOrigin,
|
|
25
26
|
CreatePushMessageCompleteCallback as CreatePushMessageCompleteCallbackOrigin,
|
|
26
27
|
CreatePushMessageOptions as CreatePushMessageOptionsOrigin,
|
|
28
|
+
BadgeOptions as BadgeOptionsOrigin,
|
|
27
29
|
Uni as UniOrigin
|
|
28
30
|
} from './interface'
|
|
29
31
|
|
|
@@ -44,6 +46,7 @@ declare global {
|
|
|
44
46
|
type GetChannelManager = GetChannelManagerOrigin
|
|
45
47
|
type SetPushChannelOptions = SetPushChannelOptionsOrigin
|
|
46
48
|
type ChannelManager = ChannelManagerOrigin
|
|
49
|
+
type PushChannelManager = PushChannelManagerOrigin
|
|
47
50
|
type CreatePushMessage = CreatePushMessageOrigin
|
|
48
51
|
type CreatePushMessageSuccess = CreatePushMessageSuccessOrigin
|
|
49
52
|
type CreatePushMessageSuccessCallback = CreatePushMessageSuccessCallbackOrigin
|
|
@@ -52,5 +55,6 @@ declare global {
|
|
|
52
55
|
type CreatePushMessageComplete = CreatePushMessageCompleteOrigin
|
|
53
56
|
type CreatePushMessageCompleteCallback = CreatePushMessageCompleteCallbackOrigin
|
|
54
57
|
type CreatePushMessageOptions = CreatePushMessageOptionsOrigin
|
|
58
|
+
type BadgeOptions = BadgeOptionsOrigin
|
|
55
59
|
interface Uni extends UniOrigin { }
|
|
56
60
|
}
|
|
@@ -16,6 +16,7 @@ export {
|
|
|
16
16
|
GetChannelManager,
|
|
17
17
|
SetPushChannelOptions,
|
|
18
18
|
ChannelManager,
|
|
19
|
+
PushChannelManager,
|
|
19
20
|
CreatePushMessage,
|
|
20
21
|
CreatePushMessageSuccess,
|
|
21
22
|
CreatePushMessageSuccessCallback,
|
|
@@ -24,4 +25,5 @@ export {
|
|
|
24
25
|
CreatePushMessageComplete,
|
|
25
26
|
CreatePushMessageCompleteCallback,
|
|
26
27
|
CreatePushMessageOptions,
|
|
28
|
+
BadgeOptions,
|
|
27
29
|
} from './interface'
|