@dcloudio/uni-app-x 0.7.122 → 0.7.123
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/dom2-internal/UniTextLayout.d.ts +5 -0
- package/types/native/IUniElement.d.ts +253 -13
- package/types/native/UniAnimation.d.ts +63 -9
- package/types/page.d.ts +3 -3
- package/types/uni/uts-plugin-api/global.d.ts +1 -2
- package/types/uni/uts-plugin-api/index.d.ts +1 -2
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +84 -13
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +22 -6
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +28 -12
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +14 -6
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +203 -178
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +7 -559
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +38 -14
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +19 -7
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +415 -350
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +720 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
- package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/global.d.ts +2 -2
- package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +24 -2
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +12 -1
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +158 -47
- package/types/uni/uts-plugin-biz/global.d.ts +2 -1
- package/types/uni/uts-plugin-biz/index.d.ts +2 -1
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +772 -257
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +22 -6
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +14 -6
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +203 -178
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +38 -14
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +19 -7
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +415 -350
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +24 -2
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +12 -1
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +132 -19
- package/types/uni/uts-plugin-component/global.d.ts +23 -112
- package/types/uni/uts-plugin-component/index.d.ts +23 -112
- package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-form-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-label-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
- package/types/vue/LifeCycle.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +0 -359
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -226
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +0 -59
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +0 -1342
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +0 -944
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -979
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +0 -353
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -43
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -943
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +0 -362
- package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +0 -20
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +0 -420
- package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +0 -49
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +0 -24
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +0 -349
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -625
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +0 -57
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +0 -28
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +0 -1175
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +0 -88
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
|
@@ -53,6 +53,34 @@ export type GetProviderSuccess = {
|
|
|
53
53
|
* }
|
|
54
54
|
*/
|
|
55
55
|
'payment' |
|
|
56
|
+
/**
|
|
57
|
+
* 定位 (system、tencent)
|
|
58
|
+
* @uniPlatform {
|
|
59
|
+
* "app": {
|
|
60
|
+
* "android": {
|
|
61
|
+
* "osVer": "5.0",
|
|
62
|
+
* "uniVer": "x",
|
|
63
|
+
* "unixVer": "4.11"
|
|
64
|
+
* },
|
|
65
|
+
* "ios": {
|
|
66
|
+
* "osVer": "12.0",
|
|
67
|
+
* "uniVer": "x",
|
|
68
|
+
* "unixVer": "4.18"
|
|
69
|
+
* },
|
|
70
|
+
* "harmony": {
|
|
71
|
+
* "osVer": "3.0",
|
|
72
|
+
* "uniVer": "4.25",
|
|
73
|
+
* "unixVer": "4.61",
|
|
74
|
+
* "unixVaporVer": "5.0"
|
|
75
|
+
* }
|
|
76
|
+
* },
|
|
77
|
+
* "web": {
|
|
78
|
+
* "uniVer": "x",
|
|
79
|
+
* "unixVer": "x"
|
|
80
|
+
* }
|
|
81
|
+
* }
|
|
82
|
+
*/
|
|
83
|
+
'location' |
|
|
56
84
|
/**
|
|
57
85
|
* 授权登录
|
|
58
86
|
* @uniPlatform {
|
|
@@ -65,7 +93,7 @@ export type GetProviderSuccess = {
|
|
|
65
93
|
* "ios": {
|
|
66
94
|
* "osVer": "12.0",
|
|
67
95
|
* "uniVer": "√",
|
|
68
|
-
* "unixVer": "
|
|
96
|
+
* "unixVer": "5.08"
|
|
69
97
|
* },
|
|
70
98
|
* "harmony": {
|
|
71
99
|
* "osVer": "3.0",
|
|
@@ -86,14 +114,14 @@ export type GetProviderSuccess = {
|
|
|
86
114
|
* @uniPlatform {
|
|
87
115
|
* "app": {
|
|
88
116
|
* "android": {
|
|
89
|
-
* "osVer": "
|
|
90
|
-
* "uniVer": "
|
|
91
|
-
* "unixVer": "
|
|
117
|
+
* "osVer": "5.0",
|
|
118
|
+
* "uniVer": "√",
|
|
119
|
+
* "unixVer": "5.08"
|
|
92
120
|
* },
|
|
93
121
|
* "ios": {
|
|
94
|
-
* "osVer": "
|
|
95
|
-
* "uniVer": "
|
|
96
|
-
* "unixVer": "
|
|
122
|
+
* "osVer": "13.0",
|
|
123
|
+
* "uniVer": "√",
|
|
124
|
+
* "unixVer": "5.08"
|
|
97
125
|
* },
|
|
98
126
|
* "harmony": {
|
|
99
127
|
* "osVer": "5.0.0",
|
|
@@ -238,18 +266,46 @@ export type GetProviderSyncSuccess = {
|
|
|
238
266
|
*/
|
|
239
267
|
'location' |
|
|
240
268
|
/**
|
|
241
|
-
* 授权登录
|
|
269
|
+
* 授权登录 (weixin)
|
|
242
270
|
* @uniPlatform {
|
|
243
271
|
* "app": {
|
|
244
272
|
* "android": {
|
|
245
273
|
* "osVer": "5.0",
|
|
246
274
|
* "uniVer": "√",
|
|
247
|
-
* "unixVer": "
|
|
275
|
+
* "unixVer": "5.08"
|
|
248
276
|
* },
|
|
249
277
|
* "ios": {
|
|
250
278
|
* "osVer": "12.0",
|
|
251
279
|
* "uniVer": "√",
|
|
252
|
-
* "unixVer": "
|
|
280
|
+
* "unixVer": "5.08"
|
|
281
|
+
* },
|
|
282
|
+
* "harmony": {
|
|
283
|
+
* "osVer": "3.0",
|
|
284
|
+
* "uniVer": "4.27",
|
|
285
|
+
* "unixVer": "4.61",
|
|
286
|
+
* "unixVaporVer": "5.0"
|
|
287
|
+
* }
|
|
288
|
+
* },
|
|
289
|
+
* "web": {
|
|
290
|
+
* "uniVer": "x",
|
|
291
|
+
* "unixVer": "x"
|
|
292
|
+
* }
|
|
293
|
+
* }
|
|
294
|
+
*/
|
|
295
|
+
'oauth'|
|
|
296
|
+
/**
|
|
297
|
+
* 分享(weixin)
|
|
298
|
+
* @uniPlatform {
|
|
299
|
+
* "app": {
|
|
300
|
+
* "android": {
|
|
301
|
+
* "osVer": "5.0",
|
|
302
|
+
* "uniVer": "√",
|
|
303
|
+
* "unixVer": "5.08"
|
|
304
|
+
* },
|
|
305
|
+
* "ios": {
|
|
306
|
+
* "osVer": "12.0",
|
|
307
|
+
* "uniVer": "√",
|
|
308
|
+
* "unixVer": "5.08"
|
|
253
309
|
* },
|
|
254
310
|
* "harmony": {
|
|
255
311
|
* "osVer": "3.0",
|
|
@@ -264,7 +320,7 @@ export type GetProviderSyncSuccess = {
|
|
|
264
320
|
* }
|
|
265
321
|
* }
|
|
266
322
|
*/
|
|
267
|
-
'
|
|
323
|
+
'share',
|
|
268
324
|
/**
|
|
269
325
|
* 得到的服务供应商
|
|
270
326
|
* @type PlusShareShareService['id'][] | PlusPushClientInfo['id'][] | PlusOauthAuthService['id'][] | PlusPaymentPaymentChannel['id'][]
|
|
@@ -392,20 +448,20 @@ export type GetProviderSyncOptions = {
|
|
|
392
448
|
* }
|
|
393
449
|
* }
|
|
394
450
|
*/
|
|
395
|
-
'location' |
|
|
451
|
+
'location' |
|
|
396
452
|
/**
|
|
397
|
-
* 授权登录
|
|
453
|
+
* 授权登录 (weixin)
|
|
398
454
|
* @uniPlatform {
|
|
399
455
|
* "app": {
|
|
400
456
|
* "android": {
|
|
401
457
|
* "osVer": "5.0",
|
|
402
458
|
* "uniVer": "√",
|
|
403
|
-
* "unixVer": "
|
|
459
|
+
* "unixVer": "5.08"
|
|
404
460
|
* },
|
|
405
461
|
* "ios": {
|
|
406
462
|
* "osVer": "12.0",
|
|
407
463
|
* "uniVer": "√",
|
|
408
|
-
* "unixVer": "
|
|
464
|
+
* "unixVer": "5.08"
|
|
409
465
|
* },
|
|
410
466
|
* "harmony": {
|
|
411
467
|
* "osVer": "3.0",
|
|
@@ -420,7 +476,35 @@ export type GetProviderSyncOptions = {
|
|
|
420
476
|
* }
|
|
421
477
|
* }
|
|
422
478
|
*/
|
|
423
|
-
'oauth'
|
|
479
|
+
'oauth'|
|
|
480
|
+
/**
|
|
481
|
+
* 分享 (weixin)
|
|
482
|
+
* @uniPlatform {
|
|
483
|
+
* "app": {
|
|
484
|
+
* "android": {
|
|
485
|
+
* "osVer": "5.0",
|
|
486
|
+
* "uniVer": "√",
|
|
487
|
+
* "unixVer": "5.08"
|
|
488
|
+
* },
|
|
489
|
+
* "ios": {
|
|
490
|
+
* "osVer": "12.0",
|
|
491
|
+
* "uniVer": "√",
|
|
492
|
+
* "unixVer": "5.08"
|
|
493
|
+
* },
|
|
494
|
+
* "harmony": {
|
|
495
|
+
* "osVer": "3.0",
|
|
496
|
+
* "uniVer": "4.27",
|
|
497
|
+
* "unixVer": "4.81",
|
|
498
|
+
* "unixVaporVer": "5.0"
|
|
499
|
+
* }
|
|
500
|
+
* },
|
|
501
|
+
* "web": {
|
|
502
|
+
* "uniVer": "x",
|
|
503
|
+
* "unixVer": "x"
|
|
504
|
+
* }
|
|
505
|
+
* }
|
|
506
|
+
*/
|
|
507
|
+
'share',
|
|
424
508
|
};
|
|
425
509
|
|
|
426
510
|
export type GetProviderSuccessCallback = (result : GetProviderSuccess) => void;
|
|
@@ -474,19 +558,69 @@ export type GetProviderOptions = {
|
|
|
474
558
|
* }
|
|
475
559
|
*/
|
|
476
560
|
'payment' |
|
|
561
|
+
/**
|
|
562
|
+
* 定位 (system、tencent)
|
|
563
|
+
* @uniPlatform {
|
|
564
|
+
* "app": {
|
|
565
|
+
* "android": {
|
|
566
|
+
* "osVer": "5.0",
|
|
567
|
+
* "uniVer": "√",
|
|
568
|
+
* "unixVer": "4.11"
|
|
569
|
+
* },
|
|
570
|
+
* "ios": {
|
|
571
|
+
* "osVer": "12.0",
|
|
572
|
+
* "uniVer": "√",
|
|
573
|
+
* "unixVer": "4.18"
|
|
574
|
+
* }
|
|
575
|
+
* },
|
|
576
|
+
* "web": {
|
|
577
|
+
* "uniVer": "x",
|
|
578
|
+
* "unixVer": "x"
|
|
579
|
+
* }
|
|
580
|
+
* }
|
|
581
|
+
*/
|
|
582
|
+
'location' |
|
|
477
583
|
/**
|
|
478
|
-
* 授权登录
|
|
584
|
+
* 授权登录 (weixin)
|
|
479
585
|
* @uniPlatform {
|
|
480
586
|
* "app": {
|
|
481
587
|
* "android": {
|
|
482
588
|
* "osVer": "5.0",
|
|
483
589
|
* "uniVer": "√",
|
|
484
|
-
* "unixVer": "
|
|
590
|
+
* "unixVer": "5.08"
|
|
485
591
|
* },
|
|
486
592
|
* "ios": {
|
|
487
593
|
* "osVer": "12.0",
|
|
488
594
|
* "uniVer": "√",
|
|
489
|
-
* "unixVer": "
|
|
595
|
+
* "unixVer": "5.08"
|
|
596
|
+
* },
|
|
597
|
+
* "harmony": {
|
|
598
|
+
* "osVer": "3.0",
|
|
599
|
+
* "uniVer": "4.27",
|
|
600
|
+
* "unixVer": "4.61",
|
|
601
|
+
* "unixVaporVer": "5.0"
|
|
602
|
+
* }
|
|
603
|
+
* },
|
|
604
|
+
* "web": {
|
|
605
|
+
* "uniVer": "x",
|
|
606
|
+
* "unixVer": "x"
|
|
607
|
+
* }
|
|
608
|
+
* }
|
|
609
|
+
*/
|
|
610
|
+
'oauth' |
|
|
611
|
+
/**
|
|
612
|
+
* 分享 (weixin)
|
|
613
|
+
* @uniPlatform {
|
|
614
|
+
* "app": {
|
|
615
|
+
* "android": {
|
|
616
|
+
* "osVer": "5.0",
|
|
617
|
+
* "uniVer": "√",
|
|
618
|
+
* "unixVer": "5.08"
|
|
619
|
+
* },
|
|
620
|
+
* "ios": {
|
|
621
|
+
* "osVer": "12.0",
|
|
622
|
+
* "uniVer": "√",
|
|
623
|
+
* "unixVer": "5.08"
|
|
490
624
|
* },
|
|
491
625
|
* "harmony": {
|
|
492
626
|
* "osVer": "3.0",
|
|
@@ -501,7 +635,7 @@ export type GetProviderOptions = {
|
|
|
501
635
|
* }
|
|
502
636
|
* }
|
|
503
637
|
*/
|
|
504
|
-
'
|
|
638
|
+
'share',
|
|
505
639
|
/**
|
|
506
640
|
* 接口调用成功的回调
|
|
507
641
|
* @uniPlatform {
|
|
@@ -3,16 +3,28 @@
|
|
|
3
3
|
GyroscopeInterval as GyroscopeIntervalOrigin,
|
|
4
4
|
GyroscopeErrorCode as GyroscopeErrorCodeOrigin,
|
|
5
5
|
IGyroscopeError as IGyroscopeErrorOrigin,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
IStartGyroscopeFail as IStartGyroscopeFailOrigin,
|
|
7
|
+
IStopGyroscopeFail as IStopGyroscopeFailOrigin,
|
|
8
|
+
StartGyroscopeSuccess as StartGyroscopeSuccessOrigin,
|
|
9
|
+
StartGyroscopeFail as StartGyroscopeFailOrigin,
|
|
10
|
+
StartGyroscopeSuccessCallback as StartGyroscopeSuccessCallbackOrigin,
|
|
11
|
+
StartGyroscopeFailCallback as StartGyroscopeFailCallbackOrigin,
|
|
12
|
+
StartGyroscopeComplete as StartGyroscopeCompleteOrigin,
|
|
13
|
+
StartGyroscopeCompleteCallback as StartGyroscopeCompleteCallbackOrigin,
|
|
14
|
+
StopGyroscopeSuccess as StopGyroscopeSuccessOrigin,
|
|
15
|
+
StopGyroscopeFail as StopGyroscopeFailOrigin,
|
|
16
|
+
StopGyroscopeSuccessCallback as StopGyroscopeSuccessCallbackOrigin,
|
|
17
|
+
StopGyroscopeFailCallback as StopGyroscopeFailCallbackOrigin,
|
|
18
|
+
StopGyroscopeComplete as StopGyroscopeCompleteOrigin,
|
|
19
|
+
StopGyroscopeCompleteCallback as StopGyroscopeCompleteCallbackOrigin,
|
|
12
20
|
StartGyroscopeOptions as StartGyroscopeOptionsOrigin,
|
|
13
21
|
StopGyroscopeOptions as StopGyroscopeOptionsOrigin,
|
|
14
22
|
OnGyroscopeChangeCallbackResult as OnGyroscopeChangeCallbackResultOrigin,
|
|
15
23
|
OnGyroscopeChangeCallback as OnGyroscopeChangeCallbackOrigin,
|
|
24
|
+
StartGyroscope as StartGyroscopeOrigin,
|
|
25
|
+
StopGyroscope as StopGyroscopeOrigin,
|
|
26
|
+
OnGyroscopeChange as OnGyroscopeChangeOrigin,
|
|
27
|
+
OffGyroscopeChange as OffGyroscopeChangeOrigin,
|
|
16
28
|
Uni as UniOrigin
|
|
17
29
|
} from './interface'
|
|
18
30
|
|
|
@@ -20,16 +32,28 @@
|
|
|
20
32
|
type GyroscopeInterval = GyroscopeIntervalOrigin
|
|
21
33
|
type GyroscopeErrorCode = GyroscopeErrorCodeOrigin
|
|
22
34
|
type IGyroscopeError = IGyroscopeErrorOrigin
|
|
23
|
-
type
|
|
24
|
-
type
|
|
25
|
-
type
|
|
26
|
-
type
|
|
27
|
-
type
|
|
28
|
-
type
|
|
35
|
+
type IStartGyroscopeFail = IStartGyroscopeFailOrigin
|
|
36
|
+
type IStopGyroscopeFail = IStopGyroscopeFailOrigin
|
|
37
|
+
type StartGyroscopeSuccess = StartGyroscopeSuccessOrigin
|
|
38
|
+
type StartGyroscopeFail = StartGyroscopeFailOrigin
|
|
39
|
+
type StartGyroscopeSuccessCallback = StartGyroscopeSuccessCallbackOrigin
|
|
40
|
+
type StartGyroscopeFailCallback = StartGyroscopeFailCallbackOrigin
|
|
41
|
+
type StartGyroscopeComplete = StartGyroscopeCompleteOrigin
|
|
42
|
+
type StartGyroscopeCompleteCallback = StartGyroscopeCompleteCallbackOrigin
|
|
43
|
+
type StopGyroscopeSuccess = StopGyroscopeSuccessOrigin
|
|
44
|
+
type StopGyroscopeFail = StopGyroscopeFailOrigin
|
|
45
|
+
type StopGyroscopeSuccessCallback = StopGyroscopeSuccessCallbackOrigin
|
|
46
|
+
type StopGyroscopeFailCallback = StopGyroscopeFailCallbackOrigin
|
|
47
|
+
type StopGyroscopeComplete = StopGyroscopeCompleteOrigin
|
|
48
|
+
type StopGyroscopeCompleteCallback = StopGyroscopeCompleteCallbackOrigin
|
|
29
49
|
type StartGyroscopeOptions = StartGyroscopeOptionsOrigin
|
|
30
50
|
type StopGyroscopeOptions = StopGyroscopeOptionsOrigin
|
|
31
51
|
type OnGyroscopeChangeCallbackResult = OnGyroscopeChangeCallbackResultOrigin
|
|
32
52
|
type OnGyroscopeChangeCallback = OnGyroscopeChangeCallbackOrigin
|
|
53
|
+
type StartGyroscope = StartGyroscopeOrigin
|
|
54
|
+
type StopGyroscope = StopGyroscopeOrigin
|
|
55
|
+
type OnGyroscopeChange = OnGyroscopeChangeOrigin
|
|
56
|
+
type OffGyroscopeChange = OffGyroscopeChangeOrigin
|
|
33
57
|
interface Uni extends UniOrigin { }
|
|
34
58
|
}
|
|
35
59
|
|
|
@@ -3,15 +3,27 @@
|
|
|
3
3
|
GyroscopeInterval,
|
|
4
4
|
GyroscopeErrorCode,
|
|
5
5
|
IGyroscopeError,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
IStartGyroscopeFail,
|
|
7
|
+
IStopGyroscopeFail,
|
|
8
|
+
StartGyroscopeSuccess,
|
|
9
|
+
StartGyroscopeFail,
|
|
10
|
+
StartGyroscopeSuccessCallback,
|
|
11
|
+
StartGyroscopeFailCallback,
|
|
12
|
+
StartGyroscopeComplete,
|
|
13
|
+
StartGyroscopeCompleteCallback,
|
|
14
|
+
StopGyroscopeSuccess,
|
|
15
|
+
StopGyroscopeFail,
|
|
16
|
+
StopGyroscopeSuccessCallback,
|
|
17
|
+
StopGyroscopeFailCallback,
|
|
18
|
+
StopGyroscopeComplete,
|
|
19
|
+
StopGyroscopeCompleteCallback,
|
|
12
20
|
StartGyroscopeOptions,
|
|
13
21
|
StopGyroscopeOptions,
|
|
14
22
|
OnGyroscopeChangeCallbackResult,
|
|
15
23
|
OnGyroscopeChangeCallback,
|
|
24
|
+
StartGyroscope,
|
|
25
|
+
StopGyroscope,
|
|
26
|
+
OnGyroscopeChange,
|
|
27
|
+
OffGyroscopeChange,
|
|
16
28
|
} from './interface'
|
|
17
29
|
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export type GyroscopeInterval =
|
|
2
|
+
/**
|
|
3
|
+
* 适用于更新游戏的回调频率,约 20ms/次 左右
|
|
4
|
+
*/
|
|
2
5
|
'game' |
|
|
6
|
+
/**
|
|
7
|
+
* 适用于更新 UI 的回调频率,在 60ms/次 左右
|
|
8
|
+
*/
|
|
3
9
|
'ui' |
|
|
10
|
+
/**
|
|
11
|
+
* 普通的回调频率,在 200ms/次 左右
|
|
12
|
+
*/
|
|
4
13
|
'normal'
|
|
5
14
|
|
|
6
15
|
export type GyroscopeErrorCode =
|
|
@@ -26,40 +35,101 @@ export interface IGyroscopeError extends IUniError {
|
|
|
26
35
|
errCode : GyroscopeErrorCode
|
|
27
36
|
}
|
|
28
37
|
|
|
29
|
-
export
|
|
38
|
+
export interface IStartGyroscopeFail extends IGyroscopeError {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface IStopGyroscopeFail extends IGyroscopeError {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type StartGyroscopeSuccess = {
|
|
45
|
+
errMsg ?: string | null
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type StartGyroscopeFail = IStartGyroscopeFail
|
|
49
|
+
export type StartGyroscopeSuccessCallback = (res : StartGyroscopeSuccess) => void
|
|
50
|
+
export type StartGyroscopeFailCallback = (res : StartGyroscopeFail) => void
|
|
51
|
+
export type StartGyroscopeComplete = StartGyroscopeSuccess | StartGyroscopeFail
|
|
52
|
+
export type StartGyroscopeCompleteCallback = (res : StartGyroscopeComplete) => void
|
|
53
|
+
|
|
54
|
+
export type StopGyroscopeSuccess = {
|
|
30
55
|
errMsg ?: string | null
|
|
31
56
|
}
|
|
32
57
|
|
|
33
|
-
export type
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
58
|
+
export type StopGyroscopeFail = IStopGyroscopeFail
|
|
59
|
+
export type StopGyroscopeSuccessCallback = (res : StopGyroscopeSuccess) => void
|
|
60
|
+
export type StopGyroscopeFailCallback = (res : StopGyroscopeFail) => void
|
|
61
|
+
export type StopGyroscopeComplete = StopGyroscopeSuccess | StopGyroscopeFail
|
|
62
|
+
export type StopGyroscopeCompleteCallback = (res : StopGyroscopeComplete) => void
|
|
38
63
|
|
|
64
|
+
/**
|
|
65
|
+
* 开始监听陀螺仪数据的参数
|
|
66
|
+
*/
|
|
39
67
|
export type StartGyroscopeOptions = {
|
|
68
|
+
/**
|
|
69
|
+
* 监听陀螺仪数据回调函数的执行频率
|
|
70
|
+
*/
|
|
40
71
|
interval ?: GyroscopeInterval | null
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
72
|
+
/**
|
|
73
|
+
* 接口调用成功的回调函数
|
|
74
|
+
*/
|
|
75
|
+
success ?: StartGyroscopeSuccessCallback | null
|
|
76
|
+
/**
|
|
77
|
+
* 接口调用失败的回调函数
|
|
78
|
+
*/
|
|
79
|
+
fail ?: StartGyroscopeFailCallback | null
|
|
80
|
+
/**
|
|
81
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
82
|
+
*/
|
|
83
|
+
complete ?: StartGyroscopeCompleteCallback | null
|
|
44
84
|
}
|
|
45
85
|
|
|
86
|
+
/**
|
|
87
|
+
* 停止监听陀螺仪数据的参数
|
|
88
|
+
*/
|
|
46
89
|
export type StopGyroscopeOptions = {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
90
|
+
/**
|
|
91
|
+
* 接口调用成功的回调函数
|
|
92
|
+
*/
|
|
93
|
+
success ?: StopGyroscopeSuccessCallback | null
|
|
94
|
+
/**
|
|
95
|
+
* 接口调用失败的回调函数
|
|
96
|
+
*/
|
|
97
|
+
fail ?: StopGyroscopeFailCallback | null
|
|
98
|
+
/**
|
|
99
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
100
|
+
*/
|
|
101
|
+
complete ?: StopGyroscopeCompleteCallback | null
|
|
50
102
|
}
|
|
51
103
|
|
|
104
|
+
/**
|
|
105
|
+
* 陀螺仪数据
|
|
106
|
+
*/
|
|
52
107
|
export type OnGyroscopeChangeCallbackResult = {
|
|
108
|
+
/**
|
|
109
|
+
* x 轴的角速度
|
|
110
|
+
*/
|
|
53
111
|
x : number
|
|
112
|
+
/**
|
|
113
|
+
* y 轴的角速度
|
|
114
|
+
*/
|
|
54
115
|
y : number
|
|
116
|
+
/**
|
|
117
|
+
* z 轴的角速度
|
|
118
|
+
*/
|
|
55
119
|
z : number
|
|
56
120
|
}
|
|
57
121
|
|
|
58
122
|
export type OnGyroscopeChangeCallback = (result : OnGyroscopeChangeCallbackResult) => void
|
|
59
123
|
|
|
124
|
+
export type StartGyroscope = (options?: StartGyroscopeOptions | null) => void;
|
|
125
|
+
export type StopGyroscope = (options?: StopGyroscopeOptions | null) => void;
|
|
126
|
+
export type OnGyroscopeChange = (callback: OnGyroscopeChangeCallback) => void;
|
|
127
|
+
export type OffGyroscopeChange = (callback: OnGyroscopeChangeCallback | null) => void;
|
|
128
|
+
|
|
60
129
|
export interface Uni {
|
|
61
130
|
/**
|
|
62
131
|
* 开始监听陀螺仪数据。
|
|
132
|
+
* @param options 开始监听陀螺仪数据的参数
|
|
63
133
|
*
|
|
64
134
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#startgyroscope
|
|
65
135
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#startgyroscope
|
|
@@ -135,6 +205,7 @@ export interface Uni {
|
|
|
135
205
|
startGyroscope(options ?: StartGyroscopeOptions | null) : void;
|
|
136
206
|
/**
|
|
137
207
|
* 停止监听陀螺仪数据变化事件。
|
|
208
|
+
* @param options 停止监听陀螺仪数据的参数
|
|
138
209
|
*
|
|
139
210
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#stopgyroscope
|
|
140
211
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#stopgyroscope
|
|
@@ -211,7 +282,8 @@ export interface Uni {
|
|
|
211
282
|
/**
|
|
212
283
|
* 监听陀螺仪数据变化事件
|
|
213
284
|
* 支付宝小程序频率为 500ms/次,微信小程序频率根据 uni.startGyroscope 的 interval 参数设置。事件只有在调用 uni.startGyroscope 后才会开始监听,使用 uni.stopGyroscope 可以停止监听。
|
|
214
|
-
*
|
|
285
|
+
* @param callback 陀螺仪数据事件的监听函数
|
|
286
|
+
*
|
|
215
287
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#ongyroscopechange
|
|
216
288
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#ongyroscopechange
|
|
217
289
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#ongyroscopechange
|
|
@@ -226,7 +298,8 @@ export interface Uni {
|
|
|
226
298
|
* "ios": {
|
|
227
299
|
* "osVer": "12.0",
|
|
228
300
|
* "uniVer": "x",
|
|
229
|
-
* "unixVer": "5.08"
|
|
301
|
+
* "unixVer": "5.08",
|
|
302
|
+
* "unixUtsPlugin": "x"
|
|
230
303
|
* },
|
|
231
304
|
* "harmony": {
|
|
232
305
|
* "osVer": "5.0.0",
|
|
@@ -286,11 +359,12 @@ export interface Uni {
|
|
|
286
359
|
onGyroscopeChange(callback : OnGyroscopeChangeCallback) : void;
|
|
287
360
|
/**
|
|
288
361
|
* 停止监听陀螺仪数据变化事件
|
|
362
|
+
* @param callback onGyroscopeChange 传入的监听函数。不传此参数则移除所有监听函数。
|
|
289
363
|
*
|
|
290
364
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#offgyroscopechange
|
|
291
365
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#offgyroscopechange
|
|
292
366
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#offgyroscopechange
|
|
293
|
-
|
|
367
|
+
*
|
|
294
368
|
* @uniPlatform {
|
|
295
369
|
* "app": {
|
|
296
370
|
* "android": {
|
|
@@ -301,7 +375,8 @@ export interface Uni {
|
|
|
301
375
|
* "ios": {
|
|
302
376
|
* "osVer": "12.0",
|
|
303
377
|
* "uniVer": "x",
|
|
304
|
-
* "unixVer": "5.08"
|
|
378
|
+
* "unixVer": "5.08",
|
|
379
|
+
* "unixUtsPlugin": "x"
|
|
305
380
|
* },
|
|
306
381
|
* "harmony": {
|
|
307
382
|
* "osVer": "5.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
3
|
MemoryWarningCallbackResult as MemoryWarningCallbackResultOrigin,
|
|
4
|
-
|
|
4
|
+
OnMemoryWarningCallback as OnMemoryWarningCallbackOrigin,
|
|
5
5
|
OnMemoryWarning as OnMemoryWarningOrigin,
|
|
6
6
|
OffMemoryWarning as OffMemoryWarningOrigin,
|
|
7
7
|
MemoryWarningErrorCode as MemoryWarningErrorCodeOrigin,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
declare global {
|
|
13
13
|
type MemoryWarningCallbackResult = MemoryWarningCallbackResultOrigin
|
|
14
|
-
type
|
|
14
|
+
type OnMemoryWarningCallback = OnMemoryWarningCallbackOrigin
|
|
15
15
|
type OnMemoryWarning = OnMemoryWarningOrigin
|
|
16
16
|
type OffMemoryWarning = OffMemoryWarningOrigin
|
|
17
17
|
type MemoryWarningErrorCode = MemoryWarningErrorCodeOrigin
|