@dcloudio/uni-app-x 0.7.122 → 0.7.124
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 +6 -5
- 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-openLocation/utssdk/interface.d.ts +69 -67
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +22 -5
- 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-tabBar/utssdk/interface.d.ts +19 -18
- 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-api/lib/uni-video/utssdk/interface.d.ts +68 -67
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +3 -3
- 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/node_modules/.package-lock.json +0 -20
- package/types/node_modules/typescript/LICENSE.txt +0 -55
- package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/types/node_modules/typescript/bin/tsc +0 -2
- package/types/node_modules/typescript/bin/tsserver +0 -2
- package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
- package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/lib.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
- package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
- package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
- package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
- package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
- package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
- package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
- package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
- package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
- package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
- package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
- package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
- package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
- package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
- package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
- package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
- package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
- package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
- package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
- package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
- package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
- package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/tsc.js +0 -129741
- package/types/node_modules/typescript/lib/tsserver.js +0 -621
- package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/types/node_modules/typescript/lib/typesMap.json +0 -497
- package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
- package/types/node_modules/typescript/lib/typescript.js +0 -194910
- package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
- package/types/node_modules/typescript/lib/watchGuard.js +0 -53
- package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/package.json +0 -116
- 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
|
@@ -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",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
MemoryWarningCallbackResult as MemoryWarningCallbackResultOrigin,
|
|
4
|
+
OnMemoryWarningCallback as OnMemoryWarningCallbackOrigin,
|
|
5
|
+
OnMemoryWarning as OnMemoryWarningOrigin,
|
|
6
|
+
OffMemoryWarning as OffMemoryWarningOrigin,
|
|
7
|
+
MemoryWarningErrorCode as MemoryWarningErrorCodeOrigin,
|
|
8
|
+
MemoryWarningFail as MemoryWarningFailOrigin,
|
|
9
|
+
Uni as UniOrigin
|
|
10
|
+
} from './interface'
|
|
11
|
+
|
|
12
|
+
declare global {
|
|
13
|
+
type MemoryWarningCallbackResult = MemoryWarningCallbackResultOrigin
|
|
14
|
+
type OnMemoryWarningCallback = OnMemoryWarningCallbackOrigin
|
|
15
|
+
type OnMemoryWarning = OnMemoryWarningOrigin
|
|
16
|
+
type OffMemoryWarning = OffMemoryWarningOrigin
|
|
17
|
+
type MemoryWarningErrorCode = MemoryWarningErrorCodeOrigin
|
|
18
|
+
type MemoryWarningFail = MemoryWarningFailOrigin
|
|
19
|
+
interface Uni extends UniOrigin { }
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内存不足告警数据
|
|
3
|
+
*/
|
|
4
|
+
export type MemoryWarningCallbackResult = {
|
|
5
|
+
/**
|
|
6
|
+
* 内存告警等级,只有 Android 才有,对应系统宏定义5(TRIM_MEMORY_RUNNING_MODERATE)、10(TRIM_MEMORY_RUNNING_LOW)、15(TRIM_MEMORY_RUNNING_CRITICAL)、20(TRIM_MEMORY_UI_HIDDEN)。
|
|
7
|
+
*/
|
|
8
|
+
level?: number | null
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type OnMemoryWarningCallback = (result: MemoryWarningCallbackResult) => void
|
|
12
|
+
|
|
13
|
+
export type OnMemoryWarning = (callback: OnMemoryWarningCallback) => void
|
|
14
|
+
|
|
15
|
+
export type OffMemoryWarning = (callback: OnMemoryWarningCallback | null) => void
|
|
16
|
+
|
|
17
|
+
export type MemoryWarningErrorCode = 1100601 | 1100602
|
|
18
|
+
|
|
19
|
+
export interface MemoryWarningFail extends IUniError {
|
|
20
|
+
errCode: MemoryWarningErrorCode
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface Uni {
|
|
24
|
+
/**
|
|
25
|
+
* 监听内存不足告警事件。当系统内存不足时,会触发该事件,开发者可以在回调函数中获取当前内存使用情况,并进行相应的处理。
|
|
26
|
+
* @param callback 内存不足告警事件的监听函数
|
|
27
|
+
*
|
|
28
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/memory.html#onmemorywarning
|
|
29
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/memory.html#onmemorywarning
|
|
30
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/memory.html#onmemorywarning
|
|
31
|
+
*
|
|
32
|
+
* @uniPlatform {
|
|
33
|
+
* "app": {
|
|
34
|
+
* "android": {
|
|
35
|
+
* "osVer": "5.0",
|
|
36
|
+
* "uniVer": "√",
|
|
37
|
+
* "unixVer": "5.08"
|
|
38
|
+
* },
|
|
39
|
+
* "ios": {
|
|
40
|
+
* "osVer": "12.0",
|
|
41
|
+
* "uniVer": "√",
|
|
42
|
+
* "unixVer": "5.08",
|
|
43
|
+
* "unixUtsPlugin": "x"
|
|
44
|
+
* },
|
|
45
|
+
* "harmony": {
|
|
46
|
+
* "osVer": "5.0.0",
|
|
47
|
+
* "uniVer": "5.08",
|
|
48
|
+
* "unixVer": "5.08",
|
|
49
|
+
* "unixvVer": "5.08"
|
|
50
|
+
* }
|
|
51
|
+
* },
|
|
52
|
+
* "web": {
|
|
53
|
+
* "uniVer": "x",
|
|
54
|
+
* "unixVer": "x"
|
|
55
|
+
* },
|
|
56
|
+
* "mp":{
|
|
57
|
+
* "weixin": {
|
|
58
|
+
* "hostVer": "2.0.2",
|
|
59
|
+
* "uniVer": "√",
|
|
60
|
+
* "unixVer": "4.41"
|
|
61
|
+
* },
|
|
62
|
+
* "alipay": {
|
|
63
|
+
* "hostVer": "x",
|
|
64
|
+
* "uniVer": "x",
|
|
65
|
+
* "unixVer": "x"
|
|
66
|
+
* },
|
|
67
|
+
* "baidu": {
|
|
68
|
+
* "hostVer": "x",
|
|
69
|
+
* "uniVer": "x",
|
|
70
|
+
* "unixVer": "x"
|
|
71
|
+
* },
|
|
72
|
+
* "toutiao": {
|
|
73
|
+
* "hostVer": "x",
|
|
74
|
+
* "uniVer": "x",
|
|
75
|
+
* "unixVer": "x"
|
|
76
|
+
* },
|
|
77
|
+
* "lark": {
|
|
78
|
+
* "hostVer": "x",
|
|
79
|
+
* "uniVer": "x",
|
|
80
|
+
* "unixVer": "x"
|
|
81
|
+
* },
|
|
82
|
+
* "qq": {
|
|
83
|
+
* "hostVer": "x",
|
|
84
|
+
* "uniVer": "x",
|
|
85
|
+
* "unixVer": "x"
|
|
86
|
+
* },
|
|
87
|
+
* "kuaishou": {
|
|
88
|
+
* "hostVer": "x",
|
|
89
|
+
* "uniVer": "x",
|
|
90
|
+
* "unixVer": "x"
|
|
91
|
+
* },
|
|
92
|
+
* "jd": {
|
|
93
|
+
* "hostVer": "x",
|
|
94
|
+
* "uniVer": "x",
|
|
95
|
+
* "unixVer": "x"
|
|
96
|
+
* }
|
|
97
|
+
* }
|
|
98
|
+
* }
|
|
99
|
+
*/
|
|
100
|
+
onMemoryWarning(callback: OnMemoryWarningCallback): void
|
|
101
|
+
/**
|
|
102
|
+
* 取消监听内存不足告警事件。
|
|
103
|
+
* @param callback onMemoryWarning 传入的监听函数。不传此参数则移除所有监听函数。
|
|
104
|
+
*
|
|
105
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/memory.html#offmemorywarning
|
|
106
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/memory.html#offmemorywarning
|
|
107
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/memory.html#offmemorywarning
|
|
108
|
+
*
|
|
109
|
+
* @uniPlatform {
|
|
110
|
+
* "app": {
|
|
111
|
+
* "android": {
|
|
112
|
+
* "osVer": "5.0",
|
|
113
|
+
* "uniVer": "√",
|
|
114
|
+
* "unixVer": "5.08"
|
|
115
|
+
* },
|
|
116
|
+
* "ios": {
|
|
117
|
+
* "osVer": "12.0",
|
|
118
|
+
* "uniVer": "√",
|
|
119
|
+
* "unixVer": "5.08",
|
|
120
|
+
* "unixUtsPlugin": "x"
|
|
121
|
+
* },
|
|
122
|
+
* "harmony": {
|
|
123
|
+
* "osVer": "5.0.0",
|
|
124
|
+
* "uniVer": "5.08",
|
|
125
|
+
* "unixVer": "5.08",
|
|
126
|
+
* "unixvVer": "5.08"
|
|
127
|
+
* }
|
|
128
|
+
* },
|
|
129
|
+
* "web": {
|
|
130
|
+
* "uniVer": "x",
|
|
131
|
+
* "unixVer": "x"
|
|
132
|
+
* },
|
|
133
|
+
* "mp":{
|
|
134
|
+
* "weixin": {
|
|
135
|
+
* "hostVer": "2.9.0",
|
|
136
|
+
* "uniVer": "√",
|
|
137
|
+
* "unixVer": "4.41"
|
|
138
|
+
* },
|
|
139
|
+
* "alipay": {
|
|
140
|
+
* "hostVer": "x",
|
|
141
|
+
* "uniVer": "x",
|
|
142
|
+
* "unixVer": "x"
|
|
143
|
+
* },
|
|
144
|
+
* "baidu": {
|
|
145
|
+
* "hostVer": "x",
|
|
146
|
+
* "uniVer": "x",
|
|
147
|
+
* "unixVer": "x"
|
|
148
|
+
* },
|
|
149
|
+
* "toutiao": {
|
|
150
|
+
* "hostVer": "x",
|
|
151
|
+
* "uniVer": "x",
|
|
152
|
+
* "unixVer": "x"
|
|
153
|
+
* },
|
|
154
|
+
* "lark": {
|
|
155
|
+
* "hostVer": "x",
|
|
156
|
+
* "uniVer": "x",
|
|
157
|
+
* "unixVer": "x"
|
|
158
|
+
* },
|
|
159
|
+
* "qq": {
|
|
160
|
+
* "hostVer": "x",
|
|
161
|
+
* "uniVer": "x",
|
|
162
|
+
* "unixVer": "x"
|
|
163
|
+
* },
|
|
164
|
+
* "kuaishou": {
|
|
165
|
+
* "hostVer": "x",
|
|
166
|
+
* "uniVer": "x",
|
|
167
|
+
* "unixVer": "x"
|
|
168
|
+
* },
|
|
169
|
+
* "jd": {
|
|
170
|
+
* "hostVer": "x",
|
|
171
|
+
* "uniVer": "x",
|
|
172
|
+
* "unixVer": "x"
|
|
173
|
+
* }
|
|
174
|
+
* }
|
|
175
|
+
* }
|
|
176
|
+
*/
|
|
177
|
+
offMemoryWarning(callback ?: OnMemoryWarningCallback | null): void
|
|
178
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 添加手机通讯录联系人。用户可以选择将该表单以「新增联系人」或「添加到已有联系人」的方式,写入手机系统通讯录。
|
|
4
|
+
* @param options 添加手机通讯录联系人的参数
|
|
4
5
|
*
|
|
5
6
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/contact.html#addphonecontact
|
|
6
7
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/contact.html#addphonecontact
|
|
@@ -76,6 +77,7 @@ export interface Uni {
|
|
|
76
77
|
addPhoneContact(options: AddPhoneContactOptions): void;
|
|
77
78
|
/**
|
|
78
79
|
* 拉起手机通讯录,选择联系人
|
|
80
|
+
* @param options 拉起手机通讯录的参数
|
|
79
81
|
*
|
|
80
82
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/contact.html#choosecontact
|
|
81
83
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/contact.html#choosecontact
|
|
@@ -158,10 +160,14 @@ export type AddPhoneContactErrorCode = 601 | 602 | 603;
|
|
|
158
160
|
export interface IAddPhoneContactFail extends IUniError {
|
|
159
161
|
errCode: AddPhoneContactErrorCode
|
|
160
162
|
}
|
|
161
|
-
export type AddPhoneContactFail =
|
|
163
|
+
export type AddPhoneContactFail = IAddPhoneContactFail;
|
|
162
164
|
export type AddPhoneContactFailCallback = (result: AddPhoneContactFail) => void;
|
|
163
|
-
export type AddPhoneContactComplete =
|
|
165
|
+
export type AddPhoneContactComplete = AddPhoneContactSuccess | AddPhoneContactFail;
|
|
164
166
|
export type AddPhoneContactCompleteCallback = (result: AddPhoneContactComplete) => void;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* 添加手机通讯录联系人的参数
|
|
170
|
+
*/
|
|
165
171
|
export type AddPhoneContactOptions = {
|
|
166
172
|
/**
|
|
167
173
|
* 头像本地文件路径
|
|
@@ -329,10 +335,14 @@ export type ChooseContactErrorCode = 601 | 602 | 603;
|
|
|
329
335
|
export interface IChooseContactFail extends IUniError {
|
|
330
336
|
errCode: ChooseContactErrorCode
|
|
331
337
|
}
|
|
332
|
-
export type ChooseContactFail =
|
|
338
|
+
export type ChooseContactFail = IChooseContactFail;
|
|
333
339
|
export type ChooseContactFailCallback = (result: ChooseContactFail) => void;
|
|
334
340
|
export type ChooseContactComplete = ChooseContactSuccess | ChooseContactFail;
|
|
335
341
|
export type ChooseContactCompleteCallback = (result: ChooseContactComplete) => void;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 拉起手机通讯录的参数
|
|
345
|
+
*/
|
|
336
346
|
export type ChooseContactOptions = {
|
|
337
347
|
/**
|
|
338
348
|
* 接口调用成功的回调函数
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SetScreenBrightness as SetScreenBrightnessOrigin,
|
|
4
4
|
SetScreenBrightnessSuccess as SetScreenBrightnessSuccessOrigin,
|
|
5
|
+
ISetScreenBrightnessFail as ISetScreenBrightnessFailOrigin,
|
|
5
6
|
SetScreenBrightnessSuccessCallback as SetScreenBrightnessSuccessCallbackOrigin,
|
|
6
7
|
SetScreenBrightnessFail as SetScreenBrightnessFailOrigin,
|
|
7
8
|
SetScreenBrightnessFailCallback as SetScreenBrightnessFailCallbackOrigin,
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
SetScreenBrightnessOptions as SetScreenBrightnessOptionsOrigin,
|
|
11
12
|
GetScreenBrightness as GetScreenBrightnessOrigin,
|
|
12
13
|
GetScreenBrightnessSuccess as GetScreenBrightnessSuccessOrigin,
|
|
14
|
+
IGetScreenBrightnessFail as IGetScreenBrightnessFailOrigin,
|
|
13
15
|
GetScreenBrightnessSuccessCallback as GetScreenBrightnessSuccessCallbackOrigin,
|
|
14
16
|
GetScreenBrightnessFail as GetScreenBrightnessFailOrigin,
|
|
15
17
|
GetScreenBrightnessFailCallback as GetScreenBrightnessFailCallbackOrigin,
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
GetScreenBrightnessOptions as GetScreenBrightnessOptionsOrigin,
|
|
19
21
|
SetKeepScreenOn as SetKeepScreenOnOrigin,
|
|
20
22
|
SetKeepScreenOnSuccess as SetKeepScreenOnSuccessOrigin,
|
|
23
|
+
ISetKeepScreenOnFail as ISetKeepScreenOnFailOrigin,
|
|
21
24
|
SetKeepScreenOnSuccessCallback as SetKeepScreenOnSuccessCallbackOrigin,
|
|
22
25
|
SetKeepScreenOnFail as SetKeepScreenOnFailOrigin,
|
|
23
26
|
SetKeepScreenOnFailCallback as SetKeepScreenOnFailCallbackOrigin,
|
|
@@ -30,6 +33,7 @@
|
|
|
30
33
|
declare global {
|
|
31
34
|
type SetScreenBrightness = SetScreenBrightnessOrigin
|
|
32
35
|
type SetScreenBrightnessSuccess = SetScreenBrightnessSuccessOrigin
|
|
36
|
+
type ISetScreenBrightnessFail = ISetScreenBrightnessFailOrigin
|
|
33
37
|
type SetScreenBrightnessSuccessCallback = SetScreenBrightnessSuccessCallbackOrigin
|
|
34
38
|
type SetScreenBrightnessFail = SetScreenBrightnessFailOrigin
|
|
35
39
|
type SetScreenBrightnessFailCallback = SetScreenBrightnessFailCallbackOrigin
|
|
@@ -38,6 +42,7 @@
|
|
|
38
42
|
type SetScreenBrightnessOptions = SetScreenBrightnessOptionsOrigin
|
|
39
43
|
type GetScreenBrightness = GetScreenBrightnessOrigin
|
|
40
44
|
type GetScreenBrightnessSuccess = GetScreenBrightnessSuccessOrigin
|
|
45
|
+
type IGetScreenBrightnessFail = IGetScreenBrightnessFailOrigin
|
|
41
46
|
type GetScreenBrightnessSuccessCallback = GetScreenBrightnessSuccessCallbackOrigin
|
|
42
47
|
type GetScreenBrightnessFail = GetScreenBrightnessFailOrigin
|
|
43
48
|
type GetScreenBrightnessFailCallback = GetScreenBrightnessFailCallbackOrigin
|
|
@@ -46,6 +51,7 @@
|
|
|
46
51
|
type GetScreenBrightnessOptions = GetScreenBrightnessOptionsOrigin
|
|
47
52
|
type SetKeepScreenOn = SetKeepScreenOnOrigin
|
|
48
53
|
type SetKeepScreenOnSuccess = SetKeepScreenOnSuccessOrigin
|
|
54
|
+
type ISetKeepScreenOnFail = ISetKeepScreenOnFailOrigin
|
|
49
55
|
type SetKeepScreenOnSuccessCallback = SetKeepScreenOnSuccessCallbackOrigin
|
|
50
56
|
type SetKeepScreenOnFail = SetKeepScreenOnFailOrigin
|
|
51
57
|
type SetKeepScreenOnFailCallback = SetKeepScreenOnFailCallbackOrigin
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export {
|
|
3
3
|
SetScreenBrightness,
|
|
4
4
|
SetScreenBrightnessSuccess,
|
|
5
|
+
ISetScreenBrightnessFail,
|
|
5
6
|
SetScreenBrightnessSuccessCallback,
|
|
6
7
|
SetScreenBrightnessFail,
|
|
7
8
|
SetScreenBrightnessFailCallback,
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
SetScreenBrightnessOptions,
|
|
11
12
|
GetScreenBrightness,
|
|
12
13
|
GetScreenBrightnessSuccess,
|
|
14
|
+
IGetScreenBrightnessFail,
|
|
13
15
|
GetScreenBrightnessSuccessCallback,
|
|
14
16
|
GetScreenBrightnessFail,
|
|
15
17
|
GetScreenBrightnessFailCallback,
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
GetScreenBrightnessOptions,
|
|
19
21
|
SetKeepScreenOn,
|
|
20
22
|
SetKeepScreenOnSuccess,
|
|
23
|
+
ISetKeepScreenOnFail,
|
|
21
24
|
SetKeepScreenOnSuccessCallback,
|
|
22
25
|
SetKeepScreenOnFail,
|
|
23
26
|
SetKeepScreenOnFailCallback,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
3
|
* 设置屏幕亮度。
|
|
4
|
+
* @param options 设置屏幕亮度的参数
|
|
5
|
+
*
|
|
4
6
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
5
7
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
6
8
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
@@ -75,6 +77,8 @@ export interface Uni {
|
|
|
75
77
|
setScreenBrightness(options : SetScreenBrightnessOptions) : void;
|
|
76
78
|
/**
|
|
77
79
|
* 获取屏幕亮度。
|
|
80
|
+
* @param options 获取屏幕亮度的参数
|
|
81
|
+
*
|
|
78
82
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
79
83
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
80
84
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
@@ -149,6 +153,8 @@ export interface Uni {
|
|
|
149
153
|
getScreenBrightness(options : GetScreenBrightnessOptions) : void;
|
|
150
154
|
/**
|
|
151
155
|
* 设置是否保持常亮状态。仅在当前应用生效,离开应用后设置失效。
|
|
156
|
+
* @param options 设置是否保持常亮状态的参数
|
|
157
|
+
*
|
|
152
158
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
153
159
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
154
160
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
@@ -225,8 +231,10 @@ export interface Uni {
|
|
|
225
231
|
|
|
226
232
|
export type SetScreenBrightness = (options : SetScreenBrightnessOptions) => void;
|
|
227
233
|
export type SetScreenBrightnessSuccess = {};
|
|
234
|
+
export interface ISetScreenBrightnessFail extends IUniError {
|
|
235
|
+
}
|
|
228
236
|
export type SetScreenBrightnessSuccessCallback = (result : SetScreenBrightnessSuccess) => void;
|
|
229
|
-
export type SetScreenBrightnessFail =
|
|
237
|
+
export type SetScreenBrightnessFail = ISetScreenBrightnessFail;
|
|
230
238
|
export type SetScreenBrightnessFailCallback = (result : SetScreenBrightnessFail) => void;
|
|
231
239
|
export type SetScreenBrightnessComplete = SetScreenBrightnessSuccess | SetScreenBrightnessFail;
|
|
232
240
|
export type SetScreenBrightnessCompleteCallback = (result : SetScreenBrightnessComplete) => void;
|
|
@@ -589,8 +597,10 @@ export type GetScreenBrightnessSuccess = {
|
|
|
589
597
|
*/
|
|
590
598
|
value : number
|
|
591
599
|
};
|
|
600
|
+
export interface IGetScreenBrightnessFail extends IUniError {
|
|
601
|
+
}
|
|
592
602
|
export type GetScreenBrightnessSuccessCallback = (result : GetScreenBrightnessSuccess) => void;
|
|
593
|
-
export type GetScreenBrightnessFail =
|
|
603
|
+
export type GetScreenBrightnessFail = IGetScreenBrightnessFail;
|
|
594
604
|
export type GetScreenBrightnessFailCallback = (result : GetScreenBrightnessFail) => void;
|
|
595
605
|
export type GetScreenBrightnessComplete = GetScreenBrightnessSuccess | GetScreenBrightnessFail;
|
|
596
606
|
export type GetScreenBrightnessCompleteCallback = (result : GetScreenBrightnessComplete) => void;
|
|
@@ -882,8 +892,10 @@ export type SetKeepScreenOnSuccess = {
|
|
|
882
892
|
*/
|
|
883
893
|
errMsg:string
|
|
884
894
|
};
|
|
895
|
+
export interface ISetKeepScreenOnFail extends IUniError {
|
|
896
|
+
}
|
|
885
897
|
export type SetKeepScreenOnSuccessCallback = (result : SetKeepScreenOnSuccess) => void;
|
|
886
|
-
export type SetKeepScreenOnFail =
|
|
898
|
+
export type SetKeepScreenOnFail = ISetKeepScreenOnFail;
|
|
887
899
|
export type SetKeepScreenOnFailCallback = (result : SetKeepScreenOnFail) => void;
|
|
888
900
|
export type SetKeepScreenOnComplete = SetKeepScreenOnSuccess | SetKeepScreenOnFail;
|
|
889
901
|
export type SetKeepScreenOnCompleteCallback = (result : SetKeepScreenOnComplete) => void;
|