From d87bd3d428b7aa81cb8596482aa002811afaae77 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 28 Aug 2023 15:32:54 +0800 Subject: [PATCH] chore: uts api --- docs/uni-app-x/api.md | 526 +++++++++++++++--------------------------- 1 file changed, 188 insertions(+), 338 deletions(-) diff --git a/docs/uni-app-x/api.md b/docs/uni-app-x/api.md index f0bb0ff3a..5b689637f 100644 --- a/docs/uni-app-x/api.md +++ b/docs/uni-app-x/api.md @@ -1,206 +1,5 @@ -## uni.createInnerAudioContext() @createinneraudiocontext +# 界面 - - - - - - - - - - -## uni.getBackgroundAudioManager() @getbackgroundaudiomanager - - - - - - - - - - - -## uni.exitApp() @exitapp - - - - - - - - - - - -## uni.getFileSystemManager() @getfilesystemmanager - - - - - - - - - - - -## uni.getAccessibilityInfo() @getaccessibilityinfo - - - - - - - - - - - -## uni.getAppAuthorizeSetting() @getappauthorizesetting - - - - - - - - - - - -## uni.getAppBaseInfo(config?) @getappbaseinfo - - - - - - - - - - - -## uni.getDeviceInfo(config?) @getdeviceinfo - - - - - - - - - - - -## uni.getLocation(options) @getlocation - - - - - - - - - - - -## uni.getLocation(options) @getlocation - - - - - - - - - - - -## uni.getNetworkType(options) @getnetworktype - - - - - - - - - - - -## uni.getRecorderManager() @getrecordermanager - - - - - - - - - - - -## uni.getSystemInfo(options) @getsysteminfo - - - - - - - - - - - -## uni.getSystemInfoSync() @getsysteminfosync - - - - - - - - - - - -## uni.getWindowInfo() @getwindowinfo - - - - - - - - - - - -## uni.getSystemSetting() @getsystemsetting - - - - - - - - - - - -## uni.chooseImage(options) @chooseimage - - - - - - - - - - ## uni.previewImage(options) @previewimage @@ -226,101 +25,92 @@ -## uni.getImageInfo(options) @getimageinfo - - - - - - - - +## uni.showToast(options) @showtoast - + -## uni.saveImageToPhotosAlbum(options) @saveimagetophotosalbum + - + - + - + - +## uni.hideToast() @hidetoast - + -## uni.compressImage(options) @compressimage + - + - + - + - +## uni.showLoading(options) @showloading - + -## uni.chooseVideo(options) @choosevideo + - + - + - + - +## uni.hideLoading() @hideloading - + -## uni.getVideoInfo(options) @getvideoinfo + - + - + - + - +## uni.showModal(options) @showmodal - + -## uni.saveVideoToPhotosAlbum(options) @savevideotophotosalbum + - + - + - + - +## uni.showActionSheet(options) @showactionsheet - + -## uni.compressVideo(options) @compressvideo + - + - + - + - +# 网络 - -## uni.uploadFile(options) @uploadfile +## uni.getNetworkType(options) @getnetworktype - + - + - + - + - + ## uni.downloadFile(options) @downloadfile @@ -334,89 +124,92 @@ -## uni.openAppAuthorizeSetting(options) @openappauthorizesetting +## uni.connectSocket(options) @connectsocket - + - + - + - + - + -## uni.showToast(options) @showtoast +## uni.onSocketOpen(options) @onsocketopen - + - + - + - + - + -## uni.hideToast() @hidetoast +## uni.onSocketError(callback) @onsocketerror - + - + - + - + - + -## uni.showLoading(options) @showloading +## uni.sendSocketMessage(options) @sendsocketmessage - + - + - + - + - + -## uni.hideLoading() @hideloading +## uni.onSocketMessage(callback) @onsocketmessage - + - + - + - + - + -## uni.showModal(options) @showmodal +## uni.closeSocket(options) @closesocket - + - + - + - + - + -## uni.showActionSheet(options) @showactionsheet +## uni.onSocketClose(callback) @onsocketclose - + - + - + - + + + + +# 存储 - ## uni.setStorage(options) @setstorage @@ -538,89 +331,146 @@ -## uni.connectSocket(options) @connectsocket +# 定位 - - +## uni.getLocation(options) @getlocation - + - + - + -## uni.onSocketOpen(options) @onsocketopen + - + - +## uni.getLocation(options) @getlocation - + - + - + -## uni.onSocketError(callback) @onsocketerror + - + - +# 媒体 - - +## uni.chooseImage(options) @chooseimage - + -## uni.sendSocketMessage(options) @sendsocketmessage + - + - + - + - +## uni.saveImageToPhotosAlbum(options) @saveimagetophotosalbum - + -## uni.onSocketMessage(callback) @onsocketmessage + - + - + - + - +# 设备 - -## uni.closeSocket(options) @closesocket +## uni.getAppAuthorizeSetting() @getappauthorizesetting - + - + - + - + - + -## uni.onSocketClose(callback) @onsocketclose +## uni.getAppBaseInfo(config?) @getappbaseinfo - + - + - + - + - + + +## uni.getDeviceInfo(config?) @getdeviceinfo + + + + + + + + + + + +## uni.getSystemInfo(options) @getsysteminfo + + + + + + + + + + + +## uni.getSystemInfoSync() @getsysteminfosync + + + + + + + + + + + +## uni.getWindowInfo() @getwindowinfo + + + + + + + + + + + +## uni.getSystemSetting() @getsystemsetting + + + + + + + + + + -- GitLab