You need to sign in or sign up before continuing.
modules.json 6.4 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
[{
  "name": "base",
  "title": "基础",
  "apiList": {
    "uni.getSystemInfo": true,
    "uni.getSystemInfoSync": true,
    "uni.canIUse": true,
    "uni.upx2px": true,
    "uni.navigateTo": true,
    "uni.redirectTo": true,
    "uni.switchTab": true,
    "uni.reLaunch": true,
    "uni.navigateBack": true
  }
}, {
  "name": "network",
  "title": "网络",
  "apiList": {
    "uni.request": true,
    "uni.connectSocket": true,
    "uni.sendSocketMessage": true,
    "uni.closeSocket": true,
    "uni.onSocketOpen": true,
    "uni.onSocketError": true,
    "uni.onSocketMessage": true,
    "uni.onSocketClose": true,
    "uni.downloadFile": true,
    "uni.uploadFile": true
  }
}, {
  "name": "storage",
  "title": "数据缓存",
  "apiList": {
    "uni.setStorage": true,
    "uni.setStorageSync": true,
    "uni.getStorage": true,
    "uni.getStorageSync": true,
    "uni.removeStorage": true,
    "uni.removeStorageSync": true,
    "uni.clearStorage": true,
    "uni.clearStorageSync": true,
    "uni.getStorageInfo": true,
    "uni.getStorageInfoSync": true
  }
}, {
  "name": "location",
  "title": "位置",
  "apiList": {
    "uni.getLocation": true,
    "uni.openLocation": true,
    "uni.chooseLocation": true
  }
}, {
  "name": "media",
  "title": "媒体",
  "apiList": {
    "uni.chooseImage": true,
58
    "uni.chooseFile": true,
fxy060608's avatar
fxy060608 已提交
59 60 61 62 63 64 65 66 67 68 69
    "uni.previewImage": true,
    "uni.getImageInfo": true,
    "uni.saveImageToPhotosAlbum": true,
    "uni.compressImage": true,
    "uni.getRecorderManager": true,
    "uni.getBackgroundAudioManager": true,
    "uni.createInnerAudioContext": true,
    "uni.chooseVideo": true,
    "uni.saveVideoToPhotosAlbum": true,
    "uni.createVideoContext": true,
    "uni.createCameraContext": true,
70 71
    "uni.createLivePlayerContext": true,
    "uni.createLivePusherContext": true
fxy060608's avatar
fxy060608 已提交
72 73 74 75 76 77 78 79
  }
}, {
  "name": "device",
  "title": "设备",
  "apiList": {
    "uni.onMemoryWarning": true,
    "uni.getNetworkType": true,
    "uni.onNetworkStatusChange": true,
80
    "uni.offNetworkStatusChange": true,
fxy060608's avatar
fxy060608 已提交
81 82 83 84
    "uni.onAccelerometerChange": true,
    "uni.startAccelerometer": true,
    "uni.stopAccelerometer": true,
    "uni.onCompassChange": true,
85
    "uni.offCompassChange": true,
fxy060608's avatar
fxy060608 已提交
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
    "uni.startCompass": true,
    "uni.stopCompass": true,
    "uni.onGyroscopeChange": true,
    "uni.startGyroscope": true,
    "uni.stopGyroscope": true,
    "uni.makePhoneCall": true,
    "uni.scanCode": true,
    "uni.setClipboardData": true,
    "uni.getClipboardData": true,
    "uni.setScreenBrightness": true,
    "uni.getScreenBrightness": true,
    "uni.setKeepScreenOn": true,
    "uni.onUserCaptureScreen": true,
    "uni.vibrateLong": true,
    "uni.vibrateShort": true,
    "uni.addPhoneContact": true,
    "uni.openBluetoothAdapter": true,
    "uni.startBluetoothDevicesDiscovery": true,
    "uni.onBluetoothDeviceFound": true,
    "uni.stopBluetoothDevicesDiscovery": true,
    "uni.onBluetoothAdapterStateChange": true,
    "uni.getConnectedBluetoothDevices": true,
    "uni.getBluetoothDevices": true,
    "uni.getBluetoothAdapterState": true,
    "uni.closeBluetoothAdapter": true,
    "uni.writeBLECharacteristicValue": true,
    "uni.readBLECharacteristicValue": true,
    "uni.onBLEConnectionStateChange": true,
    "uni.onBLECharacteristicValueChange": true,
    "uni.notifyBLECharacteristicValueChange": true,
    "uni.getBLEDeviceServices": true,
    "uni.getBLEDeviceCharacteristics": true,
    "uni.createBLEConnection": true,
119 120
    "uni.closeBLEConnection": true,
    "uni.setBLEMTU": true,
121
    "uni.getBLEDeviceRSSI": true,
fxy060608's avatar
fxy060608 已提交
122 123 124 125
    "uni.onBeaconServiceChange": true,
    "uni.onBeaconUpdate": true,
    "uni.getBeacons": true,
    "uni.startBeaconDiscovery": true,
126 127
    "uni.stopBeaconDiscovery": true,
    "uni.onThemeChange": true,
d-u-a's avatar
d-u-a 已提交
128
    "uni.onUIStyleChange": true
fxy060608's avatar
fxy060608 已提交
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
  }
}, {
  "name": "ui",
  "title": "界面",
  "apiList": {
    "uni.showToast": true,
    "uni.hideToast": true,
    "uni.showLoading": true,
    "uni.hideLoading": true,
    "uni.showModal": true,
    "uni.showActionSheet": true,
    "uni.setNavigationBarTitle": true,
    "uni.setNavigationBarColor": true,
    "uni.showNavigationBarLoading": true,
    "uni.hideNavigationBarLoading": true,
    "uni.setTabBarItem": true,
    "uni.setTabBarStyle": true,
    "uni.hideTabBar": true,
    "uni.showTabBar": true,
    "uni.setTabBarBadge": true,
    "uni.removeTabBarBadge": true,
    "uni.showTabBarRedDot": true,
    "uni.hideTabBarRedDot": true,
    "uni.setBackgroundColor": true,
    "uni.setBackgroundTextStyle": true,
    "uni.createAnimation": true,
    "uni.pageScrollTo": true,
    "uni.onWindowResize": true,
    "uni.offWindowResize": true,
    "uni.loadFontFace": true,
    "uni.startPullDownRefresh": true,
    "uni.stopPullDownRefresh": true,
    "uni.createSelectorQuery": true,
    "uni.createIntersectionObserver": true,
163 164
    "uni.createMediaQueryObserver": true,
    "uni.hideKeyboard": true,
165 166
    "uni.onKeyboardHeightChange": true,
    "uni.offKeyboardHeightChange": true
fxy060608's avatar
fxy060608 已提交
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
  }
}, {
  "name": "event",
  "title": "页面通讯",
  "apiList": {
    "uni.$emit": true,
    "uni.$on": true,
    "uni.$once": true,
    "uni.$off": true
  }
}, {
  "name": "file",
  "title": "文件",
  "apiList": {
    "uni.saveFile": true,
    "uni.getSavedFileList": true,
    "uni.getSavedFileInfo": true,
    "uni.removeSavedFile": true,
    "uni.getFileInfo": true,
    "uni.openDocument": true,
    "uni.getFileSystemManager": true
  }
}, {
  "name": "canvas",
  "title": "绘画",
  "apiList": {
    "uni.createOffscreenCanvas": true,
    "uni.createCanvasContext": true,
    "uni.canvasToTempFilePath": true,
    "uni.canvasPutImageData": true,
    "uni.canvasGetImageData": true
  }
}, {
  "name": "third",
  "title": "第三方服务",
  "apiList": {
    "uni.getProvider": true,
    "uni.login": true,
    "uni.checkSession": true,
    "uni.getUserInfo": true,
    "uni.share": true,
    "uni.showShareMenu": true,
    "uni.hideShareMenu": true,
    "uni.requestPayment": true,
    "uni.subscribePush": true,
    "uni.unsubscribePush": true,
    "uni.onPush": true,
    "uni.offPush": true,
    "uni.requireNativePlugin": true,
    "uni.base64ToArrayBuffer": true,
    "uni.arrayBufferToBase64": true
  }
d-u-a's avatar
d-u-a 已提交
219 220 221 222
}, {
  "name": "ad",
  "title": "广告",
  "apiList": {
223
    "uni.createRewardedVideoAd": true,
d-u-a's avatar
d-u-a 已提交
224
    "uni.createFullScreenVideoAd": true
d-u-a's avatar
d-u-a 已提交
225
  }
Q
qiang 已提交
226
}]