@ray-js/api 1.7.69 → 1.7.71
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/@types/AIKit.d.ts +5509 -610
- package/@types/AIStreamKit.d.ts +2641 -0
- package/@types/AVideoKit.d.ts +1827 -0
- package/@types/BaseKit.d.ts +8682 -1893
- package/@types/BizKit.d.ts +6639 -1038
- package/@types/CategoryCommonBizKit.d.ts +1459 -0
- package/@types/CommunityKit.d.ts +154 -0
- package/@types/DeviceKit.d.ts +18475 -5662
- package/@types/GroupCITestKit.d.ts +651 -0
- package/@types/HealthKit.d.ts +2290 -357
- package/@types/HomeKit.d.ts +4068 -182
- package/@types/IPCKit.d.ts +4327 -1227
- package/@types/LightKit.d.ts +125 -0
- package/@types/MapKit.d.ts +1560 -204
- package/@types/MediaKit.d.ts +136 -16
- package/@types/MediaPlayerKit.d.ts +47 -0
- package/@types/MiniKit.d.ts +2976 -628
- package/@types/OutdoorKit.d.ts +1337 -24
- package/@types/P2PKit.d.ts +622 -103
- package/@types/PayKit.d.ts +115 -0
- package/@types/PlayNetKit.d.ts +3454 -1309
- package/@types/SweeperKit.d.ts +154 -0
- package/@types/ThirdAuthKit.d.ts +324 -0
- package/@types/ThirdPartyDeviceKit.d.ts +410 -0
- package/@types/WearKit.d.ts +10177 -375
- package/@types/gateway.d.ts +349 -61
- package/@types/health.d.ts +486 -304
- package/lib/AIKit-1.6.0.d.ts +265 -41
- package/lib/AIKit-1.6.0.js +374 -120
- package/lib/BaseKit-3.17.7.d.ts +704 -0
- package/lib/BaseKit-3.17.7.js +720 -1
- package/lib/BizKit-4.10.4.d.ts +336 -0
- package/lib/BizKit-4.10.4.js +342 -5
- package/lib/DeviceKit-4.13.1.d.ts +996 -0
- package/lib/DeviceKit-4.13.1.js +1247 -249
- package/lib/HealthKit-6.5.0.d.ts +210 -44
- package/lib/HealthKit-6.5.0.js +295 -128
- package/lib/HomeKit-3.1.4.d.ts +20 -6
- package/lib/HomeKit-3.1.4.js +29 -14
- package/lib/IPCKit-6.4.5.d.ts +375 -77
- package/lib/IPCKit-6.4.5.js +525 -228
- package/lib/MapKit-3.4.13.d.ts +70 -16
- package/lib/MapKit-3.4.13.js +98 -47
- package/lib/MediaKit-3.4.1.d.ts +5 -3
- package/lib/MediaKit-3.4.1.js +7 -6
- package/lib/MiniKit-3.14.1.d.ts +300 -0
- package/lib/MiniKit-3.14.1.js +302 -0
- package/lib/OutdoorKit-1.0.4.d.ts +55 -13
- package/lib/OutdoorKit-1.0.4.js +78 -35
- package/lib/P2PKit-2.0.3.d.ts +125 -27
- package/lib/P2PKit-2.0.3.js +175 -78
- package/lib/PlayNetKit-1.3.30.d.ts +290 -60
- package/lib/PlayNetKit-1.3.30.js +407 -176
- package/lib/WearKit-1.1.6.d.ts +125 -27
- package/lib/WearKit-1.1.6.js +176 -77
- package/lib/all-kits.d.ts +10 -10
- package/lib/all-kits.js +10 -10
- package/lib/cloud/core.d.ts +31 -1
- package/lib/cloud/core.js +31 -1
- package/lib/cloud/device.d.ts +155 -24
- package/lib/cloud/device.js +153 -22
- package/lib/cloud/gateway.d.ts +254 -0
- package/lib/cloud/gateway.js +269 -9
- package/lib/cloud/health.d.ts +1 -0
- package/lib/cloud/health.js +121 -0
- package/lib/cloud/interface.d.ts +222 -44
- package/lib/cloud/interface.js +15 -2
- package/lib/cloud/laser-clean/deleteCleaningRecord/index.d.ts +27 -0
- package/lib/cloud/laser-clean/deleteCleaningRecord/index.js +28 -0
- package/lib/cloud/laser-clean/deleteCleaningRecord/type.d.ts +7 -0
- package/lib/cloud/laser-clean/deleteCleaningRecord/type.js +1 -0
- package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.d.ts +27 -0
- package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.js +28 -0
- package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.d.ts +7 -0
- package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.js +1 -0
- package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.d.ts +27 -0
- package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.js +28 -0
- package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.d.ts +7 -0
- package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.js +1 -0
- package/lib/cloud/laser-clean/getCleaningRecords/index.d.ts +30 -0
- package/lib/cloud/laser-clean/getCleaningRecords/index.js +31 -0
- package/lib/cloud/laser-clean/getCleaningRecords/type.d.ts +39 -0
- package/lib/cloud/laser-clean/getCleaningRecords/type.js +1 -0
- package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.d.ts +29 -0
- package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.js +30 -0
- package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.d.ts +30 -0
- package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.js +1 -0
- package/lib/cloud/laser-clean/getGyroCleanRecords/index.d.ts +29 -0
- package/lib/cloud/laser-clean/getGyroCleanRecords/index.js +30 -0
- package/lib/cloud/laser-clean/getGyroCleanRecords/type.d.ts +35 -0
- package/lib/cloud/laser-clean/getGyroCleanRecords/type.js +1 -0
- package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.d.ts +28 -0
- package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.js +29 -0
- package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.d.ts +28 -0
- package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.js +1 -0
- package/lib/cloud/laser-clean/getMultipleMapFiles/index.d.ts +24 -0
- package/lib/cloud/laser-clean/getMultipleMapFiles/index.js +25 -0
- package/lib/cloud/laser-clean/getMultipleMapFiles/type.d.ts +29 -0
- package/lib/cloud/laser-clean/getMultipleMapFiles/type.js +1 -0
- package/lib/cloud/laser-clean/getSweeperStorageConfig/index.d.ts +24 -0
- package/lib/cloud/laser-clean/getSweeperStorageConfig/index.js +25 -0
- package/lib/cloud/laser-clean/getSweeperStorageConfig/type.d.ts +26 -0
- package/lib/cloud/laser-clean/getSweeperStorageConfig/type.js +1 -0
- package/lib/cloud/laser-clean/getVoiceList/index.d.ts +28 -0
- package/lib/cloud/laser-clean/getVoiceList/index.js +29 -0
- package/lib/cloud/laser-clean/getVoiceList/type.d.ts +48 -0
- package/lib/cloud/laser-clean/getVoiceList/type.js +1 -0
- package/lib/cloud/laser-clean/index.d.ts +1 -1
- package/lib/cloud/laser-clean/index.js +1 -1
- package/lib/cloud/laser-clean/map.d.ts +5 -7
- package/lib/cloud/laser-clean/map.js +5 -9
- package/lib/cloud/laser-clean/record.d.ts +5 -6
- package/lib/cloud/laser-clean/record.js +5 -7
- package/lib/cloud/laser-clean/renameHistoryMap/index.d.ts +28 -0
- package/lib/cloud/laser-clean/renameHistoryMap/index.js +29 -0
- package/lib/cloud/laser-clean/renameHistoryMap/type.d.ts +9 -0
- package/lib/cloud/laser-clean/renameHistoryMap/type.js +1 -0
- package/lib/cloud/laser-clean/voice.d.ts +1 -3
- package/lib/cloud/laser-clean/voice.js +1 -4
- package/lib/cloud/linkage.d.ts +271 -53
- package/lib/cloud/linkage.js +256 -51
- package/lib/cloud/remoteGroup.d.ts +37 -0
- package/lib/cloud/remoteGroup.js +37 -0
- package/lib/cloud/timer.d.ts +104 -26
- package/lib/cloud/timer.js +104 -26
- package/lib/getApp/index.thing.d.ts +47 -1
- package/lib/getApp/index.thing.js +40 -2
- package/lib/getBoundingClientRect/index.thing.d.ts +101 -1
- package/lib/getBoundingClientRect/index.thing.js +59 -0
- package/lib/getCurrentPages/index.thing.d.ts +40 -15
- package/lib/getCurrentPages/index.thing.js +36 -15
- package/lib/getCustomConfig/index.d.ts +5 -2
- package/lib/getCustomConfig/index.thing.d.ts +68 -2
- package/lib/getCustomConfig/index.thing.js +62 -0
- package/lib/getCustomConfig/index.wechat.d.ts +5 -2
- package/lib/getCustomConfig/type.d.ts +26 -15
- package/lib/getElementById/index.thing.d.ts +42 -1
- package/lib/getElementById/index.thing.js +40 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +4 -2
- package/lib/nativeRouters/common.d.ts +8 -0
- package/lib/nativeRouters/device.d.ts +137 -5
- package/lib/nativeRouters/device.js +138 -6
- package/lib/nativeRouters/gw.d.ts +58 -8
- package/lib/nativeRouters/gw.js +57 -8
- package/lib/nativeRouters/outdoors.d.ts +16 -3
- package/lib/nativeRouters/outdoors.js +16 -3
- package/lib/nativeRouters/remoteGroup.d.ts +23 -0
- package/lib/nativeRouters/remoteGroup.js +23 -0
- package/lib/nativeRouters/root.d.ts +19 -0
- package/lib/nativeRouters/root.js +17 -0
- package/lib/openGroupCreate/index.d.ts +45 -0
- package/lib/openGroupCreate/index.js +32 -0
- package/package.json +5 -5
package/lib/BaseKit-3.17.7.js
CHANGED
|
@@ -2,127 +2,846 @@
|
|
|
2
2
|
|
|
3
3
|
import { createFactory } from './utils';
|
|
4
4
|
const factory = createFactory('BaseKit');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* @since @ray-js/ray 0.3.23
|
|
9
|
+
*/
|
|
5
10
|
export const stopAccelerometer = factory('stopAccelerometer');
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
* @since @ray-js/ray 0.3.23
|
|
14
|
+
*/
|
|
6
15
|
export const startAccelerometer = factory('startAccelerometer');
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @since @ray-js/ray 0.5.9
|
|
19
|
+
*/
|
|
7
20
|
export const getAudioFileDuration = factory('getAudioFileDuration');
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* @since @ray-js/ray 0.3.23
|
|
24
|
+
*/
|
|
8
25
|
export const authorize = factory('authorize');
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @since @ray-js/ray 0.3.23
|
|
29
|
+
*/
|
|
9
30
|
export const authorizeStatus = factory('authorizeStatus');
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @since @ray-js/ray 0.3.23
|
|
34
|
+
*/
|
|
10
35
|
export const navigateToMiniProgram = factory('navigateToMiniProgram');
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @since @ray-js/ray 0.3.23
|
|
39
|
+
*/
|
|
11
40
|
export const startCompass = factory('startCompass');
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @since @ray-js/ray 0.3.23
|
|
44
|
+
*/
|
|
12
45
|
export const stopCompass = factory('stopCompass');
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
* @since @ray-js/ray 0.3.23
|
|
49
|
+
*/
|
|
13
50
|
export const startDeviceMotionListening = factory('startDeviceMotionListening');
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @since @ray-js/ray 0.3.23
|
|
54
|
+
*/
|
|
14
55
|
export const stopDeviceMotionListening = factory('stopDeviceMotionListening');
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @since @ray-js/ray 0.3.23
|
|
59
|
+
*/
|
|
15
60
|
export const startGyroscope = factory('startGyroscope');
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @since @ray-js/ray 0.3.23
|
|
64
|
+
*/
|
|
16
65
|
export const stopGyroscope = factory('stopGyroscope');
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @since @ray-js/ray 0.3.23
|
|
69
|
+
*/
|
|
17
70
|
export const chooseImage = factory('chooseImage');
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* @since @ray-js/ray 0.5.9
|
|
74
|
+
*/
|
|
18
75
|
export const chooseMedia = factory('chooseMedia');
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @since @ray-js/ray 0.3.23
|
|
79
|
+
*/
|
|
19
80
|
export const chooseCropImage = factory('chooseCropImage');
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @since @ray-js/ray 0.3.23
|
|
84
|
+
*/
|
|
20
85
|
export const previewImage = factory('previewImage');
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @since @ray-js/ray 0.5.9
|
|
89
|
+
*/
|
|
21
90
|
export const getImageInfo = factory('getImageInfo');
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @since @ray-js/ray 0.5.9
|
|
94
|
+
*/
|
|
22
95
|
export const getVideoInfo = factory('getVideoInfo');
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* @since @ray-js/ray 0.5.9
|
|
99
|
+
*/
|
|
23
100
|
export const saveVideoToPhotosAlbum = factory('saveVideoToPhotosAlbum');
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @since @ray-js/ray 0.3.23
|
|
104
|
+
*/
|
|
24
105
|
export const showToast = factory('showToast');
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @since @ray-js/ray 0.3.23
|
|
109
|
+
*/
|
|
25
110
|
export const showModal = factory('showModal');
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* @since @ray-js/ray 0.3.23
|
|
114
|
+
*/
|
|
26
115
|
export const showLoading = factory('showLoading');
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @since @ray-js/ray 0.3.23
|
|
119
|
+
*/
|
|
27
120
|
export const showActionSheet = factory('showActionSheet');
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
* @since @ray-js/ray 0.3.23
|
|
124
|
+
*/
|
|
28
125
|
export const hideToast = factory('hideToast');
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @since @ray-js/ray 0.3.23
|
|
129
|
+
*/
|
|
29
130
|
export const hideLoading = factory('hideLoading');
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @since @ray-js/ray 0.3.23
|
|
134
|
+
*/
|
|
30
135
|
export const makePhoneCall = factory('makePhoneCall');
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @since @ray-js/ray 0.3.23
|
|
139
|
+
*/
|
|
31
140
|
export const setClipboardData = factory('setClipboardData');
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* @since @ray-js/ray 0.3.23
|
|
144
|
+
*/
|
|
32
145
|
export const getClipboardData = factory('getClipboardData');
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @since @ray-js/ray 0.5.9
|
|
149
|
+
*/
|
|
33
150
|
export const updateVolume = factory('updateVolume');
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* @since @ray-js/ray 0.5.9
|
|
154
|
+
*/
|
|
34
155
|
export const getCurrentVolume = factory('getCurrentVolume');
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @since @ray-js/ray 0.5.9
|
|
159
|
+
*/
|
|
35
160
|
export const registerSystemVolumeChange = factory('registerSystemVolumeChange');
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
* @since @ray-js/ray 0.5.9
|
|
164
|
+
*/
|
|
36
165
|
export const unRegisterSystemVolumeChange = factory('unRegisterSystemVolumeChange');
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @since @ray-js/ray 0.5.9
|
|
169
|
+
*/
|
|
37
170
|
export const getSystemSetting = factory('getSystemSetting');
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* @since @ray-js/ray 1.6.8
|
|
174
|
+
*/
|
|
38
175
|
export const getMobileDeviceInfo = factory('getDeviceInfo');
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
* @since @ray-js/ray 0.3.23
|
|
179
|
+
*/
|
|
39
180
|
export const getSystemInfo = factory('getSystemInfo');
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @since @ray-js/ray 0.3.23
|
|
184
|
+
*/
|
|
40
185
|
export const getSystemInfoSync = factory('getSystemInfoSync');
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
* @since @ray-js/ray 0.5.9
|
|
189
|
+
*/
|
|
41
190
|
export const getWifiList = factory('getWifiList');
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @since @ray-js/ray 0.5.9
|
|
194
|
+
*/
|
|
42
195
|
export const getConnectedWifi = factory('getConnectedWifi');
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @since @ray-js/ray 0.5.9
|
|
199
|
+
*/
|
|
43
200
|
export const openSystemBluetoothSetting = factory('openSystemBluetoothSetting');
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* @since @ray-js/ray 0.3.23
|
|
204
|
+
*/
|
|
44
205
|
export const getNetworkType = factory('getNetworkType');
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @since @ray-js/ray 0.3.23
|
|
209
|
+
*/
|
|
45
210
|
export const setScreenBrightness = factory('setScreenBrightness');
|
|
211
|
+
/**
|
|
212
|
+
* @public
|
|
213
|
+
* @since @ray-js/ray 0.3.23
|
|
214
|
+
*/
|
|
46
215
|
export const getScreenBrightness = factory('getScreenBrightness');
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @since @ray-js/ray 0.3.23
|
|
219
|
+
*/
|
|
47
220
|
export const setKeepScreenOn = factory('setKeepScreenOn');
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @since @ray-js/ray 0.3.23
|
|
224
|
+
*/
|
|
48
225
|
export const vibrateShort = factory('vibrateShort');
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* @since @ray-js/ray 0.3.23
|
|
229
|
+
*/
|
|
49
230
|
export const vibrateLong = factory('vibrateLong');
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
* @since @ray-js/ray 0.3.23
|
|
234
|
+
*/
|
|
50
235
|
export const scanCode = factory('scanCode');
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
* @since @ray-js/ray 0.3.23
|
|
239
|
+
*/
|
|
51
240
|
export const setStorage = factory('setStorage');
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
* @since @ray-js/ray 0.3.23
|
|
244
|
+
*/
|
|
52
245
|
export const setStorageSync = factory('setStorageSync');
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
* @since @ray-js/ray 0.3.23
|
|
249
|
+
*/
|
|
53
250
|
export const getStorage = factory('getStorage');
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* @since @ray-js/ray 0.3.23
|
|
254
|
+
*/
|
|
54
255
|
export const getStorageSync = factory('getStorageSync');
|
|
256
|
+
/**
|
|
257
|
+
* @public
|
|
258
|
+
* @since @ray-js/ray 0.3.23
|
|
259
|
+
*/
|
|
55
260
|
export const removeStorage = factory('removeStorage');
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* @since @ray-js/ray 0.3.23
|
|
264
|
+
*/
|
|
56
265
|
export const removeStorageSync = factory('removeStorageSync');
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* @since @ray-js/ray 0.3.23
|
|
269
|
+
*/
|
|
57
270
|
export const clearStorage = factory('clearStorage');
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* @since @ray-js/ray 0.3.23
|
|
274
|
+
*/
|
|
58
275
|
export const clearStorageSync = factory('clearStorageSync');
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
* @since @ray-js/ray 0.5.9
|
|
279
|
+
*/
|
|
59
280
|
export const onSystemVolumeChangeEvent = factory('onSystemVolumeChangeEvent');
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
* @since @ray-js/ray 0.5.9
|
|
284
|
+
*/
|
|
60
285
|
export const offSystemVolumeChangeEvent = factory('offSystemVolumeChangeEvent');
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @since @ray-js/ray 0.5.9
|
|
289
|
+
*/
|
|
61
290
|
export const onGetWifiList = factory('onGetWifiList');
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
* @since @ray-js/ray 0.5.9
|
|
294
|
+
*/
|
|
62
295
|
export const offGetWifiList = factory('offGetWifiList');
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
* @since @ray-js/ray 0.3.23
|
|
299
|
+
*/
|
|
63
300
|
export const onRecordingEvent = factory('onRecordingEvent');
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* @since @ray-js/ray 0.3.23
|
|
304
|
+
*/
|
|
64
305
|
export const offRecordingEvent = factory('offRecordingEvent');
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
* @since @ray-js/ray 0.3.23
|
|
309
|
+
*/
|
|
65
310
|
export const onAccelerometerChange = factory('onAccelerometerChange');
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @since @ray-js/ray 0.3.23
|
|
314
|
+
*/
|
|
66
315
|
export const offAccelerometerChange = factory('offAccelerometerChange');
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* @since @ray-js/ray 0.3.23
|
|
319
|
+
*/
|
|
67
320
|
export const onCompassChange = factory('onCompassChange');
|
|
321
|
+
/**
|
|
322
|
+
* @public
|
|
323
|
+
* @since @ray-js/ray 0.3.23
|
|
324
|
+
*/
|
|
68
325
|
export const offCompassChange = factory('offCompassChange');
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
* @since @ray-js/ray 0.3.23
|
|
329
|
+
*/
|
|
69
330
|
export const onDeviceMotionChange = factory('onDeviceMotionChange');
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @since @ray-js/ray 0.3.23
|
|
334
|
+
*/
|
|
70
335
|
export const offDeviceMotionChange = factory('offDeviceMotionChange');
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
* @since @ray-js/ray 0.3.23
|
|
339
|
+
*/
|
|
71
340
|
export const onGyroscopeChange = factory('onGyroscopeChange');
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
* @since @ray-js/ray 0.3.23
|
|
344
|
+
*/
|
|
72
345
|
export const offGyroscopeChange = factory('offGyroscopeChange');
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
* @since @ray-js/ray 0.3.23
|
|
349
|
+
*/
|
|
73
350
|
export const onMemoryWarning = factory('onMemoryWarning');
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
* @since @ray-js/ray 0.3.23
|
|
354
|
+
*/
|
|
74
355
|
export const offMemoryWarning = factory('offMemoryWarning');
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
* @since @ray-js/ray 0.3.23
|
|
359
|
+
*/
|
|
75
360
|
export const onBluetoothAdapterStateChange = factory('onBluetoothAdapterStateChange');
|
|
361
|
+
/**
|
|
362
|
+
* @public
|
|
363
|
+
* @since @ray-js/ray 0.3.23
|
|
364
|
+
*/
|
|
76
365
|
export const offBluetoothAdapterStateChange = factory('offBluetoothAdapterStateChange');
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
* @since @ray-js/ray 0.3.23
|
|
369
|
+
*/
|
|
77
370
|
export const onNetworkStatusChange = factory('onNetworkStatusChange');
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
* @since @ray-js/ray 0.3.23
|
|
374
|
+
*/
|
|
78
375
|
export const offNetworkStatusChange = factory('offNetworkStatusChange');
|
|
376
|
+
/**
|
|
377
|
+
* @public
|
|
378
|
+
* @since @ray-js/ray 0.3.23
|
|
379
|
+
*/
|
|
79
380
|
export const createInnerAudioContext = factory('createInnerAudioContext');
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
* @since @ray-js/ray 0.3.23
|
|
384
|
+
*/
|
|
80
385
|
export const downloadFile = factory('downloadFile');
|
|
386
|
+
/**
|
|
387
|
+
* @public
|
|
388
|
+
* @since @ray-js/ray 0.3.23
|
|
389
|
+
*/
|
|
81
390
|
export const getFileSystemManager = factory('getFileSystemManager');
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
* @since @ray-js/ray 0.3.23
|
|
394
|
+
*/
|
|
82
395
|
export const request = factory('request');
|
|
396
|
+
/**
|
|
397
|
+
* @public
|
|
398
|
+
* @since @ray-js/ray 0.3.23
|
|
399
|
+
*/
|
|
83
400
|
export const getRecorderManager = factory('getRecorderManager');
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
* @since @ray-js/ray 0.6.5
|
|
404
|
+
*/
|
|
84
405
|
export const uploadFile = factory('uploadFile');
|
|
85
406
|
// 3.2.1 新增 - 4.7.0 容器
|
|
407
|
+
/**
|
|
408
|
+
* @public
|
|
409
|
+
* @since @ray-js/ray 0.8.0
|
|
410
|
+
*/
|
|
86
411
|
export const openMiniWidget = factory('openMiniWidget');
|
|
87
412
|
|
|
88
413
|
// 3.3.10 新增 - 4.8.0 容器
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
* @since @ray-js/ray 1.4.57
|
|
417
|
+
*/
|
|
89
418
|
export const getCurrentVolumeByMode = factory('getCurrentVolumeByMode');
|
|
90
419
|
|
|
91
420
|
// 3.11.0 新增 - 5.12.0
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* @since @ray-js/ray 1.5.30
|
|
424
|
+
*/
|
|
92
425
|
export const saveImageToPhotosAlbum = factory('saveImageToPhotosAlbum');
|
|
93
426
|
|
|
94
427
|
// 3.14.3 新增
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* @since @ray-js/ray 1.5.30
|
|
431
|
+
*/
|
|
95
432
|
export const getSetting = factory('getSetting');
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
* @since @ray-js/ray 1.5.30
|
|
436
|
+
*/
|
|
96
437
|
export const getTempDirectory = factory('getTempDirectory');
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
* @since @ray-js/ray 1.5.30
|
|
441
|
+
*/
|
|
97
442
|
export const writeLogFile = factory('writeLogFile');
|
|
443
|
+
/**
|
|
444
|
+
* @public
|
|
445
|
+
* @since @ray-js/ray 1.5.30
|
|
446
|
+
*/
|
|
98
447
|
export const getFileInfo = factory('getFileInfo');
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
* @since @ray-js/ray 1.5.30
|
|
451
|
+
*/
|
|
99
452
|
export const initializeUploadFile = factory('initializeUploadFile');
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* @since @ray-js/ray 1.5.30
|
|
456
|
+
*/
|
|
100
457
|
export const uploadFileToDevice = factory('uploadFileToDevice');
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
* @since @ray-js/ray 1.5.30
|
|
461
|
+
*/
|
|
101
462
|
export const cancelUploadFileToDevice = factory('cancelUploadFileToDevice');
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* @since @ray-js/ray 1.5.30
|
|
466
|
+
*/
|
|
102
467
|
export const compressImage = factory('compressImage');
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* @since @ray-js/ray 1.5.30
|
|
471
|
+
*/
|
|
103
472
|
export const cropImages = factory('cropImages');
|
|
473
|
+
/**
|
|
474
|
+
* @public
|
|
475
|
+
* @since @ray-js/ray 1.5.30
|
|
476
|
+
*/
|
|
104
477
|
export const onUploadFileToDeviceStart = factory('onUploadFileToDeviceStart');
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* @since @ray-js/ray 1.5.30
|
|
481
|
+
*/
|
|
105
482
|
export const offUploadFileToDeviceStart = factory('offUploadFileToDeviceStart');
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
* @since @ray-js/ray 1.5.30
|
|
486
|
+
*/
|
|
106
487
|
export const onUploadFileToDeviceProgress = factory('onUploadFileToDeviceProgress');
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
* @since @ray-js/ray 1.5.30
|
|
491
|
+
*/
|
|
107
492
|
export const offUploadFileToDeviceProgress = factory('offUploadFileToDeviceProgress');
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* @since @ray-js/ray 1.5.30
|
|
496
|
+
*/
|
|
108
497
|
export const onUploadFileToDeviceComplete = factory('onUploadFileToDeviceComplete');
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
* @since @ray-js/ray 1.5.30
|
|
501
|
+
*/
|
|
109
502
|
export const offUploadFileToDeviceComplete = factory('offUploadFileToDeviceComplete');
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
* @since @ray-js/ray 1.5.30
|
|
506
|
+
*/
|
|
110
507
|
export const onUploadFileFragToDeviceProgress = factory('onUploadFileFragToDeviceProgress');
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
* @since @ray-js/ray 1.5.30
|
|
511
|
+
*/
|
|
111
512
|
export const offUploadFileFragToDeviceProgress = factory('offUploadFileFragToDeviceProgress');
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
* @since @ray-js/ray 1.5.30
|
|
516
|
+
*/
|
|
112
517
|
export const cropImage = factory('cropImage');
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
* @since @ray-js/ray 1.5.30
|
|
521
|
+
*/
|
|
113
522
|
export const fetchImageThumbnail = factory('fetchImageThumbnail');
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
* @since @ray-js/ray 1.5.30
|
|
526
|
+
*/
|
|
114
527
|
export const onKeyboardHeightChange = factory('onKeyboardHeightChange');
|
|
528
|
+
/**
|
|
529
|
+
* @public
|
|
530
|
+
* @since @ray-js/ray 1.5.30
|
|
531
|
+
*/
|
|
115
532
|
export const offKeyboardHeightChange = factory('offKeyboardHeightChange');
|
|
533
|
+
/**
|
|
534
|
+
* @public
|
|
535
|
+
* @since @ray-js/ray 1.5.30
|
|
536
|
+
*/
|
|
116
537
|
export const onKeyboardWillShow = factory('onKeyboardWillShow');
|
|
538
|
+
/**
|
|
539
|
+
* @public
|
|
540
|
+
* @since @ray-js/ray 1.5.30
|
|
541
|
+
*/
|
|
117
542
|
export const offKeyboardWillShow = factory('offKeyboardWillShow');
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
* @since @ray-js/ray 1.5.30
|
|
546
|
+
*/
|
|
118
547
|
export const onKeyboardWillHide = factory('onKeyboardWillHide');
|
|
548
|
+
/**
|
|
549
|
+
* @public
|
|
550
|
+
* @since @ray-js/ray 1.5.30
|
|
551
|
+
*/
|
|
119
552
|
export const offKeyboardWillHide = factory('offKeyboardWillHide');
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* @since @ray-js/ray 1.5.33
|
|
556
|
+
*/
|
|
120
557
|
export const fetchVideoThumbnails = factory('fetchVideoThumbnails');
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
* @since @ray-js/ray 1.5.33
|
|
561
|
+
*/
|
|
121
562
|
export const clearVideoThumbnails = factory('clearVideoThumbnails');
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* @since @ray-js/ray 1.5.33
|
|
566
|
+
*/
|
|
122
567
|
export const clipVideo = factory('clipVideo');
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
* @since @ray-js/ray 1.5.35
|
|
571
|
+
*/
|
|
123
572
|
export const getAppAuthorizeSetting = factory('getAppAuthorizeSetting');
|
|
124
573
|
|
|
125
574
|
// 3.17.7 新增
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
* @since @ray-js/ray 1.6.8
|
|
578
|
+
*/
|
|
126
579
|
export const authorizePolicy = factory('authorizePolicy');
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
* @since @ray-js/ray 1.6.8
|
|
583
|
+
*/
|
|
127
584
|
export const authorizePolicyStatus = factory('authorizePolicyStatus');
|
|
128
|
-
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* @since @ray-js/ray 1.6.8
|
|
588
|
+
*/
|
|
589
|
+
export const showScanLogin = factory('showScanLogin');
|
|
590
|
+
|
|
591
|
+
// 3.30.1 新增
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
* @since @ray-js/ray 1.7.60
|
|
595
|
+
*/
|
|
596
|
+
export const batchGetStorage = factory('batchGetStorage');
|
|
597
|
+
/**
|
|
598
|
+
* @public
|
|
599
|
+
* @since @ray-js/ray 1.7.60
|
|
600
|
+
*/
|
|
601
|
+
export const batchGetStorageSync = factory('batchGetStorageSync');
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
* @since @ray-js/ray 1.7.60
|
|
605
|
+
*/
|
|
606
|
+
export const batchSetStorage = factory('batchSetStorage');
|
|
607
|
+
/**
|
|
608
|
+
* @public
|
|
609
|
+
* @since @ray-js/ray 1.7.60
|
|
610
|
+
*/
|
|
611
|
+
export const batchSetStorageSync = factory('batchSetStorageSync');
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
* @since @ray-js/ray 1.7.60
|
|
615
|
+
*/
|
|
616
|
+
export const getStorageInfo = factory('getStorageInfo');
|
|
617
|
+
/**
|
|
618
|
+
* @public
|
|
619
|
+
* @since @ray-js/ray 1.7.60
|
|
620
|
+
*/
|
|
621
|
+
export const getStorageInfoSync = factory('getStorageInfoSync');
|
|
622
|
+
|
|
623
|
+
// FileSystemManager 子方法导出
|
|
624
|
+
/**
|
|
625
|
+
* @public
|
|
626
|
+
* @alias FileSystemManager.access
|
|
627
|
+
*/
|
|
628
|
+
export const fileSystemManagerAccess = factory('getFileSystemManager');
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
* @alias FileSystemManager.readFile
|
|
632
|
+
*/
|
|
633
|
+
export const fileSystemManagerReadFile = factory('getFileSystemManager');
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
* @public
|
|
637
|
+
* @alias FileSystemManager.readFileSync
|
|
638
|
+
*/
|
|
639
|
+
export const fileSystemManagerReadFileSync = factory('getFileSystemManager');
|
|
640
|
+
/**
|
|
641
|
+
* @public
|
|
642
|
+
* @alias FileSystemManager.writeFile
|
|
643
|
+
*/
|
|
644
|
+
export const fileSystemManagerWriteFile = factory('getFileSystemManager');
|
|
645
|
+
/**
|
|
646
|
+
* @public
|
|
647
|
+
* @public
|
|
648
|
+
* @alias FileSystemManager.writeFileSync
|
|
649
|
+
*/
|
|
650
|
+
export const fileSystemManagerWriteFileSync = factory('getFileSystemManager');
|
|
651
|
+
/**
|
|
652
|
+
* @public
|
|
653
|
+
* @alias FileSystemManager.saveFile
|
|
654
|
+
*/
|
|
655
|
+
export const fileSystemManagerSaveFile = factory('getFileSystemManager');
|
|
656
|
+
/**
|
|
657
|
+
* @public
|
|
658
|
+
* @public
|
|
659
|
+
* @alias FileSystemManager.saveFileSync
|
|
660
|
+
*/
|
|
661
|
+
export const fileSystemManagerSaveFileSync = factory('getFileSystemManager');
|
|
662
|
+
/**
|
|
663
|
+
* @public
|
|
664
|
+
* @alias FileSystemManager.stat
|
|
665
|
+
*/
|
|
666
|
+
export const fileSystemManagerStat = factory('getFileSystemManager');
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* @public
|
|
670
|
+
* @alias FileSystemManager.statSync
|
|
671
|
+
*/
|
|
672
|
+
export const fileSystemManagerStatSync = factory('getFileSystemManager');
|
|
673
|
+
/**
|
|
674
|
+
* @public
|
|
675
|
+
* @alias FileSystemManager.mkdir
|
|
676
|
+
*/
|
|
677
|
+
export const fileSystemManagerMkdir = factory('getFileSystemManager');
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
* @public
|
|
681
|
+
* @alias FileSystemManager.mkdirSync
|
|
682
|
+
*/
|
|
683
|
+
export const fileSystemManagerMkdirSync = factory('getFileSystemManager');
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
* @alias FileSystemManager.rmdir
|
|
687
|
+
*/
|
|
688
|
+
export const fileSystemManagerRmdir = factory('getFileSystemManager');
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
* @public
|
|
692
|
+
* @alias FileSystemManager.rmdirSync
|
|
693
|
+
*/
|
|
694
|
+
export const fileSystemManagerRmdirSync = factory('getFileSystemManager');
|
|
695
|
+
/**
|
|
696
|
+
* @public
|
|
697
|
+
* @alias FileSystemManager.removeSavedFile
|
|
698
|
+
*/
|
|
699
|
+
export const fileSystemManagerRemoveSavedFile = factory('getFileSystemManager');
|
|
700
|
+
|
|
701
|
+
// InnerAudioContext 子方法导出
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* @alias InnerAudioContext.pause
|
|
705
|
+
*/
|
|
706
|
+
export const innerAudioContextPause = factory('createInnerAudioContext');
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* @alias InnerAudioContext.resume
|
|
710
|
+
*/
|
|
711
|
+
export const innerAudioContextResume = factory('createInnerAudioContext');
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
* @alias InnerAudioContext.play
|
|
715
|
+
*/
|
|
716
|
+
export const innerAudioContextPlay = factory('createInnerAudioContext');
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
* @alias InnerAudioContext.seek
|
|
720
|
+
*/
|
|
721
|
+
export const innerAudioContextSeek = factory('createInnerAudioContext');
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
* @alias InnerAudioContext.stop
|
|
725
|
+
*/
|
|
726
|
+
export const innerAudioContextStop = factory('createInnerAudioContext');
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
* @alias InnerAudioContext.destroy
|
|
730
|
+
*/
|
|
731
|
+
export const innerAudioContextDestroy = factory('createInnerAudioContext');
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* @public
|
|
735
|
+
* @alias InnerAudioContext.destroyPlayer
|
|
736
|
+
*/
|
|
737
|
+
export const innerAudioContextDestroyPlayer = factory('createInnerAudioContext');
|
|
738
|
+
/**
|
|
739
|
+
* @public
|
|
740
|
+
* @alias InnerAudioContext.onTimeUpdate
|
|
741
|
+
*/
|
|
742
|
+
export const innerAudioContextOnTimeUpdate = factory('createInnerAudioContext');
|
|
743
|
+
|
|
744
|
+
// DownloadTask 子方法导出
|
|
745
|
+
/**
|
|
746
|
+
* @public
|
|
747
|
+
* @alias DownloadTask.abort
|
|
748
|
+
*/
|
|
749
|
+
export const downloadFileTaskAbort = factory('downloadFile');
|
|
750
|
+
/**
|
|
751
|
+
* @public
|
|
752
|
+
* @alias DownloadTask.onHeadersReceived
|
|
753
|
+
*/
|
|
754
|
+
export const downloadFileTaskOnHeadersReceived = factory('downloadFile');
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
* @alias DownloadTask.offHeadersReceived
|
|
758
|
+
*/
|
|
759
|
+
export const downloadFileTaskOffHeadersReceived = factory('downloadFile');
|
|
760
|
+
/**
|
|
761
|
+
* @public
|
|
762
|
+
* @alias DownloadTask.onProgressUpdate
|
|
763
|
+
*/
|
|
764
|
+
export const downloadFileTaskOnProgressUpdate = factory('downloadFile');
|
|
765
|
+
/**
|
|
766
|
+
* @public
|
|
767
|
+
* @alias DownloadTask.offProgressUpdate
|
|
768
|
+
*/
|
|
769
|
+
export const downloadFileTaskOffProgressUpdate = factory('downloadFile');
|
|
770
|
+
|
|
771
|
+
// UploadTask 子方法导出
|
|
772
|
+
/**
|
|
773
|
+
* @public
|
|
774
|
+
* @alias UploadTask.abort
|
|
775
|
+
*/
|
|
776
|
+
export const uploadFileTaskAbort = factory('uploadFile');
|
|
777
|
+
/**
|
|
778
|
+
* @public
|
|
779
|
+
* @alias UploadTask.onHeadersReceived
|
|
780
|
+
*/
|
|
781
|
+
export const uploadFileTaskOnHeadersReceived = factory('uploadFile');
|
|
782
|
+
/**
|
|
783
|
+
* @public
|
|
784
|
+
* @alias UploadTask.offHeadersReceived
|
|
785
|
+
*/
|
|
786
|
+
export const uploadFileTaskOffHeadersReceived = factory('uploadFile');
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
* @alias UploadTask.onProgressUpdate
|
|
790
|
+
*/
|
|
791
|
+
export const uploadFileTaskOnProgressUpdate = factory('uploadFile');
|
|
792
|
+
/**
|
|
793
|
+
* @public
|
|
794
|
+
* @alias UploadTask.offProgressUpdate
|
|
795
|
+
*/
|
|
796
|
+
export const uploadFileTaskOffProgressUpdate = factory('uploadFile');
|
|
797
|
+
|
|
798
|
+
// RequestTask 子方法导出
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
* @alias RequestTask.abort
|
|
802
|
+
*/
|
|
803
|
+
export const requestTaskAbort = factory('request');
|
|
804
|
+
/**
|
|
805
|
+
* @public
|
|
806
|
+
* @alias RequestTask.onHeadersReceived
|
|
807
|
+
*/
|
|
808
|
+
export const requestTaskOnHeadersReceived = factory('request');
|
|
809
|
+
/**
|
|
810
|
+
* @public
|
|
811
|
+
* @alias RequestTask.offHeadersReceived
|
|
812
|
+
*/
|
|
813
|
+
export const requestTaskOffHeadersReceived = factory('request');
|
|
814
|
+
|
|
815
|
+
// RecorderManager 子方法导出
|
|
816
|
+
/**
|
|
817
|
+
* @public
|
|
818
|
+
* @alias RecorderManager.start
|
|
819
|
+
*/
|
|
820
|
+
export const recorderManagerStart = factory('getRecorderManager');
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
* @alias RecorderManager.resume
|
|
824
|
+
*/
|
|
825
|
+
export const recorderManagerResume = factory('getRecorderManager');
|
|
826
|
+
/**
|
|
827
|
+
* @public
|
|
828
|
+
* @alias RecorderManager.pause
|
|
829
|
+
*/
|
|
830
|
+
export const recorderManagerPause = factory('getRecorderManager');
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
* @alias RecorderManager.stop
|
|
834
|
+
*/
|
|
835
|
+
export const recorderManagerStop = factory('getRecorderManager');
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
* @public
|
|
839
|
+
* @alias RecorderManager.startRecording
|
|
840
|
+
*/
|
|
841
|
+
export const recorderManagerStartRecording = factory('getRecorderManager');
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
* @public
|
|
845
|
+
* @alias RecorderManager.stopRecording
|
|
846
|
+
*/
|
|
847
|
+
export const recorderManagerStopRecording = factory('getRecorderManager');
|