@tarojs/plugin-platform-harmony-cpp 4.1.4-beta.8 → 4.1.4
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/dist/index.js +1 -1
- package/dist/runtime/apischunk/index.d.ts +776 -1580
- package/dist/runtime/apischunk/index.js +400 -400
- package/package.json +29 -27
- package/static/@taro-oh/library-4.1.4.har +0 -0
- package/dist/index.d.ts +0 -32
- package/static/@taro-oh/library-4.1.4-beta.8.har +0 -0
|
@@ -1,1586 +1,786 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
QUICKAPP: string;
|
|
317
|
-
};
|
|
318
|
-
declare function getEnv(): string;
|
|
319
|
-
declare const getCurrentPages: () => never[];
|
|
320
|
-
|
|
321
|
-
declare const requirePlugin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
322
|
-
/** 鸿蒙专属 */
|
|
323
|
-
declare function updatePageSync(): void;
|
|
324
|
-
declare function unstable_SetPageIsTextNeedLayout(isNeed: boolean): void;
|
|
325
|
-
|
|
326
|
-
declare const triggerTaskPoolMethods: ({ name, args, complete, fail, success, }?: {
|
|
327
|
-
name?: string;
|
|
328
|
-
args?: TaroAny[];
|
|
329
|
-
complete?: (res: TaroAny) => void;
|
|
330
|
-
fail?: (res: TaroAny) => void;
|
|
331
|
-
success?: (res: TaroAny) => void;
|
|
332
|
-
}) => Promise<unknown>;
|
|
333
|
-
|
|
334
|
-
declare const stopLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
335
|
-
declare const startLocationUpdateBackground: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
336
|
-
declare const startLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
337
|
-
declare const openLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
338
|
-
declare const getLocation: typeof Taro$1.getLocation;
|
|
339
|
-
declare const onLocationChange: typeof Taro$1.onLocationChange;
|
|
340
|
-
declare const offLocationChange: typeof Taro$1.offLocationChange;
|
|
341
|
-
declare const onLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
342
|
-
declare const offLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
343
|
-
declare const choosePoi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
344
|
-
declare const chooseLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
345
|
-
declare const getFuzzyLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
346
|
-
|
|
347
|
-
declare const stopVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
348
|
-
declare const setInnerAudioOption: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
349
|
-
declare const playVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
350
|
-
declare const pauseVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
351
|
-
declare const getAvailableAudioSources: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
352
|
-
declare const createWebAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
353
|
-
declare const createMediaAudioPlayer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
354
|
-
/**
|
|
355
|
-
* 创建内部 audio 上下文 InnerAudioContext 对象。
|
|
356
|
-
*/
|
|
357
|
-
declare const createInnerAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
358
|
-
declare const createAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
359
|
-
/** Harmony 专属,更新 audio 状态 */
|
|
360
|
-
declare const refreshAudioSession: () => void;
|
|
361
|
-
|
|
362
|
-
declare const stopBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
363
|
-
declare const seekBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
364
|
-
declare const playBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
365
|
-
declare const pauseBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
366
|
-
declare const onBackgroundAudioStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
367
|
-
declare const onBackgroundAudioPlay: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
368
|
-
declare const onBackgroundAudioPause: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
369
|
-
declare const getBackgroundAudioPlayerState: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
370
|
-
/**
|
|
371
|
-
* 获取全局唯一的背景音频管理器
|
|
372
|
-
*/
|
|
373
|
-
declare const getBackgroundAudioManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
374
|
-
|
|
375
|
-
declare const createCameraContext: typeof Taro$1.createCameraContext;
|
|
376
|
-
|
|
377
|
-
declare const previewMedia: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
378
|
-
declare const chooseMedia: typeof Taro$1.chooseMedia;
|
|
379
|
-
|
|
380
|
-
declare const previewImage: typeof Taro$1.previewImage;
|
|
381
|
-
declare const getImageInfo: typeof Taro$1.getImageInfo;
|
|
382
|
-
declare const compressImage: typeof Taro$1.compressImage;
|
|
383
|
-
declare const chooseImage: typeof Taro$1.chooseImage;
|
|
384
|
-
declare const saveImageToPhotosAlbum: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
385
|
-
|
|
386
|
-
declare const createLivePusherContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
387
|
-
declare const createLivePlayerContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
388
|
-
|
|
389
|
-
declare const createMapContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
390
|
-
|
|
391
|
-
declare const createMediaRecorder: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
392
|
-
|
|
393
|
-
declare const stopRecord: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
394
|
-
declare const startRecord: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
395
|
-
declare const getRecorderManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
396
|
-
|
|
397
|
-
declare const createVideoContext: typeof Taro$1.createVideoContext;
|
|
398
|
-
declare const chooseVideo: typeof Taro$1.chooseVideo;
|
|
399
|
-
declare const compressVideo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
400
|
-
declare const getVideoInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
401
|
-
declare const openVideoEditor: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
402
|
-
declare const saveVideoToPhotosAlbum: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
403
|
-
|
|
404
|
-
declare const createVideoDecoder: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
405
|
-
|
|
406
|
-
declare const createMediaContainer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
407
|
-
|
|
408
|
-
declare const updateVoIPChatMuteConfig: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
409
|
-
declare const subscribeVoIPVideoMembers: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
410
|
-
declare const setEnable1v1Chat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
411
|
-
declare const onVoIPVideoMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
412
|
-
declare const onVoIPChatStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
413
|
-
declare const onVoIPChatSpeakersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
414
|
-
declare const onVoIPChatMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
415
|
-
declare const onVoIPChatInterrupted: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
416
|
-
declare const offVoIPChatSpeakersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
417
|
-
declare const offVoIPVideoMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
418
|
-
declare const offVoIPChatStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
419
|
-
declare const offVoIPChatMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
420
|
-
declare const offVoIPChatInterrupted: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
421
|
-
declare const joinVoIPChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
422
|
-
declare const join1v1Chat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
423
|
-
declare const exitVoIPChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
424
|
-
|
|
425
|
-
declare const openEmbeddedMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
426
|
-
declare const navigateToMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
427
|
-
declare const navigateBackMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
428
|
-
declare const exitMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
429
|
-
declare const openBusinessView: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
430
|
-
|
|
431
|
-
declare const downloadFile: typeof Taro$1.uploadFile;
|
|
432
|
-
|
|
433
|
-
declare const stopLocalServiceDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
434
|
-
declare const startLocalServiceDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
435
|
-
declare const onLocalServiceResolveFail: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
436
|
-
declare const onLocalServiceLost: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
437
|
-
declare const onLocalServiceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
438
|
-
declare const onLocalServiceDiscoveryStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
439
|
-
declare const offLocalServiceResolveFail: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
440
|
-
declare const offLocalServiceLost: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
441
|
-
declare const offLocalServiceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
442
|
-
declare const offLocalServiceDiscoveryStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
443
|
-
|
|
444
|
-
type TRequest = typeof Taro$1.request;
|
|
445
|
-
declare const request: TRequest;
|
|
446
|
-
|
|
447
|
-
declare const createTCPSocket: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
448
|
-
|
|
449
|
-
declare const createUDPSocket: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
450
|
-
|
|
451
|
-
declare const uploadFile: typeof Taro$1.uploadFile;
|
|
452
|
-
|
|
453
|
-
declare const connectSocket: typeof Taro$1.connectSocket;
|
|
454
|
-
|
|
455
|
-
declare const getAccountInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
456
|
-
|
|
457
|
-
declare const chooseAddress: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
458
|
-
|
|
459
|
-
declare const authorizeForMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
460
|
-
declare const authorize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
461
|
-
|
|
462
|
-
declare const openCard: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
463
|
-
declare const addCard: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
464
|
-
|
|
465
|
-
declare const reserveChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
466
|
-
declare const openChannelsUserProfile: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
467
|
-
declare const openChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
468
|
-
declare const openChannelsEvent: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
469
|
-
declare const openChannelsActivity: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
470
|
-
declare const getChannelsShareKey: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
471
|
-
declare const getChannelsLiveNoticeInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
472
|
-
declare const getChannelsLiveInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
473
|
-
|
|
474
|
-
declare const openCustomerServiceChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
475
|
-
|
|
476
|
-
declare const requestDeviceVoIP: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
477
|
-
declare const getDeviceVoIPList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
478
|
-
|
|
479
|
-
declare const checkIsSupportFacialRecognition: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
480
|
-
declare const startFacialRecognitionVerify: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
481
|
-
declare const startFacialRecognitionVerifyAndUploadVideo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
482
|
-
declare const faceVerifyForPay: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
483
|
-
|
|
484
|
-
declare const addVideoToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
485
|
-
declare const addFileToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
486
|
-
|
|
487
|
-
declare const getGroupEnterInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
488
|
-
|
|
489
|
-
declare const chooseInvoiceTitle: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
490
|
-
declare const chooseInvoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
491
|
-
|
|
492
|
-
declare const chooseLicensePlate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
493
|
-
|
|
494
|
-
declare const pluginLogin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
495
|
-
declare const login: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
496
|
-
declare const checkSession: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
497
|
-
|
|
498
|
-
declare const checkIsAddedToMyMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
499
|
-
|
|
500
|
-
declare const requirePrivacyAuthorize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
501
|
-
declare const openPrivacyContract: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
502
|
-
declare const onNeedPrivacyAuthorization: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
503
|
-
declare const getPrivacySetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
504
|
-
|
|
505
|
-
declare const showRedPackage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
506
|
-
|
|
507
|
-
declare const openSetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
508
|
-
declare const getSetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
509
|
-
|
|
510
|
-
declare const startSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
511
|
-
declare const checkIsSupportSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
512
|
-
declare const checkIsSoterEnrolledInDevice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
513
|
-
|
|
514
|
-
declare const requestSubscribeMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
515
|
-
declare const requestSubscribeDeviceMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* 用户相关API, Harmony ACE API 6
|
|
519
|
-
*
|
|
520
|
-
* 1. 华为账号场景介绍文档 @see https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/harmonyos-js-login-0000001151310900
|
|
521
|
-
* 2. 华为账号API参考 @see https://developer.huawei.com/consumer/cn/doc/development/HMSCore-References/harmonyos-js-overview-0000001063532145
|
|
522
|
-
*/
|
|
523
|
-
/**
|
|
524
|
-
* 通过Scope数组获取已登录的对应帐号信息(依赖login行为)
|
|
525
|
-
* @param options
|
|
526
|
-
*/
|
|
527
|
-
declare const getUserInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
528
|
-
/**
|
|
529
|
-
* 获取用户信息
|
|
530
|
-
*/
|
|
531
|
-
declare const getUserProfile: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
532
|
-
|
|
533
|
-
declare const shareToWeRun: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
534
|
-
declare const getWeRunData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
535
|
-
|
|
536
|
-
declare const requestPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
537
|
-
declare const requestPluginPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
538
|
-
declare const requestOrderPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
539
|
-
|
|
540
|
-
declare const navigateTo: typeof Taro$1.navigateTo;
|
|
541
|
-
declare const redirectTo: typeof Taro$1.redirectTo;
|
|
542
|
-
declare const navigateBack: typeof Taro$1.navigateBack;
|
|
543
|
-
declare const reLaunch: typeof Taro$1.reLaunch;
|
|
544
|
-
declare const switchTab: typeof Taro$1.switchTab;
|
|
545
|
-
|
|
546
|
-
/** 更新转发属性 */
|
|
547
|
-
declare const updateShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
548
|
-
/** 显示当前页面的转发按钮 */
|
|
549
|
-
declare const showShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
550
|
-
/** 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载 */
|
|
551
|
-
declare const showShareImageMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
552
|
-
/** 转发视频到聊天 */
|
|
553
|
-
declare const shareVideoMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
554
|
-
/** 转发文件到聊天 */
|
|
555
|
-
declare const shareFileMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
556
|
-
/** 监听用户点击右上角菜单的「复制链接」按钮时触发的事件 */
|
|
557
|
-
declare const onCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
558
|
-
/** 移除用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数 */
|
|
559
|
-
declare const offCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
560
|
-
/** 隐藏当前页面的转发按钮 */
|
|
561
|
-
declare const hideShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
562
|
-
/** 获取转发详细信息 */
|
|
563
|
-
declare const getShareInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
564
|
-
/** 验证私密消息。 */
|
|
565
|
-
declare const authPrivateMessage: (option?: {}, ...args: any[]) => Promise<ICallbackResult & Record<string, unknown>>;
|
|
566
|
-
|
|
567
|
-
declare const setBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
568
|
-
declare const onBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
569
|
-
declare const getBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
570
|
-
declare const getBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
571
|
-
|
|
572
|
-
declare const createCacheManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
573
|
-
|
|
574
|
-
declare function getStorage<T = any>(options: Taro$1.getStorage.Option<T>): Promise<unknown> | undefined;
|
|
575
|
-
declare function setStorage(options: Taro$1.setStorage.Option): Promise<unknown> | undefined;
|
|
576
|
-
declare function removeStorage(options: Taro$1.removeStorage.Option): Promise<unknown> | undefined;
|
|
577
|
-
declare const getStorageInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
578
|
-
declare const getStorageInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
579
|
-
declare const createBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
580
|
-
declare const revokeBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
581
|
-
declare const batchSetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
582
|
-
declare const batchSetStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
583
|
-
declare const batchGetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
584
|
-
declare const batchGetStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
585
|
-
declare const clearStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
586
|
-
declare const getStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
587
|
-
declare const setStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
588
|
-
declare const clearStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
589
|
-
declare const removeStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
590
|
-
|
|
591
|
-
interface IAnimationAttr {
|
|
592
|
-
duration: number;
|
|
593
|
-
delay: number;
|
|
594
|
-
timingFunction: string;
|
|
595
|
-
transformOrigin: string;
|
|
596
|
-
}
|
|
597
|
-
type TStep = {
|
|
598
|
-
delay: number;
|
|
599
|
-
duration: number;
|
|
600
|
-
timingFunction: string;
|
|
601
|
-
transformOrigin: string;
|
|
602
|
-
rule: TRule;
|
|
603
|
-
};
|
|
604
|
-
type TRule = Record<string, any>;
|
|
605
|
-
declare class Animation implements Taro$1.Animation {
|
|
606
|
-
unit: string;
|
|
607
|
-
DEFAULT: IAnimationAttr;
|
|
608
|
-
steps: TStep[];
|
|
609
|
-
rule: TRule;
|
|
610
|
-
constructor({ duration, delay, timingFunction, transformOrigin, unit }?: Taro$1.createAnimation.Option);
|
|
611
|
-
setDefault(duration: any, delay: any, timingFunction: any, transformOrigin: any): void;
|
|
612
|
-
export(): {
|
|
613
|
-
actions: any[];
|
|
614
|
-
};
|
|
615
|
-
step(arg?: Partial<IAnimationAttr>): Taro$1.Animation;
|
|
616
|
-
matrix(a: number, b: number, c: number, d: number, tx: number, ty: number): Taro$1.Animation;
|
|
617
|
-
matrix3d(a1: number, b1: number, c1: number, d1: number, a2: number, b2: number, c2: number, d2: number, a3: number, b3: number, c3: number, d3: number, a4: number, b4: number, c4: number, d4: number): Taro$1.Animation;
|
|
618
|
-
rotate(angle: number): Taro$1.Animation;
|
|
619
|
-
rotate3d(x: number, y?: number | undefined, z?: number | undefined, angle?: number | undefined): Taro$1.Animation;
|
|
620
|
-
rotateX(angle: number): Taro$1.Animation;
|
|
621
|
-
rotateY(angle: number): Taro$1.Animation;
|
|
622
|
-
rotateZ(angle: number): Taro$1.Animation;
|
|
623
|
-
scale(sx: number, sy?: number | undefined): Taro$1.Animation;
|
|
624
|
-
scale3d(sx: number, sy: number, sz: number): Taro$1.Animation;
|
|
625
|
-
scaleX(scale: number): Taro$1.Animation;
|
|
626
|
-
scaleY(scale: number): Taro$1.Animation;
|
|
627
|
-
scaleZ(scale: number): Taro$1.Animation;
|
|
628
|
-
skew(ax: number, ay: number): Taro$1.Animation;
|
|
629
|
-
skewX(angle: number): Taro$1.Animation;
|
|
630
|
-
skewY(angle: number): Taro$1.Animation;
|
|
631
|
-
translate(tx?: number | undefined, ty?: number | undefined): Taro$1.Animation;
|
|
632
|
-
translate3d(tx?: number | undefined, ty?: number | undefined, tz?: number | undefined): Taro$1.Animation;
|
|
633
|
-
translateX(translation: number): Taro$1.Animation;
|
|
634
|
-
translateY(translation: number): Taro$1.Animation;
|
|
635
|
-
translateZ(translation: number): Taro$1.Animation;
|
|
636
|
-
opacity(value: number): Taro$1.Animation;
|
|
637
|
-
backgroundColor(value: string): Taro$1.Animation;
|
|
638
|
-
width(value: string | number): Taro$1.Animation;
|
|
639
|
-
height(value: string | number): Taro$1.Animation;
|
|
640
|
-
left(value: string | number): Taro$1.Animation;
|
|
641
|
-
right(value: string | number): Taro$1.Animation;
|
|
642
|
-
top(value: string | number): Taro$1.Animation;
|
|
643
|
-
bottom(value: string | number): Taro$1.Animation;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
declare const createAnimation: (option: Taro$1.createAnimation.Option) => Animation;
|
|
647
|
-
|
|
648
|
-
declare const setBackgroundTextStyle: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
649
|
-
declare function setBackgroundColor(options: Taro.setBackgroundColor.Option): Promise<unknown>;
|
|
650
|
-
|
|
651
|
-
declare const loadFontFace: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
652
|
-
|
|
653
|
-
declare function showToast(options: any): Promise<unknown>;
|
|
654
|
-
declare function showModal(options: any): Promise<unknown>;
|
|
655
|
-
declare function showActionSheet(options: any): Promise<unknown>;
|
|
656
|
-
declare const hideToast: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
657
|
-
declare const showLoading: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
658
|
-
declare const hideLoading: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
659
|
-
declare const enableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
660
|
-
declare const disableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
661
|
-
|
|
662
|
-
declare const getMenuButtonBoundingClientRect: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
663
|
-
|
|
664
|
-
declare const setNavigationBarTitle: typeof Taro$1.setNavigationBarTitle;
|
|
665
|
-
declare const setNavigationBarColor: typeof Taro$1.setNavigationBarColor;
|
|
666
|
-
declare const showNavigationBarLoading: typeof Taro$1.setNavigationBarColor;
|
|
667
|
-
declare const hideNavigationBarLoading: typeof Taro$1.hideNavigationBarLoading;
|
|
668
|
-
declare const hideHomeButton: typeof Taro$1.hideHomeButton;
|
|
669
|
-
|
|
670
|
-
declare const startPullDownRefresh: typeof Taro$1.startPullDownRefresh;
|
|
671
|
-
declare const stopPullDownRefresh: typeof Taro$1.stopPullDownRefresh;
|
|
672
|
-
|
|
673
|
-
declare const pageScrollTo: typeof Taro$1.pageScrollTo;
|
|
674
|
-
|
|
675
|
-
declare const setTopBarText: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
676
|
-
|
|
677
|
-
declare const showTabBar: (option?: Taro$1.showTabBar.Option | undefined) => Promise<TaroGeneral.CallbackResult>;
|
|
678
|
-
declare const hideTabBar: (option?: Taro$1.hideTabBar.Option | undefined) => Promise<TaroGeneral.CallbackResult>;
|
|
679
|
-
declare const setTabBarStyle: typeof Taro$1.setTabBarStyle;
|
|
680
|
-
declare const setTabBarItem: typeof Taro$1.setTabBarItem;
|
|
681
|
-
declare function showTabBarRedDot(options: any): Promise<unknown>;
|
|
682
|
-
declare function hideTabBarRedDot(options: any): Promise<unknown>;
|
|
683
|
-
declare function setTabBarBadge(options: any): Promise<unknown>;
|
|
684
|
-
declare function removeTabBarBadge(options: any): Promise<unknown>;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* 设置窗口大小,该接口仅适用于 PC 平台,使用细则请参见指南
|
|
688
|
-
*/
|
|
689
|
-
declare const setWindowSize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
690
|
-
/**
|
|
691
|
-
* 监听窗口尺寸变化事件
|
|
692
|
-
*/
|
|
693
|
-
declare const onWindowResize: typeof Taro$1.onWindowResize;
|
|
694
|
-
/**
|
|
695
|
-
* 取消监听窗口尺寸变化事件
|
|
696
|
-
*/
|
|
697
|
-
declare const offWindowResize: typeof Taro$1.offWindowResize;
|
|
698
|
-
declare const checkIsPictureInPictureActive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
699
|
-
|
|
700
|
-
declare const createWorker: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
701
|
-
|
|
702
|
-
declare class IntersectionObserver {
|
|
703
|
-
private _component;
|
|
704
|
-
private _observerNodes;
|
|
705
|
-
private _timer;
|
|
706
|
-
_options: {
|
|
707
|
-
thresholds: number[];
|
|
708
|
-
initialRatio: number;
|
|
709
|
-
observeAll: boolean;
|
|
710
|
-
};
|
|
711
|
-
_viewportMargins: {
|
|
712
|
-
left: number;
|
|
713
|
-
top: number;
|
|
714
|
-
right: number;
|
|
715
|
-
bottom: number;
|
|
1
|
+
import { TFunc, Current, getCurrentInstance, TaroAny } from "@tarojs/runtime";
|
|
2
|
+
import Taro from "@tarojs/taro/types";
|
|
3
|
+
declare namespace apis {
|
|
4
|
+
interface ICallbackResult {
|
|
5
|
+
/** 错误信息 */
|
|
6
|
+
errMsg: string;
|
|
7
|
+
}
|
|
8
|
+
type TCallback<T = Partial<ICallbackResult>> = (res: T) => Promise<void> | void;
|
|
9
|
+
interface IMethodParam<T = Partial<ICallbackResult>> {
|
|
10
|
+
name: string;
|
|
11
|
+
success?: TCallback<T & ICallbackResult>;
|
|
12
|
+
fail?: TCallback;
|
|
13
|
+
complete?: TCallback<T | ICallbackResult>;
|
|
14
|
+
}
|
|
15
|
+
interface IMockPromise {
|
|
16
|
+
resolve?: typeof Promise.resolve | TFunc;
|
|
17
|
+
reject?: typeof Promise.reject | TFunc;
|
|
18
|
+
}
|
|
19
|
+
class MethodHandler<T = Partial<ICallbackResult>> {
|
|
20
|
+
methodName: string;
|
|
21
|
+
protected __success?: TCallback<T>;
|
|
22
|
+
protected __fail?: TCallback;
|
|
23
|
+
protected __complete?: TCallback<T | ICallbackResult>;
|
|
24
|
+
protected isHandlerError: boolean;
|
|
25
|
+
constructor({ name, success, fail, complete }: IMethodParam<T>);
|
|
26
|
+
success<U = Record<string, unknown>>(res?: Partial<T> & Partial<ICallbackResult>, promise?: IMockPromise): Promise<T & U & ICallbackResult>;
|
|
27
|
+
fail<U = Record<string, unknown>>(res?: Partial<T> & Partial<ICallbackResult>, promise?: IMockPromise): Promise<T & U & ICallbackResult>;
|
|
28
|
+
}
|
|
29
|
+
type TCallbackManagerFunc<T extends unknown[] = unknown[]> = (...arr: T) => void;
|
|
30
|
+
interface ICallbackManagerOption<T extends unknown[] = unknown[]> {
|
|
31
|
+
callback?: TCallbackManagerFunc<T>;
|
|
32
|
+
ctx?: any;
|
|
33
|
+
[key: string]: unknown;
|
|
34
|
+
}
|
|
35
|
+
type TCallbackManagerUnit<T extends unknown[] = unknown[]> = (TCallbackManagerFunc<T> | ICallbackManagerOption<T>);
|
|
36
|
+
class CallbackManager<T extends unknown[] = unknown[]> {
|
|
37
|
+
callbacks: TCallbackManagerUnit<T>[];
|
|
38
|
+
/** 添加回调 */
|
|
39
|
+
add: (opt?: TCallbackManagerUnit<T>) => void;
|
|
40
|
+
/** 移除回调 */
|
|
41
|
+
remove: (opt?: TCallbackManagerUnit<T>) => void;
|
|
42
|
+
/** 获取回调函数数量 */
|
|
43
|
+
count: () => number;
|
|
44
|
+
/** 触发回调 */
|
|
45
|
+
trigger: (...args: T) => void;
|
|
46
|
+
}
|
|
47
|
+
const canIUse: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
48
|
+
const arrayBufferToBase64: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
49
|
+
const base64ToArrayBuffer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
50
|
+
// 加密
|
|
51
|
+
const getUserCryptoManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
52
|
+
const setEnableDebug: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
53
|
+
const getRealtimeLogManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
54
|
+
const getLogManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
55
|
+
// 性能
|
|
56
|
+
const reportPerformance: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
57
|
+
const getPerformance: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
58
|
+
const preloadWebview: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
59
|
+
const preloadSkylineView: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
60
|
+
const preloadAssets: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
61
|
+
/** 获取窗口信息 */
|
|
62
|
+
const getWindowInfo: typeof Taro.getWindowInfo;
|
|
63
|
+
/** 获取设备设置 */
|
|
64
|
+
const getSystemSetting: typeof Taro.getSystemSetting;
|
|
65
|
+
/** 获取设备设置 */
|
|
66
|
+
const getDeviceInfo: typeof Taro.getDeviceInfo;
|
|
67
|
+
/** 获取微信APP基础信息 */
|
|
68
|
+
const getAppBaseInfo: typeof Taro.getAppBaseInfo;
|
|
69
|
+
/** 获取微信APP授权设置 */
|
|
70
|
+
const getAppAuthorizeSetting: typeof Taro.getAppAuthorizeSetting;
|
|
71
|
+
/* 同步版本 */
|
|
72
|
+
const getSystemInfoSync: typeof Taro.getSystemInfoSync;
|
|
73
|
+
/* 异步版本 */
|
|
74
|
+
const getSystemInfo: typeof Taro.getSystemInfo;
|
|
75
|
+
// 更新
|
|
76
|
+
const updateWeChatApp: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
77
|
+
const getUpdateManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
78
|
+
// 应用级事件
|
|
79
|
+
const onUnhandledRejection: typeof Taro.onUnhandledRejection;
|
|
80
|
+
const onThemeChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
81
|
+
const onPageNotFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
82
|
+
const onLazyLoadError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
83
|
+
const onError: typeof Taro.onError;
|
|
84
|
+
const onAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
85
|
+
const onAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
86
|
+
const onAppShow: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
87
|
+
const onAppHide: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
88
|
+
const offUnhandledRejection: typeof Taro.offUnhandledRejection;
|
|
89
|
+
const offThemeChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
90
|
+
const offPageNotFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
91
|
+
const offLazyLoadError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
92
|
+
const offError: typeof Taro.offError;
|
|
93
|
+
const offAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
94
|
+
const offAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
95
|
+
const offAppShow: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
96
|
+
const offAppHide: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
97
|
+
// 生命周期
|
|
98
|
+
const getLaunchOptionsSync: typeof Taro.getLaunchOptionsSync;
|
|
99
|
+
const getEnterOptionsSync: typeof Taro.getEnterOptionsSync;
|
|
100
|
+
// 画布
|
|
101
|
+
/** 创建离屏 canvas 实例 */
|
|
102
|
+
const createOffscreenCanvas: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
103
|
+
/** 创建 canvas 的绘图上下文 CanvasContext 对象 */
|
|
104
|
+
// export const createCanvasContext = /* @__PURE__ */ temporarilyNotSupport('createOffscreenCanvas')
|
|
105
|
+
const createCanvasContext: (canvasId: string) => any;
|
|
106
|
+
/** 把当前画布指定区域的内容导出生成指定大小的图片 */
|
|
107
|
+
const canvasToTempFilePath: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
108
|
+
/** 将像素数据绘制到画布 */
|
|
109
|
+
const canvasPutImageData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
110
|
+
/** 获取 canvas 区域隐含的像素数据 */
|
|
111
|
+
const canvasGetImageData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
112
|
+
const reportMonitor: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
113
|
+
const reportAnalytics: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
114
|
+
const reportEvent: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
115
|
+
const getExptInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
116
|
+
/**
|
|
117
|
+
* 停止监听加速度数据。
|
|
118
|
+
*/
|
|
119
|
+
const stopAccelerometer: typeof Taro.stopAccelerometer;
|
|
120
|
+
/**
|
|
121
|
+
* 开始监听加速度数据。
|
|
122
|
+
*/
|
|
123
|
+
const startAccelerometer: typeof Taro.startAccelerometer;
|
|
124
|
+
/**
|
|
125
|
+
* 监听加速度数据事件。频率根据 Taro.startAccelerometer() 的 interval 参数。可使用 Taro.stopAccelerometer() 停止监听。
|
|
126
|
+
*/
|
|
127
|
+
const onAccelerometerChange: typeof Taro.onAccelerometerChange;
|
|
128
|
+
/**
|
|
129
|
+
* 取消监听加速度数据事件,参数为空,则取消所有的事件监听
|
|
130
|
+
*/
|
|
131
|
+
const offAccelerometerChange: typeof Taro.offAccelerometerChange;
|
|
132
|
+
// 无障碍
|
|
133
|
+
const checkIsOpenAccessibility: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
134
|
+
// 电量
|
|
135
|
+
const getBatteryInfoSync: typeof Taro.getBatteryInfoSync;
|
|
136
|
+
const getBatteryInfo: typeof Taro.getBatteryInfo;
|
|
137
|
+
// 蓝牙-通用
|
|
138
|
+
const stopBluetoothDevicesDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
139
|
+
const startBluetoothDevicesDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
140
|
+
const openBluetoothAdapter: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
141
|
+
const onBluetoothDeviceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
142
|
+
const onBluetoothAdapterStateChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
143
|
+
const offBluetoothDeviceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
144
|
+
const offBluetoothAdapterStateChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
145
|
+
const makeBluetoothPair: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
146
|
+
const isBluetoothDevicePaired: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
147
|
+
const getConnectedBluetoothDevices: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
148
|
+
const getBluetoothDevices: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
149
|
+
const getBluetoothAdapterState: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
150
|
+
const closeBluetoothAdapter: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
151
|
+
// 蓝牙-低功耗中心设备
|
|
152
|
+
const writeBLECharacteristicValue: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
153
|
+
const setBLEMTU: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
154
|
+
const readBLECharacteristicValue: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
155
|
+
const onBLEMTUChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
156
|
+
const onBLEConnectionStateChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
157
|
+
const onBLECharacteristicValueChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
158
|
+
const offBLEMTUChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
159
|
+
const offBLEConnectionStateChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
160
|
+
const offBLECharacteristicValueChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
161
|
+
const notifyBLECharacteristicValueChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
162
|
+
const getBLEMTU: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
163
|
+
const getBLEDeviceServices: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
164
|
+
const getBLEDeviceRSSI: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
165
|
+
const getBLEDeviceCharacteristics: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
166
|
+
const createBLEConnection: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
167
|
+
const closeBLEConnection: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
168
|
+
// 蓝牙-低功耗外围设备
|
|
169
|
+
const onBLEPeripheralConnectionStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
170
|
+
const offBLEPeripheralConnectionStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
171
|
+
const createBLEPeripheralServer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
172
|
+
// 日历
|
|
173
|
+
const addPhoneRepeatCalendar: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
174
|
+
const addPhoneCalendar: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
175
|
+
/**
|
|
176
|
+
* 设置系统剪贴板的内容
|
|
177
|
+
*/
|
|
178
|
+
const setClipboardData: typeof Taro.setClipboardData;
|
|
179
|
+
/**
|
|
180
|
+
* 获取系统剪贴板的内容
|
|
181
|
+
*/
|
|
182
|
+
const getClipboardData: typeof Taro.getClipboardData;
|
|
183
|
+
/**
|
|
184
|
+
* 停止监听罗盘数据
|
|
185
|
+
*/
|
|
186
|
+
const stopCompass: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
187
|
+
/**
|
|
188
|
+
* 开始监听罗盘数据
|
|
189
|
+
*/
|
|
190
|
+
const startCompass: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
191
|
+
/**
|
|
192
|
+
* 监听罗盘数据变化事件。频率:5 次/秒,接口调用后会自动开始监听,可使用 wx.stopCompass 停止监听。
|
|
193
|
+
*/
|
|
194
|
+
const onCompassChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
195
|
+
/**
|
|
196
|
+
* 取消监听罗盘数据变化事件,参数为空,则取消所有的事件监听。
|
|
197
|
+
*/
|
|
198
|
+
const offCompassChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
199
|
+
// 联系人
|
|
200
|
+
const chooseContact: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
201
|
+
const addPhoneContact: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
202
|
+
// 加密
|
|
203
|
+
const getRandomValues: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
204
|
+
/**
|
|
205
|
+
* 停止监听加速度数据。
|
|
206
|
+
*/
|
|
207
|
+
const stopGyroscope: typeof Taro.stopGyroscope;
|
|
208
|
+
/**
|
|
209
|
+
* 开始监听加速度数据。
|
|
210
|
+
*/
|
|
211
|
+
const startGyroscope: typeof Taro.startGyroscope;
|
|
212
|
+
/**
|
|
213
|
+
* 监听加速度数据事件。频率根据 Taro.startGyroscope() 的 interval 参数。可使用 Taro.stopGyroscope() 停止监听。
|
|
214
|
+
*/
|
|
215
|
+
const onGyroscopeChange: typeof Taro.onGyroscopeChange;
|
|
216
|
+
/**
|
|
217
|
+
* 取消监听加速度数据事件,参数为空,则取消所有的事件监听
|
|
218
|
+
*/
|
|
219
|
+
const offGyroscopeChange: typeof Taro.offGyroscopeChange;
|
|
220
|
+
// 蓝牙-信标(Beacon)
|
|
221
|
+
const stopBeaconDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
222
|
+
const startBeaconDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
223
|
+
const onBeaconUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
224
|
+
const onBeaconServiceChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
225
|
+
const offBeaconUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
226
|
+
const offBeaconServiceChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
227
|
+
const getBeacons: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
228
|
+
const onKeyboardHeightChange: typeof Taro.onKeyboardHeightChange;
|
|
229
|
+
const offKeyboardHeightChange: typeof Taro.offKeyboardHeightChange;
|
|
230
|
+
const hideKeyboard: typeof Taro.hideKeyboard;
|
|
231
|
+
const getSelectedTextRange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
232
|
+
const onMemoryWarning: (listener: any) => void;
|
|
233
|
+
const offMemoryWarning: (listener: any) => void;
|
|
234
|
+
const stopDeviceMotionListening: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
235
|
+
const startDeviceMotionListening: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
236
|
+
const onDeviceMotionChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
237
|
+
const offDeviceMotionChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
238
|
+
const getNetworkType: typeof Taro.getNetworkType;
|
|
239
|
+
/**
|
|
240
|
+
* 在最近的八次网络请求中, 出现下列三个现象之一则判定弱网。
|
|
241
|
+
* - 出现三次以上连接超时
|
|
242
|
+
* - 出现三次 rtt 超过 400
|
|
243
|
+
* - 出现三次以上的丢包
|
|
244
|
+
* > 弱网事件通知规则是: 弱网状态变化时立即通知, 状态不变时 30s 内最多通知一次。
|
|
245
|
+
*/
|
|
246
|
+
const onNetworkWeakChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
247
|
+
const onNetworkStatusChange: typeof Taro.onNetworkStatusChange;
|
|
248
|
+
const offNetworkWeakChange: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
249
|
+
const offNetworkStatusChange: typeof Taro.offNetworkStatusChange;
|
|
250
|
+
const getLocalIPAddress: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
251
|
+
// NFC
|
|
252
|
+
const stopHCE: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
253
|
+
const startHCE: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
254
|
+
const sendHCEMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
255
|
+
const onHCEMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
256
|
+
const offHCEMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
257
|
+
const getNFCAdapter: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
258
|
+
const getHCEState: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
259
|
+
const makePhoneCall: typeof Taro.makePhoneCall;
|
|
260
|
+
// 扫码
|
|
261
|
+
const scanCode: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
262
|
+
// 屏幕
|
|
263
|
+
const setVisualEffectOnCapture: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
264
|
+
const setScreenBrightness: typeof Taro.setScreenBrightness;
|
|
265
|
+
const setKeepScreenOn: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
266
|
+
const onUserCaptureScreen: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
267
|
+
const offUserCaptureScreen: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
268
|
+
const getScreenBrightness: typeof Taro.getScreenBrightness;
|
|
269
|
+
const onScreenRecordingStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
270
|
+
const offScreenRecordingStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
271
|
+
const getScreenRecordingState: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
272
|
+
// 短信
|
|
273
|
+
const sendSms: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
274
|
+
const vibrateLong: ({ success, fail, complete }?: Taro.vibrateLong.Option) => Promise<unknown>;
|
|
275
|
+
const vibrateShort: ({ success, fail, complete }?: Taro.vibrateLong.Option) => Promise<unknown>;
|
|
276
|
+
// Wi-Fi
|
|
277
|
+
const stopWifi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
278
|
+
const startWifi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
279
|
+
const setWifiList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
280
|
+
const onWifiConnectedWithPartialInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
281
|
+
const onWifiConnected: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
282
|
+
const onGetWifiList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
283
|
+
const offWifiConnectedWithPartialInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
284
|
+
const offWifiConnected: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
285
|
+
const offGetWifiList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
286
|
+
const getWifiList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
287
|
+
const getConnectedWifi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
288
|
+
const connectWifi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
289
|
+
// 第三方平台
|
|
290
|
+
const getExtConfigSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
291
|
+
const getExtConfig: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
292
|
+
function validateSavedFilePath(savedFilePath: string): void;
|
|
293
|
+
function getFileSystemManager(): Taro.FileSystemManager;
|
|
294
|
+
const saveFileToDisk: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
295
|
+
/**
|
|
296
|
+
* HarmonyOS 不支持 showMenu 选项,并且 type 目前仅支持 *,详情参见:
|
|
297
|
+
* https://developer.harmonyos.com/cn/docs/documentation/doc-references/js-apis-document-0000001168936589#section9616125953711
|
|
298
|
+
*/
|
|
299
|
+
function openDocument(option: Taro.openDocument.Option): Promise<any>;
|
|
300
|
+
function saveFile(option: Taro.saveFile.Option): Promise<any>;
|
|
301
|
+
function removeSavedFile(option: Taro.removeSavedFile.Option): Promise<any>;
|
|
302
|
+
function getFileInfo(option: Taro.getFileInfo.Option): Promise<Taro.getFileInfo.SuccessCallbackResult | Taro.getFileInfo.FailCallbackResult>;
|
|
303
|
+
function getSavedFileList(option?: Taro.getSavedFileList.Option): Promise<Taro.getSavedFileList.SuccessCallbackResult>;
|
|
304
|
+
function getSavedFileInfo(option: Taro.getSavedFileInfo.Option): Promise<Taro.getSavedFileInfo.SuccessCallbackResult>;
|
|
305
|
+
const ENV_TYPE: {
|
|
306
|
+
WEAPP: string;
|
|
307
|
+
SWAN: string;
|
|
308
|
+
ALIPAY: string;
|
|
309
|
+
TT: string;
|
|
310
|
+
QQ: string;
|
|
311
|
+
JD: string;
|
|
312
|
+
WEB: string;
|
|
313
|
+
RN: string;
|
|
314
|
+
HARMONY: string;
|
|
315
|
+
QUICKAPP: string;
|
|
716
316
|
};
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
},
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
317
|
+
function getEnv(): string;
|
|
318
|
+
// TODO
|
|
319
|
+
const getCurrentPages: () => never[];
|
|
320
|
+
const requirePlugin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
321
|
+
/** 鸿蒙专属 */
|
|
322
|
+
function updatePageSync(): void;
|
|
323
|
+
function unstable_SetPageIsTextNeedLayout(isNeed: boolean): void;
|
|
324
|
+
// TaskPool 专属方法
|
|
325
|
+
const triggerTaskPoolMethods: ({ name, args, complete, fail, success }?: {
|
|
326
|
+
name?: string;
|
|
327
|
+
args?: TaroAny[];
|
|
328
|
+
complete?: (res: TaroAny) => void;
|
|
329
|
+
fail?: (res: TaroAny) => void;
|
|
330
|
+
success?: (res: TaroAny) => void;
|
|
331
|
+
}) => Promise<unknown>;
|
|
332
|
+
// 位置
|
|
333
|
+
const stopLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
334
|
+
const startLocationUpdateBackground: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
335
|
+
const startLocationUpdate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
336
|
+
const openLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
337
|
+
// TODO:增加参数校验
|
|
338
|
+
// const getLocationSchema = {
|
|
339
|
+
// type: 'String',
|
|
340
|
+
// altitude: 'Boolean',
|
|
341
|
+
// ishighAccuracy: 'Boolean',
|
|
342
|
+
// highAccuracyExpireTime: 'number'
|
|
343
|
+
// }
|
|
344
|
+
const getLocation: typeof Taro.getLocation;
|
|
345
|
+
const onLocationChange: typeof Taro.onLocationChange;
|
|
346
|
+
const offLocationChange: typeof Taro.offLocationChange;
|
|
347
|
+
const onLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
348
|
+
const offLocationChangeError: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
349
|
+
const choosePoi: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
350
|
+
const chooseLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
351
|
+
const getFuzzyLocation: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
352
|
+
// 音频
|
|
353
|
+
const stopVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
354
|
+
const setInnerAudioOption: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
355
|
+
const playVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
356
|
+
const pauseVoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
357
|
+
const getAvailableAudioSources: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
358
|
+
const createWebAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
359
|
+
const createMediaAudioPlayer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
751
360
|
/**
|
|
752
|
-
*
|
|
753
|
-
* @param component 指定组件
|
|
754
|
-
* @return selectQuery 返回查询对象
|
|
361
|
+
* 创建内部 audio 上下文 InnerAudioContext 对象。
|
|
755
362
|
*/
|
|
756
|
-
|
|
363
|
+
const createInnerAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
364
|
+
const createAudioContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
365
|
+
/** Harmony 专属,更新 audio 状态 */
|
|
366
|
+
const refreshAudioSession: () => void;
|
|
367
|
+
// 背景音频
|
|
368
|
+
const stopBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
369
|
+
const seekBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
370
|
+
const playBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
371
|
+
const pauseBackgroundAudio: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
372
|
+
const onBackgroundAudioStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
373
|
+
const onBackgroundAudioPlay: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
374
|
+
const onBackgroundAudioPause: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
375
|
+
const getBackgroundAudioPlayerState: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
757
376
|
/**
|
|
758
|
-
*
|
|
759
|
-
* @param selector
|
|
760
|
-
* @return nodesRef 返回一个NodesRef 对象实例,可以用于获取节点信息
|
|
377
|
+
* 获取全局唯一的背景音频管理器
|
|
761
378
|
*/
|
|
762
|
-
|
|
379
|
+
const getBackgroundAudioManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
380
|
+
const createCameraContext: typeof Taro.createCameraContext;
|
|
381
|
+
// TODO: 扩展支持预览video
|
|
382
|
+
const previewMedia: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
383
|
+
const chooseMedia: typeof Taro.chooseMedia;
|
|
384
|
+
const previewImage: typeof Taro.previewImage;
|
|
385
|
+
const getImageInfo: typeof Taro.getImageInfo;
|
|
386
|
+
const compressImage: typeof Taro.compressImage;
|
|
387
|
+
const chooseImage: typeof Taro.chooseImage;
|
|
388
|
+
const saveImageToPhotosAlbum: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
389
|
+
// 实时音视频
|
|
390
|
+
const createLivePusherContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
391
|
+
const createLivePlayerContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
392
|
+
// 地图
|
|
393
|
+
const createMapContext: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
394
|
+
// 画面录制器
|
|
395
|
+
const createMediaRecorder: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
396
|
+
// 录音
|
|
397
|
+
const stopRecord: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
398
|
+
const startRecord: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
399
|
+
const getRecorderManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
400
|
+
const createVideoContext: typeof Taro.createVideoContext;
|
|
401
|
+
// TODO: 1.返回属性补全
|
|
402
|
+
// TODO: 2.只支持从相册选择,补充摄像头拍摄功能,需要HarmonyOS提供选择组件
|
|
403
|
+
const chooseVideo: typeof Taro.chooseVideo;
|
|
404
|
+
const compressVideo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
405
|
+
const getVideoInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
406
|
+
const openVideoEditor: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
407
|
+
const saveVideoToPhotosAlbum: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
408
|
+
// 视频解码器
|
|
409
|
+
const createVideoDecoder: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
410
|
+
// 音视频合成
|
|
411
|
+
const createMediaContainer: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
412
|
+
// 实时语音
|
|
413
|
+
const updateVoIPChatMuteConfig: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
414
|
+
const subscribeVoIPVideoMembers: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
415
|
+
const setEnable1v1Chat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
416
|
+
const onVoIPVideoMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
417
|
+
const onVoIPChatStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
418
|
+
const onVoIPChatSpeakersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
419
|
+
const onVoIPChatMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
420
|
+
const onVoIPChatInterrupted: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
421
|
+
const offVoIPChatSpeakersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
422
|
+
const offVoIPVideoMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
423
|
+
const offVoIPChatStateChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
424
|
+
const offVoIPChatMembersChanged: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
425
|
+
const offVoIPChatInterrupted: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
426
|
+
const joinVoIPChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
427
|
+
const join1v1Chat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
428
|
+
const exitVoIPChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
429
|
+
// 跳转
|
|
430
|
+
const openEmbeddedMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
431
|
+
const navigateToMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
432
|
+
const navigateBackMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
433
|
+
const exitMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
434
|
+
const openBusinessView: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
435
|
+
const downloadFile: typeof Taro.uploadFile;
|
|
436
|
+
// mDNS
|
|
437
|
+
const stopLocalServiceDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
438
|
+
const startLocalServiceDiscovery: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
439
|
+
const onLocalServiceResolveFail: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
440
|
+
const onLocalServiceLost: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
441
|
+
const onLocalServiceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
442
|
+
const onLocalServiceDiscoveryStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
443
|
+
const offLocalServiceResolveFail: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
444
|
+
const offLocalServiceLost: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
445
|
+
const offLocalServiceFound: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
446
|
+
const offLocalServiceDiscoveryStop: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
447
|
+
type TRequest = typeof Taro.request;
|
|
448
|
+
const request: TRequest;
|
|
449
|
+
// TCP 通信
|
|
450
|
+
const createTCPSocket: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
451
|
+
// UDP 通信
|
|
452
|
+
const createUDPSocket: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
453
|
+
const uploadFile: typeof Taro.uploadFile;
|
|
454
|
+
const connectSocket: typeof Taro.connectSocket;
|
|
455
|
+
// 帐号信息
|
|
456
|
+
const getAccountInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
457
|
+
// 收货地址
|
|
458
|
+
const chooseAddress: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
459
|
+
// 授权
|
|
460
|
+
const authorizeForMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
461
|
+
const authorize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
462
|
+
// 卡券
|
|
463
|
+
const openCard: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
464
|
+
const addCard: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
465
|
+
// 视频号
|
|
466
|
+
const reserveChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
467
|
+
const openChannelsUserProfile: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
468
|
+
const openChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
469
|
+
const openChannelsEvent: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
470
|
+
const openChannelsActivity: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
471
|
+
const getChannelsShareKey: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
472
|
+
const getChannelsLiveNoticeInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
473
|
+
const getChannelsLiveInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
474
|
+
// 微信客服
|
|
475
|
+
const openCustomerServiceChat: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
476
|
+
// 设备(组)音视频通话
|
|
477
|
+
const requestDeviceVoIP: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
478
|
+
const getDeviceVoIPList: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
479
|
+
// 过往接口
|
|
480
|
+
const checkIsSupportFacialRecognition: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
481
|
+
const startFacialRecognitionVerify: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
482
|
+
const startFacialRecognitionVerifyAndUploadVideo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
483
|
+
const faceVerifyForPay: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
484
|
+
// 收藏
|
|
485
|
+
const addVideoToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
486
|
+
const addFileToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
487
|
+
// 微信群
|
|
488
|
+
const getGroupEnterInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
489
|
+
// 发票
|
|
490
|
+
const chooseInvoiceTitle: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
491
|
+
const chooseInvoice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
492
|
+
// 车牌
|
|
493
|
+
const chooseLicensePlate: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
494
|
+
// 帐号信息
|
|
495
|
+
const pluginLogin: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
496
|
+
const login: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
497
|
+
const checkSession: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
498
|
+
// 我的小程序
|
|
499
|
+
const checkIsAddedToMyMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
500
|
+
// 隐私信息授权
|
|
501
|
+
const requirePrivacyAuthorize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
502
|
+
const openPrivacyContract: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
503
|
+
const onNeedPrivacyAuthorization: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
504
|
+
const getPrivacySetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
505
|
+
// 微信红包
|
|
506
|
+
const showRedPackage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
507
|
+
// 设置
|
|
508
|
+
const openSetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
509
|
+
const getSetting: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
510
|
+
// 生物认证
|
|
511
|
+
const startSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
512
|
+
const checkIsSupportSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
513
|
+
const checkIsSoterEnrolledInDevice: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
514
|
+
// 订阅消息
|
|
515
|
+
const requestSubscribeMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
516
|
+
// 订阅设备消息
|
|
517
|
+
const requestSubscribeDeviceMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
763
518
|
/**
|
|
764
|
-
*
|
|
765
|
-
* @param
|
|
519
|
+
* 通过Scope数组获取已登录的对应帐号信息(依赖login行为)
|
|
520
|
+
* @param options
|
|
766
521
|
*/
|
|
767
|
-
|
|
522
|
+
const getUserInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
523
|
+
// export function getUserInfo (options) {
|
|
524
|
+
// const { success, fail, complete } = options
|
|
525
|
+
// const res: Record<string, any> = {}
|
|
526
|
+
// // const result = hmsJSAccount.HuaweiIdAuthManager.getAuthResultWithScopes([hmsJSAccount.PROFILE])
|
|
527
|
+
// const result = null
|
|
528
|
+
// if (result) {
|
|
529
|
+
// res.data = { userInfo: generateUserInfo(result) }
|
|
530
|
+
// isFunction(success) && success(res)
|
|
531
|
+
// } else {
|
|
532
|
+
// res.errorMsg = 'getUserInfo result data is null'
|
|
533
|
+
// isFunction(fail) && fail(res)
|
|
534
|
+
// }
|
|
535
|
+
// isFunction(complete) && complete(res)
|
|
536
|
+
// }
|
|
768
537
|
/**
|
|
769
|
-
*
|
|
538
|
+
* 获取用户信息
|
|
770
539
|
*/
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
declare const apis_onBackgroundFetchData: typeof onBackgroundFetchData;
|
|
1012
|
-
declare const apis_onBeaconServiceChange: typeof onBeaconServiceChange;
|
|
1013
|
-
declare const apis_onBeaconUpdate: typeof onBeaconUpdate;
|
|
1014
|
-
declare const apis_onBluetoothAdapterStateChange: typeof onBluetoothAdapterStateChange;
|
|
1015
|
-
declare const apis_onBluetoothDeviceFound: typeof onBluetoothDeviceFound;
|
|
1016
|
-
declare const apis_onCompassChange: typeof onCompassChange;
|
|
1017
|
-
declare const apis_onCopyUrl: typeof onCopyUrl;
|
|
1018
|
-
declare const apis_onDeviceMotionChange: typeof onDeviceMotionChange;
|
|
1019
|
-
declare const apis_onError: typeof onError;
|
|
1020
|
-
declare const apis_onGetWifiList: typeof onGetWifiList;
|
|
1021
|
-
declare const apis_onGyroscopeChange: typeof onGyroscopeChange;
|
|
1022
|
-
declare const apis_onHCEMessage: typeof onHCEMessage;
|
|
1023
|
-
declare const apis_onKeyboardHeightChange: typeof onKeyboardHeightChange;
|
|
1024
|
-
declare const apis_onLazyLoadError: typeof onLazyLoadError;
|
|
1025
|
-
declare const apis_onLocalServiceDiscoveryStop: typeof onLocalServiceDiscoveryStop;
|
|
1026
|
-
declare const apis_onLocalServiceFound: typeof onLocalServiceFound;
|
|
1027
|
-
declare const apis_onLocalServiceLost: typeof onLocalServiceLost;
|
|
1028
|
-
declare const apis_onLocalServiceResolveFail: typeof onLocalServiceResolveFail;
|
|
1029
|
-
declare const apis_onLocationChange: typeof onLocationChange;
|
|
1030
|
-
declare const apis_onLocationChangeError: typeof onLocationChangeError;
|
|
1031
|
-
declare const apis_onMemoryWarning: typeof onMemoryWarning;
|
|
1032
|
-
declare const apis_onNeedPrivacyAuthorization: typeof onNeedPrivacyAuthorization;
|
|
1033
|
-
declare const apis_onNetworkStatusChange: typeof onNetworkStatusChange;
|
|
1034
|
-
declare const apis_onNetworkWeakChange: typeof onNetworkWeakChange;
|
|
1035
|
-
declare const apis_onPageNotFound: typeof onPageNotFound;
|
|
1036
|
-
declare const apis_onScreenRecordingStateChanged: typeof onScreenRecordingStateChanged;
|
|
1037
|
-
declare const apis_onThemeChange: typeof onThemeChange;
|
|
1038
|
-
declare const apis_onUnhandledRejection: typeof onUnhandledRejection;
|
|
1039
|
-
declare const apis_onUserCaptureScreen: typeof onUserCaptureScreen;
|
|
1040
|
-
declare const apis_onVoIPChatInterrupted: typeof onVoIPChatInterrupted;
|
|
1041
|
-
declare const apis_onVoIPChatMembersChanged: typeof onVoIPChatMembersChanged;
|
|
1042
|
-
declare const apis_onVoIPChatSpeakersChanged: typeof onVoIPChatSpeakersChanged;
|
|
1043
|
-
declare const apis_onVoIPChatStateChanged: typeof onVoIPChatStateChanged;
|
|
1044
|
-
declare const apis_onVoIPVideoMembersChanged: typeof onVoIPVideoMembersChanged;
|
|
1045
|
-
declare const apis_onWifiConnected: typeof onWifiConnected;
|
|
1046
|
-
declare const apis_onWifiConnectedWithPartialInfo: typeof onWifiConnectedWithPartialInfo;
|
|
1047
|
-
declare const apis_onWindowResize: typeof onWindowResize;
|
|
1048
|
-
declare const apis_openBluetoothAdapter: typeof openBluetoothAdapter;
|
|
1049
|
-
declare const apis_openBusinessView: typeof openBusinessView;
|
|
1050
|
-
declare const apis_openCard: typeof openCard;
|
|
1051
|
-
declare const apis_openChannelsActivity: typeof openChannelsActivity;
|
|
1052
|
-
declare const apis_openChannelsEvent: typeof openChannelsEvent;
|
|
1053
|
-
declare const apis_openChannelsLive: typeof openChannelsLive;
|
|
1054
|
-
declare const apis_openChannelsUserProfile: typeof openChannelsUserProfile;
|
|
1055
|
-
declare const apis_openCustomerServiceChat: typeof openCustomerServiceChat;
|
|
1056
|
-
declare const apis_openDocument: typeof openDocument;
|
|
1057
|
-
declare const apis_openEmbeddedMiniProgram: typeof openEmbeddedMiniProgram;
|
|
1058
|
-
declare const apis_openLocation: typeof openLocation;
|
|
1059
|
-
declare const apis_openPrivacyContract: typeof openPrivacyContract;
|
|
1060
|
-
declare const apis_openSetting: typeof openSetting;
|
|
1061
|
-
declare const apis_openVideoEditor: typeof openVideoEditor;
|
|
1062
|
-
declare const apis_pageScrollTo: typeof pageScrollTo;
|
|
1063
|
-
declare const apis_pauseBackgroundAudio: typeof pauseBackgroundAudio;
|
|
1064
|
-
declare const apis_pauseVoice: typeof pauseVoice;
|
|
1065
|
-
declare const apis_playBackgroundAudio: typeof playBackgroundAudio;
|
|
1066
|
-
declare const apis_playVoice: typeof playVoice;
|
|
1067
|
-
declare const apis_pluginLogin: typeof pluginLogin;
|
|
1068
|
-
declare const apis_preloadAssets: typeof preloadAssets;
|
|
1069
|
-
declare const apis_preloadSkylineView: typeof preloadSkylineView;
|
|
1070
|
-
declare const apis_preloadWebview: typeof preloadWebview;
|
|
1071
|
-
declare const apis_previewImage: typeof previewImage;
|
|
1072
|
-
declare const apis_previewMedia: typeof previewMedia;
|
|
1073
|
-
declare const apis_reLaunch: typeof reLaunch;
|
|
1074
|
-
declare const apis_readBLECharacteristicValue: typeof readBLECharacteristicValue;
|
|
1075
|
-
declare const apis_redirectTo: typeof redirectTo;
|
|
1076
|
-
declare const apis_refreshAudioSession: typeof refreshAudioSession;
|
|
1077
|
-
declare const apis_removeSavedFile: typeof removeSavedFile;
|
|
1078
|
-
declare const apis_removeStorage: typeof removeStorage;
|
|
1079
|
-
declare const apis_removeStorageSync: typeof removeStorageSync;
|
|
1080
|
-
declare const apis_removeTabBarBadge: typeof removeTabBarBadge;
|
|
1081
|
-
declare const apis_reportAnalytics: typeof reportAnalytics;
|
|
1082
|
-
declare const apis_reportEvent: typeof reportEvent;
|
|
1083
|
-
declare const apis_reportMonitor: typeof reportMonitor;
|
|
1084
|
-
declare const apis_reportPerformance: typeof reportPerformance;
|
|
1085
|
-
declare const apis_request: typeof request;
|
|
1086
|
-
declare const apis_requestDeviceVoIP: typeof requestDeviceVoIP;
|
|
1087
|
-
declare const apis_requestOrderPayment: typeof requestOrderPayment;
|
|
1088
|
-
declare const apis_requestPayment: typeof requestPayment;
|
|
1089
|
-
declare const apis_requestPluginPayment: typeof requestPluginPayment;
|
|
1090
|
-
declare const apis_requestSubscribeDeviceMessage: typeof requestSubscribeDeviceMessage;
|
|
1091
|
-
declare const apis_requestSubscribeMessage: typeof requestSubscribeMessage;
|
|
1092
|
-
declare const apis_requirePlugin: typeof requirePlugin;
|
|
1093
|
-
declare const apis_requirePrivacyAuthorize: typeof requirePrivacyAuthorize;
|
|
1094
|
-
declare const apis_reserveChannelsLive: typeof reserveChannelsLive;
|
|
1095
|
-
declare const apis_revokeBufferURL: typeof revokeBufferURL;
|
|
1096
|
-
declare const apis_saveFile: typeof saveFile;
|
|
1097
|
-
declare const apis_saveFileToDisk: typeof saveFileToDisk;
|
|
1098
|
-
declare const apis_saveImageToPhotosAlbum: typeof saveImageToPhotosAlbum;
|
|
1099
|
-
declare const apis_saveVideoToPhotosAlbum: typeof saveVideoToPhotosAlbum;
|
|
1100
|
-
declare const apis_scanCode: typeof scanCode;
|
|
1101
|
-
declare const apis_seekBackgroundAudio: typeof seekBackgroundAudio;
|
|
1102
|
-
declare const apis_sendHCEMessage: typeof sendHCEMessage;
|
|
1103
|
-
declare const apis_sendSms: typeof sendSms;
|
|
1104
|
-
declare const apis_setBLEMTU: typeof setBLEMTU;
|
|
1105
|
-
declare const apis_setBackgroundColor: typeof setBackgroundColor;
|
|
1106
|
-
declare const apis_setBackgroundFetchToken: typeof setBackgroundFetchToken;
|
|
1107
|
-
declare const apis_setBackgroundTextStyle: typeof setBackgroundTextStyle;
|
|
1108
|
-
declare const apis_setClipboardData: typeof setClipboardData;
|
|
1109
|
-
declare const apis_setEnable1v1Chat: typeof setEnable1v1Chat;
|
|
1110
|
-
declare const apis_setEnableDebug: typeof setEnableDebug;
|
|
1111
|
-
declare const apis_setInnerAudioOption: typeof setInnerAudioOption;
|
|
1112
|
-
declare const apis_setKeepScreenOn: typeof setKeepScreenOn;
|
|
1113
|
-
declare const apis_setNavigationBarColor: typeof setNavigationBarColor;
|
|
1114
|
-
declare const apis_setNavigationBarTitle: typeof setNavigationBarTitle;
|
|
1115
|
-
declare const apis_setScreenBrightness: typeof setScreenBrightness;
|
|
1116
|
-
declare const apis_setStorage: typeof setStorage;
|
|
1117
|
-
declare const apis_setStorageSync: typeof setStorageSync;
|
|
1118
|
-
declare const apis_setTabBarBadge: typeof setTabBarBadge;
|
|
1119
|
-
declare const apis_setTabBarItem: typeof setTabBarItem;
|
|
1120
|
-
declare const apis_setTabBarStyle: typeof setTabBarStyle;
|
|
1121
|
-
declare const apis_setTopBarText: typeof setTopBarText;
|
|
1122
|
-
declare const apis_setVisualEffectOnCapture: typeof setVisualEffectOnCapture;
|
|
1123
|
-
declare const apis_setWifiList: typeof setWifiList;
|
|
1124
|
-
declare const apis_setWindowSize: typeof setWindowSize;
|
|
1125
|
-
declare const apis_shareFileMessage: typeof shareFileMessage;
|
|
1126
|
-
declare const apis_shareToWeRun: typeof shareToWeRun;
|
|
1127
|
-
declare const apis_shareVideoMessage: typeof shareVideoMessage;
|
|
1128
|
-
declare const apis_showActionSheet: typeof showActionSheet;
|
|
1129
|
-
declare const apis_showLoading: typeof showLoading;
|
|
1130
|
-
declare const apis_showModal: typeof showModal;
|
|
1131
|
-
declare const apis_showNavigationBarLoading: typeof showNavigationBarLoading;
|
|
1132
|
-
declare const apis_showRedPackage: typeof showRedPackage;
|
|
1133
|
-
declare const apis_showShareImageMenu: typeof showShareImageMenu;
|
|
1134
|
-
declare const apis_showShareMenu: typeof showShareMenu;
|
|
1135
|
-
declare const apis_showTabBar: typeof showTabBar;
|
|
1136
|
-
declare const apis_showTabBarRedDot: typeof showTabBarRedDot;
|
|
1137
|
-
declare const apis_showToast: typeof showToast;
|
|
1138
|
-
declare const apis_startAccelerometer: typeof startAccelerometer;
|
|
1139
|
-
declare const apis_startBeaconDiscovery: typeof startBeaconDiscovery;
|
|
1140
|
-
declare const apis_startBluetoothDevicesDiscovery: typeof startBluetoothDevicesDiscovery;
|
|
1141
|
-
declare const apis_startCompass: typeof startCompass;
|
|
1142
|
-
declare const apis_startDeviceMotionListening: typeof startDeviceMotionListening;
|
|
1143
|
-
declare const apis_startFacialRecognitionVerify: typeof startFacialRecognitionVerify;
|
|
1144
|
-
declare const apis_startFacialRecognitionVerifyAndUploadVideo: typeof startFacialRecognitionVerifyAndUploadVideo;
|
|
1145
|
-
declare const apis_startGyroscope: typeof startGyroscope;
|
|
1146
|
-
declare const apis_startHCE: typeof startHCE;
|
|
1147
|
-
declare const apis_startLocalServiceDiscovery: typeof startLocalServiceDiscovery;
|
|
1148
|
-
declare const apis_startLocationUpdate: typeof startLocationUpdate;
|
|
1149
|
-
declare const apis_startLocationUpdateBackground: typeof startLocationUpdateBackground;
|
|
1150
|
-
declare const apis_startPullDownRefresh: typeof startPullDownRefresh;
|
|
1151
|
-
declare const apis_startRecord: typeof startRecord;
|
|
1152
|
-
declare const apis_startSoterAuthentication: typeof startSoterAuthentication;
|
|
1153
|
-
declare const apis_startWifi: typeof startWifi;
|
|
1154
|
-
declare const apis_stopAccelerometer: typeof stopAccelerometer;
|
|
1155
|
-
declare const apis_stopBackgroundAudio: typeof stopBackgroundAudio;
|
|
1156
|
-
declare const apis_stopBeaconDiscovery: typeof stopBeaconDiscovery;
|
|
1157
|
-
declare const apis_stopBluetoothDevicesDiscovery: typeof stopBluetoothDevicesDiscovery;
|
|
1158
|
-
declare const apis_stopCompass: typeof stopCompass;
|
|
1159
|
-
declare const apis_stopDeviceMotionListening: typeof stopDeviceMotionListening;
|
|
1160
|
-
declare const apis_stopGyroscope: typeof stopGyroscope;
|
|
1161
|
-
declare const apis_stopHCE: typeof stopHCE;
|
|
1162
|
-
declare const apis_stopLocalServiceDiscovery: typeof stopLocalServiceDiscovery;
|
|
1163
|
-
declare const apis_stopLocationUpdate: typeof stopLocationUpdate;
|
|
1164
|
-
declare const apis_stopPullDownRefresh: typeof stopPullDownRefresh;
|
|
1165
|
-
declare const apis_stopRecord: typeof stopRecord;
|
|
1166
|
-
declare const apis_stopVoice: typeof stopVoice;
|
|
1167
|
-
declare const apis_stopWifi: typeof stopWifi;
|
|
1168
|
-
declare const apis_subscribeVoIPVideoMembers: typeof subscribeVoIPVideoMembers;
|
|
1169
|
-
declare const apis_switchTab: typeof switchTab;
|
|
1170
|
-
declare const apis_triggerTaskPoolMethods: typeof triggerTaskPoolMethods;
|
|
1171
|
-
declare const apis_unstable_SetPageIsTextNeedLayout: typeof unstable_SetPageIsTextNeedLayout;
|
|
1172
|
-
declare const apis_updatePageSync: typeof updatePageSync;
|
|
1173
|
-
declare const apis_updateShareMenu: typeof updateShareMenu;
|
|
1174
|
-
declare const apis_updateVoIPChatMuteConfig: typeof updateVoIPChatMuteConfig;
|
|
1175
|
-
declare const apis_updateWeChatApp: typeof updateWeChatApp;
|
|
1176
|
-
declare const apis_uploadFile: typeof uploadFile;
|
|
1177
|
-
declare const apis_vibrateLong: typeof vibrateLong;
|
|
1178
|
-
declare const apis_vibrateShort: typeof vibrateShort;
|
|
1179
|
-
declare const apis_writeBLECharacteristicValue: typeof writeBLECharacteristicValue;
|
|
1180
|
-
declare namespace apis {
|
|
1181
|
-
export {
|
|
1182
|
-
apis_Current as Current,
|
|
1183
|
-
apis_ENV_TYPE as ENV_TYPE,
|
|
1184
|
-
apis_Events as Events,
|
|
1185
|
-
apis_History as History,
|
|
1186
|
-
apis_IntersectionObserver as IntersectionObserver,
|
|
1187
|
-
apis_addCard as addCard,
|
|
1188
|
-
apis_addFileToFavorites as addFileToFavorites,
|
|
1189
|
-
apis_addPhoneCalendar as addPhoneCalendar,
|
|
1190
|
-
apis_addPhoneContact as addPhoneContact,
|
|
1191
|
-
apis_addPhoneRepeatCalendar as addPhoneRepeatCalendar,
|
|
1192
|
-
apis_addVideoToFavorites as addVideoToFavorites,
|
|
1193
|
-
apis_arrayBufferToBase64 as arrayBufferToBase64,
|
|
1194
|
-
apis_authPrivateMessage as authPrivateMessage,
|
|
1195
|
-
apis_authorize as authorize,
|
|
1196
|
-
apis_authorizeForMiniProgram as authorizeForMiniProgram,
|
|
1197
|
-
apis_base64ToArrayBuffer as base64ToArrayBuffer,
|
|
1198
|
-
apis_batchGetStorage as batchGetStorage,
|
|
1199
|
-
apis_batchGetStorageSync as batchGetStorageSync,
|
|
1200
|
-
apis_batchSetStorage as batchSetStorage,
|
|
1201
|
-
apis_batchSetStorageSync as batchSetStorageSync,
|
|
1202
|
-
apis_canIUse as canIUse,
|
|
1203
|
-
apis_canvasGetImageData as canvasGetImageData,
|
|
1204
|
-
apis_canvasPutImageData as canvasPutImageData,
|
|
1205
|
-
apis_canvasToTempFilePath as canvasToTempFilePath,
|
|
1206
|
-
apis_checkIsAddedToMyMiniProgram as checkIsAddedToMyMiniProgram,
|
|
1207
|
-
apis_checkIsOpenAccessibility as checkIsOpenAccessibility,
|
|
1208
|
-
apis_checkIsPictureInPictureActive as checkIsPictureInPictureActive,
|
|
1209
|
-
apis_checkIsSoterEnrolledInDevice as checkIsSoterEnrolledInDevice,
|
|
1210
|
-
apis_checkIsSupportFacialRecognition as checkIsSupportFacialRecognition,
|
|
1211
|
-
apis_checkIsSupportSoterAuthentication as checkIsSupportSoterAuthentication,
|
|
1212
|
-
apis_checkSession as checkSession,
|
|
1213
|
-
apis_chooseAddress as chooseAddress,
|
|
1214
|
-
apis_chooseContact as chooseContact,
|
|
1215
|
-
apis_chooseImage as chooseImage,
|
|
1216
|
-
apis_chooseInvoice as chooseInvoice,
|
|
1217
|
-
apis_chooseInvoiceTitle as chooseInvoiceTitle,
|
|
1218
|
-
apis_chooseLicensePlate as chooseLicensePlate,
|
|
1219
|
-
apis_chooseLocation as chooseLocation,
|
|
1220
|
-
apis_chooseMedia as chooseMedia,
|
|
1221
|
-
apis_choosePoi as choosePoi,
|
|
1222
|
-
apis_chooseVideo as chooseVideo,
|
|
1223
|
-
apis_clearStorage as clearStorage,
|
|
1224
|
-
apis_clearStorageSync as clearStorageSync,
|
|
1225
|
-
apis_closeBLEConnection as closeBLEConnection,
|
|
1226
|
-
apis_closeBluetoothAdapter as closeBluetoothAdapter,
|
|
1227
|
-
apis_compressImage as compressImage,
|
|
1228
|
-
apis_compressVideo as compressVideo,
|
|
1229
|
-
apis_connectSocket as connectSocket,
|
|
1230
|
-
apis_connectWifi as connectWifi,
|
|
1231
|
-
apis_createAnimation as createAnimation,
|
|
1232
|
-
apis_createAudioContext as createAudioContext,
|
|
1233
|
-
apis_createBLEConnection as createBLEConnection,
|
|
1234
|
-
apis_createBLEPeripheralServer as createBLEPeripheralServer,
|
|
1235
|
-
apis_createBufferURL as createBufferURL,
|
|
1236
|
-
apis_createCacheManager as createCacheManager,
|
|
1237
|
-
apis_createCameraContext as createCameraContext,
|
|
1238
|
-
apis_createCanvasContext as createCanvasContext,
|
|
1239
|
-
apis_createInnerAudioContext as createInnerAudioContext,
|
|
1240
|
-
apis_createIntersectionObserver as createIntersectionObserver,
|
|
1241
|
-
apis_createLivePlayerContext as createLivePlayerContext,
|
|
1242
|
-
apis_createLivePusherContext as createLivePusherContext,
|
|
1243
|
-
apis_createMapContext as createMapContext,
|
|
1244
|
-
apis_createMediaAudioPlayer as createMediaAudioPlayer,
|
|
1245
|
-
apis_createMediaContainer as createMediaContainer,
|
|
1246
|
-
apis_createMediaQueryObserver as createMediaQueryObserver,
|
|
1247
|
-
apis_createMediaRecorder as createMediaRecorder,
|
|
1248
|
-
apis_createOffscreenCanvas as createOffscreenCanvas,
|
|
1249
|
-
apis_createSelectorQuery as createSelectorQuery,
|
|
1250
|
-
apis_createTCPSocket as createTCPSocket,
|
|
1251
|
-
apis_createUDPSocket as createUDPSocket,
|
|
1252
|
-
apis_createVideoContext as createVideoContext,
|
|
1253
|
-
apis_createVideoDecoder as createVideoDecoder,
|
|
1254
|
-
apis_createWebAudioContext as createWebAudioContext,
|
|
1255
|
-
apis_createWorker as createWorker,
|
|
1256
|
-
apis_disableAlertBeforeUnload as disableAlertBeforeUnload,
|
|
1257
|
-
apis_downloadFile as downloadFile,
|
|
1258
|
-
apis_enableAlertBeforeUnload as enableAlertBeforeUnload,
|
|
1259
|
-
apis_eventCenter as eventCenter,
|
|
1260
|
-
apis_exitMiniProgram as exitMiniProgram,
|
|
1261
|
-
apis_exitVoIPChat as exitVoIPChat,
|
|
1262
|
-
apis_faceVerifyForPay as faceVerifyForPay,
|
|
1263
|
-
apis_getAccountInfoSync as getAccountInfoSync,
|
|
1264
|
-
apis_getAppAuthorizeSetting as getAppAuthorizeSetting,
|
|
1265
|
-
apis_getAppBaseInfo as getAppBaseInfo,
|
|
1266
|
-
apis_getAvailableAudioSources as getAvailableAudioSources,
|
|
1267
|
-
apis_getBLEDeviceCharacteristics as getBLEDeviceCharacteristics,
|
|
1268
|
-
apis_getBLEDeviceRSSI as getBLEDeviceRSSI,
|
|
1269
|
-
apis_getBLEDeviceServices as getBLEDeviceServices,
|
|
1270
|
-
apis_getBLEMTU as getBLEMTU,
|
|
1271
|
-
apis_getBackgroundAudioManager as getBackgroundAudioManager,
|
|
1272
|
-
apis_getBackgroundAudioPlayerState as getBackgroundAudioPlayerState,
|
|
1273
|
-
apis_getBackgroundFetchData as getBackgroundFetchData,
|
|
1274
|
-
apis_getBackgroundFetchToken as getBackgroundFetchToken,
|
|
1275
|
-
apis_getBatteryInfo as getBatteryInfo,
|
|
1276
|
-
apis_getBatteryInfoSync as getBatteryInfoSync,
|
|
1277
|
-
apis_getBeacons as getBeacons,
|
|
1278
|
-
apis_getBluetoothAdapterState as getBluetoothAdapterState,
|
|
1279
|
-
apis_getBluetoothDevices as getBluetoothDevices,
|
|
1280
|
-
apis_getChannelsLiveInfo as getChannelsLiveInfo,
|
|
1281
|
-
apis_getChannelsLiveNoticeInfo as getChannelsLiveNoticeInfo,
|
|
1282
|
-
apis_getChannelsShareKey as getChannelsShareKey,
|
|
1283
|
-
apis_getClipboardData as getClipboardData,
|
|
1284
|
-
apis_getConnectedBluetoothDevices as getConnectedBluetoothDevices,
|
|
1285
|
-
apis_getConnectedWifi as getConnectedWifi,
|
|
1286
|
-
apis_getCurrentInstance as getCurrentInstance,
|
|
1287
|
-
apis_getCurrentPages as getCurrentPages,
|
|
1288
|
-
apis_getDeviceInfo as getDeviceInfo,
|
|
1289
|
-
apis_getDeviceVoIPList as getDeviceVoIPList,
|
|
1290
|
-
apis_getEnterOptionsSync as getEnterOptionsSync,
|
|
1291
|
-
apis_getEnv as getEnv,
|
|
1292
|
-
apis_getExptInfoSync as getExptInfoSync,
|
|
1293
|
-
apis_getExtConfig as getExtConfig,
|
|
1294
|
-
apis_getExtConfigSync as getExtConfigSync,
|
|
1295
|
-
apis_getFileInfo as getFileInfo,
|
|
1296
|
-
apis_getFileSystemManager as getFileSystemManager,
|
|
1297
|
-
apis_getFuzzyLocation as getFuzzyLocation,
|
|
1298
|
-
apis_getGroupEnterInfo as getGroupEnterInfo,
|
|
1299
|
-
apis_getHCEState as getHCEState,
|
|
1300
|
-
apis_getImageInfo as getImageInfo,
|
|
1301
|
-
apis_getLaunchOptionsSync as getLaunchOptionsSync,
|
|
1302
|
-
apis_getLocalIPAddress as getLocalIPAddress,
|
|
1303
|
-
apis_getLocation as getLocation,
|
|
1304
|
-
apis_getLogManager as getLogManager,
|
|
1305
|
-
apis_getMenuButtonBoundingClientRect as getMenuButtonBoundingClientRect,
|
|
1306
|
-
apis_getNFCAdapter as getNFCAdapter,
|
|
1307
|
-
apis_getNetworkType as getNetworkType,
|
|
1308
|
-
apis_getPerformance as getPerformance,
|
|
1309
|
-
apis_getPrivacySetting as getPrivacySetting,
|
|
1310
|
-
apis_getRandomValues as getRandomValues,
|
|
1311
|
-
apis_getRealtimeLogManager as getRealtimeLogManager,
|
|
1312
|
-
apis_getRecorderManager as getRecorderManager,
|
|
1313
|
-
apis_getSavedFileInfo as getSavedFileInfo,
|
|
1314
|
-
apis_getSavedFileList as getSavedFileList,
|
|
1315
|
-
apis_getScreenBrightness as getScreenBrightness,
|
|
1316
|
-
apis_getScreenRecordingState as getScreenRecordingState,
|
|
1317
|
-
apis_getSelectedTextRange as getSelectedTextRange,
|
|
1318
|
-
apis_getSetting as getSetting,
|
|
1319
|
-
apis_getShareInfo as getShareInfo,
|
|
1320
|
-
apis_getStorage as getStorage,
|
|
1321
|
-
apis_getStorageInfo as getStorageInfo,
|
|
1322
|
-
apis_getStorageInfoSync as getStorageInfoSync,
|
|
1323
|
-
apis_getStorageSync as getStorageSync,
|
|
1324
|
-
apis_getSystemInfo as getSystemInfo,
|
|
1325
|
-
apis_getSystemInfoSync as getSystemInfoSync,
|
|
1326
|
-
apis_getSystemSetting as getSystemSetting,
|
|
1327
|
-
apis_getUpdateManager as getUpdateManager,
|
|
1328
|
-
apis_getUserCryptoManager as getUserCryptoManager,
|
|
1329
|
-
apis_getUserInfo as getUserInfo,
|
|
1330
|
-
apis_getUserProfile as getUserProfile,
|
|
1331
|
-
apis_getVideoInfo as getVideoInfo,
|
|
1332
|
-
apis_getWeRunData as getWeRunData,
|
|
1333
|
-
apis_getWifiList as getWifiList,
|
|
1334
|
-
apis_getWindowInfo as getWindowInfo,
|
|
1335
|
-
apis_hideHomeButton as hideHomeButton,
|
|
1336
|
-
apis_hideKeyboard as hideKeyboard,
|
|
1337
|
-
apis_hideLoading as hideLoading,
|
|
1338
|
-
apis_hideNavigationBarLoading as hideNavigationBarLoading,
|
|
1339
|
-
apis_hideShareMenu as hideShareMenu,
|
|
1340
|
-
apis_hideTabBar as hideTabBar,
|
|
1341
|
-
apis_hideTabBarRedDot as hideTabBarRedDot,
|
|
1342
|
-
apis_hideToast as hideToast,
|
|
1343
|
-
apis_isBluetoothDevicePaired as isBluetoothDevicePaired,
|
|
1344
|
-
apis_join1v1Chat as join1v1Chat,
|
|
1345
|
-
apis_joinVoIPChat as joinVoIPChat,
|
|
1346
|
-
apis_loadFontFace as loadFontFace,
|
|
1347
|
-
apis_login as login,
|
|
1348
|
-
apis_makeBluetoothPair as makeBluetoothPair,
|
|
1349
|
-
apis_makePhoneCall as makePhoneCall,
|
|
1350
|
-
apis_navigateBack as navigateBack,
|
|
1351
|
-
apis_navigateBackMiniProgram as navigateBackMiniProgram,
|
|
1352
|
-
apis_navigateTo as navigateTo,
|
|
1353
|
-
apis_navigateToMiniProgram as navigateToMiniProgram,
|
|
1354
|
-
apis_nextTick as nextTick,
|
|
1355
|
-
apis_notifyBLECharacteristicValueChange as notifyBLECharacteristicValueChange,
|
|
1356
|
-
apis_offAccelerometerChange as offAccelerometerChange,
|
|
1357
|
-
apis_offAppHide as offAppHide,
|
|
1358
|
-
apis_offAppShow as offAppShow,
|
|
1359
|
-
apis_offAudioInterruptionBegin as offAudioInterruptionBegin,
|
|
1360
|
-
apis_offAudioInterruptionEnd as offAudioInterruptionEnd,
|
|
1361
|
-
apis_offBLECharacteristicValueChange as offBLECharacteristicValueChange,
|
|
1362
|
-
apis_offBLEConnectionStateChange as offBLEConnectionStateChange,
|
|
1363
|
-
apis_offBLEMTUChange as offBLEMTUChange,
|
|
1364
|
-
apis_offBLEPeripheralConnectionStateChanged as offBLEPeripheralConnectionStateChanged,
|
|
1365
|
-
apis_offBeaconServiceChange as offBeaconServiceChange,
|
|
1366
|
-
apis_offBeaconUpdate as offBeaconUpdate,
|
|
1367
|
-
apis_offBluetoothAdapterStateChange as offBluetoothAdapterStateChange,
|
|
1368
|
-
apis_offBluetoothDeviceFound as offBluetoothDeviceFound,
|
|
1369
|
-
apis_offCompassChange as offCompassChange,
|
|
1370
|
-
apis_offCopyUrl as offCopyUrl,
|
|
1371
|
-
apis_offDeviceMotionChange as offDeviceMotionChange,
|
|
1372
|
-
apis_offError as offError,
|
|
1373
|
-
apis_offGetWifiList as offGetWifiList,
|
|
1374
|
-
apis_offGyroscopeChange as offGyroscopeChange,
|
|
1375
|
-
apis_offHCEMessage as offHCEMessage,
|
|
1376
|
-
apis_offKeyboardHeightChange as offKeyboardHeightChange,
|
|
1377
|
-
apis_offLazyLoadError as offLazyLoadError,
|
|
1378
|
-
apis_offLocalServiceDiscoveryStop as offLocalServiceDiscoveryStop,
|
|
1379
|
-
apis_offLocalServiceFound as offLocalServiceFound,
|
|
1380
|
-
apis_offLocalServiceLost as offLocalServiceLost,
|
|
1381
|
-
apis_offLocalServiceResolveFail as offLocalServiceResolveFail,
|
|
1382
|
-
apis_offLocationChange as offLocationChange,
|
|
1383
|
-
apis_offLocationChangeError as offLocationChangeError,
|
|
1384
|
-
apis_offMemoryWarning as offMemoryWarning,
|
|
1385
|
-
apis_offNetworkStatusChange as offNetworkStatusChange,
|
|
1386
|
-
apis_offNetworkWeakChange as offNetworkWeakChange,
|
|
1387
|
-
apis_offPageNotFound as offPageNotFound,
|
|
1388
|
-
apis_offScreenRecordingStateChanged as offScreenRecordingStateChanged,
|
|
1389
|
-
apis_offThemeChange as offThemeChange,
|
|
1390
|
-
apis_offUnhandledRejection as offUnhandledRejection,
|
|
1391
|
-
apis_offUserCaptureScreen as offUserCaptureScreen,
|
|
1392
|
-
apis_offVoIPChatInterrupted as offVoIPChatInterrupted,
|
|
1393
|
-
apis_offVoIPChatMembersChanged as offVoIPChatMembersChanged,
|
|
1394
|
-
apis_offVoIPChatSpeakersChanged as offVoIPChatSpeakersChanged,
|
|
1395
|
-
apis_offVoIPChatStateChanged as offVoIPChatStateChanged,
|
|
1396
|
-
apis_offVoIPVideoMembersChanged as offVoIPVideoMembersChanged,
|
|
1397
|
-
apis_offWifiConnected as offWifiConnected,
|
|
1398
|
-
apis_offWifiConnectedWithPartialInfo as offWifiConnectedWithPartialInfo,
|
|
1399
|
-
apis_offWindowResize as offWindowResize,
|
|
1400
|
-
apis_onAccelerometerChange as onAccelerometerChange,
|
|
1401
|
-
apis_onAppHide as onAppHide,
|
|
1402
|
-
apis_onAppShow as onAppShow,
|
|
1403
|
-
apis_onAudioInterruptionBegin as onAudioInterruptionBegin,
|
|
1404
|
-
apis_onAudioInterruptionEnd as onAudioInterruptionEnd,
|
|
1405
|
-
apis_onBLECharacteristicValueChange as onBLECharacteristicValueChange,
|
|
1406
|
-
apis_onBLEConnectionStateChange as onBLEConnectionStateChange,
|
|
1407
|
-
apis_onBLEMTUChange as onBLEMTUChange,
|
|
1408
|
-
apis_onBLEPeripheralConnectionStateChanged as onBLEPeripheralConnectionStateChanged,
|
|
1409
|
-
apis_onBackgroundAudioPause as onBackgroundAudioPause,
|
|
1410
|
-
apis_onBackgroundAudioPlay as onBackgroundAudioPlay,
|
|
1411
|
-
apis_onBackgroundAudioStop as onBackgroundAudioStop,
|
|
1412
|
-
apis_onBackgroundFetchData as onBackgroundFetchData,
|
|
1413
|
-
apis_onBeaconServiceChange as onBeaconServiceChange,
|
|
1414
|
-
apis_onBeaconUpdate as onBeaconUpdate,
|
|
1415
|
-
apis_onBluetoothAdapterStateChange as onBluetoothAdapterStateChange,
|
|
1416
|
-
apis_onBluetoothDeviceFound as onBluetoothDeviceFound,
|
|
1417
|
-
apis_onCompassChange as onCompassChange,
|
|
1418
|
-
apis_onCopyUrl as onCopyUrl,
|
|
1419
|
-
apis_onDeviceMotionChange as onDeviceMotionChange,
|
|
1420
|
-
apis_onError as onError,
|
|
1421
|
-
apis_onGetWifiList as onGetWifiList,
|
|
1422
|
-
apis_onGyroscopeChange as onGyroscopeChange,
|
|
1423
|
-
apis_onHCEMessage as onHCEMessage,
|
|
1424
|
-
apis_onKeyboardHeightChange as onKeyboardHeightChange,
|
|
1425
|
-
apis_onLazyLoadError as onLazyLoadError,
|
|
1426
|
-
apis_onLocalServiceDiscoveryStop as onLocalServiceDiscoveryStop,
|
|
1427
|
-
apis_onLocalServiceFound as onLocalServiceFound,
|
|
1428
|
-
apis_onLocalServiceLost as onLocalServiceLost,
|
|
1429
|
-
apis_onLocalServiceResolveFail as onLocalServiceResolveFail,
|
|
1430
|
-
apis_onLocationChange as onLocationChange,
|
|
1431
|
-
apis_onLocationChangeError as onLocationChangeError,
|
|
1432
|
-
apis_onMemoryWarning as onMemoryWarning,
|
|
1433
|
-
apis_onNeedPrivacyAuthorization as onNeedPrivacyAuthorization,
|
|
1434
|
-
apis_onNetworkStatusChange as onNetworkStatusChange,
|
|
1435
|
-
apis_onNetworkWeakChange as onNetworkWeakChange,
|
|
1436
|
-
apis_onPageNotFound as onPageNotFound,
|
|
1437
|
-
apis_onScreenRecordingStateChanged as onScreenRecordingStateChanged,
|
|
1438
|
-
apis_onThemeChange as onThemeChange,
|
|
1439
|
-
apis_onUnhandledRejection as onUnhandledRejection,
|
|
1440
|
-
apis_onUserCaptureScreen as onUserCaptureScreen,
|
|
1441
|
-
apis_onVoIPChatInterrupted as onVoIPChatInterrupted,
|
|
1442
|
-
apis_onVoIPChatMembersChanged as onVoIPChatMembersChanged,
|
|
1443
|
-
apis_onVoIPChatSpeakersChanged as onVoIPChatSpeakersChanged,
|
|
1444
|
-
apis_onVoIPChatStateChanged as onVoIPChatStateChanged,
|
|
1445
|
-
apis_onVoIPVideoMembersChanged as onVoIPVideoMembersChanged,
|
|
1446
|
-
apis_onWifiConnected as onWifiConnected,
|
|
1447
|
-
apis_onWifiConnectedWithPartialInfo as onWifiConnectedWithPartialInfo,
|
|
1448
|
-
apis_onWindowResize as onWindowResize,
|
|
1449
|
-
apis_openBluetoothAdapter as openBluetoothAdapter,
|
|
1450
|
-
apis_openBusinessView as openBusinessView,
|
|
1451
|
-
apis_openCard as openCard,
|
|
1452
|
-
apis_openChannelsActivity as openChannelsActivity,
|
|
1453
|
-
apis_openChannelsEvent as openChannelsEvent,
|
|
1454
|
-
apis_openChannelsLive as openChannelsLive,
|
|
1455
|
-
apis_openChannelsUserProfile as openChannelsUserProfile,
|
|
1456
|
-
apis_openCustomerServiceChat as openCustomerServiceChat,
|
|
1457
|
-
apis_openDocument as openDocument,
|
|
1458
|
-
apis_openEmbeddedMiniProgram as openEmbeddedMiniProgram,
|
|
1459
|
-
apis_openLocation as openLocation,
|
|
1460
|
-
apis_openPrivacyContract as openPrivacyContract,
|
|
1461
|
-
apis_openSetting as openSetting,
|
|
1462
|
-
apis_openVideoEditor as openVideoEditor,
|
|
1463
|
-
apis_pageScrollTo as pageScrollTo,
|
|
1464
|
-
apis_pauseBackgroundAudio as pauseBackgroundAudio,
|
|
1465
|
-
apis_pauseVoice as pauseVoice,
|
|
1466
|
-
apis_playBackgroundAudio as playBackgroundAudio,
|
|
1467
|
-
apis_playVoice as playVoice,
|
|
1468
|
-
apis_pluginLogin as pluginLogin,
|
|
1469
|
-
apis_preloadAssets as preloadAssets,
|
|
1470
|
-
apis_preloadSkylineView as preloadSkylineView,
|
|
1471
|
-
apis_preloadWebview as preloadWebview,
|
|
1472
|
-
apis_previewImage as previewImage,
|
|
1473
|
-
apis_previewMedia as previewMedia,
|
|
1474
|
-
apis_reLaunch as reLaunch,
|
|
1475
|
-
apis_readBLECharacteristicValue as readBLECharacteristicValue,
|
|
1476
|
-
apis_redirectTo as redirectTo,
|
|
1477
|
-
apis_refreshAudioSession as refreshAudioSession,
|
|
1478
|
-
apis_removeSavedFile as removeSavedFile,
|
|
1479
|
-
apis_removeStorage as removeStorage,
|
|
1480
|
-
apis_removeStorageSync as removeStorageSync,
|
|
1481
|
-
apis_removeTabBarBadge as removeTabBarBadge,
|
|
1482
|
-
apis_reportAnalytics as reportAnalytics,
|
|
1483
|
-
apis_reportEvent as reportEvent,
|
|
1484
|
-
apis_reportMonitor as reportMonitor,
|
|
1485
|
-
apis_reportPerformance as reportPerformance,
|
|
1486
|
-
apis_request as request,
|
|
1487
|
-
apis_requestDeviceVoIP as requestDeviceVoIP,
|
|
1488
|
-
apis_requestOrderPayment as requestOrderPayment,
|
|
1489
|
-
apis_requestPayment as requestPayment,
|
|
1490
|
-
apis_requestPluginPayment as requestPluginPayment,
|
|
1491
|
-
apis_requestSubscribeDeviceMessage as requestSubscribeDeviceMessage,
|
|
1492
|
-
apis_requestSubscribeMessage as requestSubscribeMessage,
|
|
1493
|
-
apis_requirePlugin as requirePlugin,
|
|
1494
|
-
apis_requirePrivacyAuthorize as requirePrivacyAuthorize,
|
|
1495
|
-
apis_reserveChannelsLive as reserveChannelsLive,
|
|
1496
|
-
apis_revokeBufferURL as revokeBufferURL,
|
|
1497
|
-
apis_saveFile as saveFile,
|
|
1498
|
-
apis_saveFileToDisk as saveFileToDisk,
|
|
1499
|
-
apis_saveImageToPhotosAlbum as saveImageToPhotosAlbum,
|
|
1500
|
-
apis_saveVideoToPhotosAlbum as saveVideoToPhotosAlbum,
|
|
1501
|
-
apis_scanCode as scanCode,
|
|
1502
|
-
apis_seekBackgroundAudio as seekBackgroundAudio,
|
|
1503
|
-
apis_sendHCEMessage as sendHCEMessage,
|
|
1504
|
-
apis_sendSms as sendSms,
|
|
1505
|
-
apis_setBLEMTU as setBLEMTU,
|
|
1506
|
-
apis_setBackgroundColor as setBackgroundColor,
|
|
1507
|
-
apis_setBackgroundFetchToken as setBackgroundFetchToken,
|
|
1508
|
-
apis_setBackgroundTextStyle as setBackgroundTextStyle,
|
|
1509
|
-
apis_setClipboardData as setClipboardData,
|
|
1510
|
-
apis_setEnable1v1Chat as setEnable1v1Chat,
|
|
1511
|
-
apis_setEnableDebug as setEnableDebug,
|
|
1512
|
-
apis_setInnerAudioOption as setInnerAudioOption,
|
|
1513
|
-
apis_setKeepScreenOn as setKeepScreenOn,
|
|
1514
|
-
apis_setNavigationBarColor as setNavigationBarColor,
|
|
1515
|
-
apis_setNavigationBarTitle as setNavigationBarTitle,
|
|
1516
|
-
apis_setScreenBrightness as setScreenBrightness,
|
|
1517
|
-
apis_setStorage as setStorage,
|
|
1518
|
-
apis_setStorageSync as setStorageSync,
|
|
1519
|
-
apis_setTabBarBadge as setTabBarBadge,
|
|
1520
|
-
apis_setTabBarItem as setTabBarItem,
|
|
1521
|
-
apis_setTabBarStyle as setTabBarStyle,
|
|
1522
|
-
apis_setTopBarText as setTopBarText,
|
|
1523
|
-
apis_setVisualEffectOnCapture as setVisualEffectOnCapture,
|
|
1524
|
-
apis_setWifiList as setWifiList,
|
|
1525
|
-
apis_setWindowSize as setWindowSize,
|
|
1526
|
-
apis_shareFileMessage as shareFileMessage,
|
|
1527
|
-
apis_shareToWeRun as shareToWeRun,
|
|
1528
|
-
apis_shareVideoMessage as shareVideoMessage,
|
|
1529
|
-
apis_showActionSheet as showActionSheet,
|
|
1530
|
-
apis_showLoading as showLoading,
|
|
1531
|
-
apis_showModal as showModal,
|
|
1532
|
-
apis_showNavigationBarLoading as showNavigationBarLoading,
|
|
1533
|
-
apis_showRedPackage as showRedPackage,
|
|
1534
|
-
apis_showShareImageMenu as showShareImageMenu,
|
|
1535
|
-
apis_showShareMenu as showShareMenu,
|
|
1536
|
-
apis_showTabBar as showTabBar,
|
|
1537
|
-
apis_showTabBarRedDot as showTabBarRedDot,
|
|
1538
|
-
apis_showToast as showToast,
|
|
1539
|
-
apis_startAccelerometer as startAccelerometer,
|
|
1540
|
-
apis_startBeaconDiscovery as startBeaconDiscovery,
|
|
1541
|
-
apis_startBluetoothDevicesDiscovery as startBluetoothDevicesDiscovery,
|
|
1542
|
-
apis_startCompass as startCompass,
|
|
1543
|
-
apis_startDeviceMotionListening as startDeviceMotionListening,
|
|
1544
|
-
apis_startFacialRecognitionVerify as startFacialRecognitionVerify,
|
|
1545
|
-
apis_startFacialRecognitionVerifyAndUploadVideo as startFacialRecognitionVerifyAndUploadVideo,
|
|
1546
|
-
apis_startGyroscope as startGyroscope,
|
|
1547
|
-
apis_startHCE as startHCE,
|
|
1548
|
-
apis_startLocalServiceDiscovery as startLocalServiceDiscovery,
|
|
1549
|
-
apis_startLocationUpdate as startLocationUpdate,
|
|
1550
|
-
apis_startLocationUpdateBackground as startLocationUpdateBackground,
|
|
1551
|
-
apis_startPullDownRefresh as startPullDownRefresh,
|
|
1552
|
-
apis_startRecord as startRecord,
|
|
1553
|
-
apis_startSoterAuthentication as startSoterAuthentication,
|
|
1554
|
-
apis_startWifi as startWifi,
|
|
1555
|
-
apis_stopAccelerometer as stopAccelerometer,
|
|
1556
|
-
apis_stopBackgroundAudio as stopBackgroundAudio,
|
|
1557
|
-
apis_stopBeaconDiscovery as stopBeaconDiscovery,
|
|
1558
|
-
apis_stopBluetoothDevicesDiscovery as stopBluetoothDevicesDiscovery,
|
|
1559
|
-
apis_stopCompass as stopCompass,
|
|
1560
|
-
apis_stopDeviceMotionListening as stopDeviceMotionListening,
|
|
1561
|
-
apis_stopGyroscope as stopGyroscope,
|
|
1562
|
-
apis_stopHCE as stopHCE,
|
|
1563
|
-
apis_stopLocalServiceDiscovery as stopLocalServiceDiscovery,
|
|
1564
|
-
apis_stopLocationUpdate as stopLocationUpdate,
|
|
1565
|
-
apis_stopPullDownRefresh as stopPullDownRefresh,
|
|
1566
|
-
apis_stopRecord as stopRecord,
|
|
1567
|
-
apis_stopVoice as stopVoice,
|
|
1568
|
-
apis_stopWifi as stopWifi,
|
|
1569
|
-
apis_subscribeVoIPVideoMembers as subscribeVoIPVideoMembers,
|
|
1570
|
-
apis_switchTab as switchTab,
|
|
1571
|
-
apis_triggerTaskPoolMethods as triggerTaskPoolMethods,
|
|
1572
|
-
apis_unstable_SetPageIsTextNeedLayout as unstable_SetPageIsTextNeedLayout,
|
|
1573
|
-
apis_updatePageSync as updatePageSync,
|
|
1574
|
-
apis_updateShareMenu as updateShareMenu,
|
|
1575
|
-
apis_updateVoIPChatMuteConfig as updateVoIPChatMuteConfig,
|
|
1576
|
-
apis_updateWeChatApp as updateWeChatApp,
|
|
1577
|
-
apis_uploadFile as uploadFile,
|
|
1578
|
-
apis_vibrateLong as vibrateLong,
|
|
1579
|
-
apis_vibrateShort as vibrateShort,
|
|
1580
|
-
apis_writeBLECharacteristicValue as writeBLECharacteristicValue,
|
|
1581
|
-
};
|
|
540
|
+
const getUserProfile: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
541
|
+
// 微信运动
|
|
542
|
+
const shareToWeRun: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
543
|
+
const getWeRunData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
544
|
+
// 支付
|
|
545
|
+
const requestPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
546
|
+
const requestPluginPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
547
|
+
const requestOrderPayment: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
548
|
+
const navigateTo: typeof Taro.navigateTo;
|
|
549
|
+
const redirectTo: typeof Taro.redirectTo;
|
|
550
|
+
const navigateBack: typeof Taro.navigateBack;
|
|
551
|
+
const reLaunch: typeof Taro.reLaunch;
|
|
552
|
+
const switchTab: typeof Taro.switchTab;
|
|
553
|
+
// 转发
|
|
554
|
+
/** 更新转发属性 */
|
|
555
|
+
const updateShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
556
|
+
/** 显示当前页面的转发按钮 */
|
|
557
|
+
const showShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
558
|
+
/** 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载 */
|
|
559
|
+
const showShareImageMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
560
|
+
/** 转发视频到聊天 */
|
|
561
|
+
const shareVideoMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
562
|
+
/** 转发文件到聊天 */
|
|
563
|
+
const shareFileMessage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
564
|
+
/** 监听用户点击右上角菜单的「复制链接」按钮时触发的事件 */
|
|
565
|
+
const onCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
566
|
+
/** 移除用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数 */
|
|
567
|
+
const offCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
568
|
+
/** 隐藏当前页面的转发按钮 */
|
|
569
|
+
const hideShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
570
|
+
/** 获取转发详细信息 */
|
|
571
|
+
const getShareInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
572
|
+
/** 验证私密消息。 */
|
|
573
|
+
const authPrivateMessage: (option?: {}, ...args: any[]) => Promise<ICallbackResult & Record<string, unknown>>;
|
|
574
|
+
function getStorage<T = any>(options: Taro.getStorage.Option<T>): Promise<unknown> | undefined;
|
|
575
|
+
function setStorage(options: Taro.setStorage.Option): Promise<unknown> | undefined;
|
|
576
|
+
function removeStorage(options: Taro.removeStorage.Option): Promise<unknown> | undefined;
|
|
577
|
+
const getStorageInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
578
|
+
const getStorageInfo: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
579
|
+
const createBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
580
|
+
const revokeBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
581
|
+
const batchSetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
582
|
+
const batchSetStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
583
|
+
const batchGetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
584
|
+
const batchGetStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
585
|
+
const clearStorage: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
586
|
+
const getStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
587
|
+
const setStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
588
|
+
const clearStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
589
|
+
const removeStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
590
|
+
// 周期性更新
|
|
591
|
+
const setBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
592
|
+
const onBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
593
|
+
const getBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
594
|
+
const getBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
595
|
+
// 周期性更新
|
|
596
|
+
const createCacheManager: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
597
|
+
interface IAnimationAttr {
|
|
598
|
+
duration: number;
|
|
599
|
+
delay: number;
|
|
600
|
+
timingFunction: string;
|
|
601
|
+
transformOrigin: string;
|
|
602
|
+
}
|
|
603
|
+
type TStep = {
|
|
604
|
+
delay: number;
|
|
605
|
+
duration: number;
|
|
606
|
+
timingFunction: string;
|
|
607
|
+
transformOrigin: string;
|
|
608
|
+
rule: TRule;
|
|
609
|
+
};
|
|
610
|
+
type TRule = Record<string, any>;
|
|
611
|
+
class Animation implements Taro.Animation {
|
|
612
|
+
unit: string;
|
|
613
|
+
DEFAULT: IAnimationAttr;
|
|
614
|
+
// 组合动画
|
|
615
|
+
steps: TStep[];
|
|
616
|
+
// 属性组合
|
|
617
|
+
rule: TRule;
|
|
618
|
+
constructor({ duration, delay, timingFunction, transformOrigin, unit }?: Taro.createAnimation.Option);
|
|
619
|
+
// 设置默认值
|
|
620
|
+
setDefault(duration: any, delay: any, timingFunction: any, transformOrigin: any): void;
|
|
621
|
+
export(): {
|
|
622
|
+
actions: any[];
|
|
623
|
+
};
|
|
624
|
+
step(arg?: Partial<IAnimationAttr>): Taro.Animation;
|
|
625
|
+
matrix(a: number, b: number, c: number, d: number, tx: number, ty: number): Taro.Animation;
|
|
626
|
+
matrix3d(a1: number, b1: number, c1: number, d1: number, a2: number, b2: number, c2: number, d2: number, a3: number, b3: number, c3: number, d3: number, a4: number, b4: number, c4: number, d4: number): Taro.Animation;
|
|
627
|
+
rotate(angle: number): Taro.Animation;
|
|
628
|
+
rotate3d(x: number, y?: number | undefined, z?: number | undefined, angle?: number | undefined): Taro.Animation;
|
|
629
|
+
rotateX(angle: number): Taro.Animation;
|
|
630
|
+
rotateY(angle: number): Taro.Animation;
|
|
631
|
+
rotateZ(angle: number): Taro.Animation;
|
|
632
|
+
scale(sx: number, sy?: number | undefined): Taro.Animation;
|
|
633
|
+
scale3d(sx: number, sy: number, sz: number): Taro.Animation;
|
|
634
|
+
scaleX(scale: number): Taro.Animation;
|
|
635
|
+
scaleY(scale: number): Taro.Animation;
|
|
636
|
+
scaleZ(scale: number): Taro.Animation;
|
|
637
|
+
skew(ax: number, ay: number): Taro.Animation;
|
|
638
|
+
skewX(angle: number): Taro.Animation;
|
|
639
|
+
skewY(angle: number): Taro.Animation;
|
|
640
|
+
translate(tx?: number | undefined, ty?: number | undefined): Taro.Animation;
|
|
641
|
+
translate3d(tx?: number | undefined, ty?: number | undefined, tz?: number | undefined): Taro.Animation;
|
|
642
|
+
translateX(translation: number): Taro.Animation;
|
|
643
|
+
translateY(translation: number): Taro.Animation;
|
|
644
|
+
translateZ(translation: number): Taro.Animation;
|
|
645
|
+
opacity(value: number): Taro.Animation;
|
|
646
|
+
backgroundColor(value: string): Taro.Animation;
|
|
647
|
+
width(value: string | number): Taro.Animation;
|
|
648
|
+
height(value: string | number): Taro.Animation;
|
|
649
|
+
left(value: string | number): Taro.Animation;
|
|
650
|
+
right(value: string | number): Taro.Animation;
|
|
651
|
+
top(value: string | number): Taro.Animation;
|
|
652
|
+
bottom(value: string | number): Taro.Animation;
|
|
653
|
+
}
|
|
654
|
+
const createAnimation: (option: Taro.createAnimation.Option) => Animation;
|
|
655
|
+
const setBackgroundTextStyle: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
656
|
+
function setBackgroundColor(options: Taro.setBackgroundColor.Option): Promise<unknown>;
|
|
657
|
+
// 字体
|
|
658
|
+
const loadFontFace: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
659
|
+
function showToast(options: any): Promise<unknown>;
|
|
660
|
+
function showModal(options: any): Promise<unknown>;
|
|
661
|
+
function showActionSheet(options: any): Promise<unknown>;
|
|
662
|
+
const hideToast: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
663
|
+
const showLoading: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
664
|
+
const hideLoading: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
665
|
+
const enableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
666
|
+
const disableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
667
|
+
// 菜单
|
|
668
|
+
const getMenuButtonBoundingClientRect: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
669
|
+
const setNavigationBarTitle: typeof Taro.setNavigationBarTitle;
|
|
670
|
+
const setNavigationBarColor: typeof Taro.setNavigationBarColor;
|
|
671
|
+
const showNavigationBarLoading: typeof Taro.setNavigationBarColor;
|
|
672
|
+
const hideNavigationBarLoading: typeof Taro.hideNavigationBarLoading;
|
|
673
|
+
const hideHomeButton: typeof Taro.hideHomeButton;
|
|
674
|
+
const startPullDownRefresh: typeof Taro.startPullDownRefresh;
|
|
675
|
+
const stopPullDownRefresh: typeof Taro.stopPullDownRefresh;
|
|
676
|
+
const pageScrollTo: typeof Taro.pageScrollTo;
|
|
677
|
+
// 置顶
|
|
678
|
+
const setTopBarText: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
679
|
+
const showTabBar: (option?: Taro.showTabBar.Option | undefined) => Promise<TaroGeneral.CallbackResult>;
|
|
680
|
+
const hideTabBar: (option?: Taro.hideTabBar.Option | undefined) => Promise<TaroGeneral.CallbackResult>;
|
|
681
|
+
const setTabBarStyle: typeof Taro.setTabBarStyle;
|
|
682
|
+
const setTabBarItem: typeof Taro.setTabBarItem;
|
|
683
|
+
function showTabBarRedDot(options: any): Promise<unknown>;
|
|
684
|
+
function hideTabBarRedDot(options: any): Promise<unknown>;
|
|
685
|
+
function setTabBarBadge(options: any): Promise<unknown>;
|
|
686
|
+
function removeTabBarBadge(options: any): Promise<unknown>;
|
|
687
|
+
/**
|
|
688
|
+
* 设置窗口大小,该接口仅适用于 PC 平台,使用细则请参见指南
|
|
689
|
+
*/
|
|
690
|
+
const setWindowSize: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
691
|
+
/**
|
|
692
|
+
* 监听窗口尺寸变化事件
|
|
693
|
+
*/
|
|
694
|
+
const onWindowResize: typeof Taro.onWindowResize;
|
|
695
|
+
/**
|
|
696
|
+
* 取消监听窗口尺寸变化事件
|
|
697
|
+
*/
|
|
698
|
+
const offWindowResize: typeof Taro.offWindowResize;
|
|
699
|
+
const checkIsPictureInPictureActive: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
700
|
+
// Worker
|
|
701
|
+
const createWorker: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
702
|
+
class IntersectionObserver {
|
|
703
|
+
// 自定义组件实例
|
|
704
|
+
private _component;
|
|
705
|
+
// 监听的nodes
|
|
706
|
+
private _observerNodes;
|
|
707
|
+
// 选项
|
|
708
|
+
private _timer;
|
|
709
|
+
_options: {
|
|
710
|
+
thresholds: number[];
|
|
711
|
+
initialRatio: number;
|
|
712
|
+
observeAll: boolean;
|
|
713
|
+
};
|
|
714
|
+
_viewportMargins: {
|
|
715
|
+
left: number;
|
|
716
|
+
top: number;
|
|
717
|
+
right: number;
|
|
718
|
+
bottom: number;
|
|
719
|
+
};
|
|
720
|
+
constructor(component: any, options?: {});
|
|
721
|
+
disconnect(): void;
|
|
722
|
+
observe(targetSelector: any, callback: any): void;
|
|
723
|
+
relativeTo(): this;
|
|
724
|
+
relativeToViewport(option: any): this;
|
|
725
|
+
}
|
|
726
|
+
class NodesRef implements Taro.NodesRef {
|
|
727
|
+
_component?: any;
|
|
728
|
+
_selector: string;
|
|
729
|
+
_selectorQuery: SelectorQuery;
|
|
730
|
+
_single: boolean;
|
|
731
|
+
constructor(selector: string, querySelectorQuery: SelectorQuery, single: boolean);
|
|
732
|
+
context(cb: any): SelectorQuery;
|
|
733
|
+
node(cb?: Taro.NodesRef.NodeCallback): SelectorQuery;
|
|
734
|
+
boundingClientRect(cb?: Taro.NodesRef.BoundingClientRectCallback): SelectorQuery;
|
|
735
|
+
scrollOffset(cb: any): SelectorQuery;
|
|
736
|
+
fields(fields: Taro.NodesRef.Fields & {
|
|
737
|
+
nodeCanvasType: Taro.NodesRef.Fields["node"];
|
|
738
|
+
}, cb?: Taro.NodesRef.FieldsCallback): SelectorQuery;
|
|
739
|
+
}
|
|
740
|
+
interface ISelectorQueryQueue {
|
|
741
|
+
component: any;
|
|
742
|
+
selector: string;
|
|
743
|
+
single: boolean;
|
|
744
|
+
fields: any;
|
|
745
|
+
}
|
|
746
|
+
type TSelectorQueryQueueCallback = (res: ISelectorQueryQueue) => void;
|
|
747
|
+
class SelectorQuery implements Taro.SelectorQuery {
|
|
748
|
+
_queue: ISelectorQueryQueue[];
|
|
749
|
+
_queueCb: (TSelectorQueryQueueCallback | null)[];
|
|
750
|
+
_component?: any;
|
|
751
|
+
constructor();
|
|
752
|
+
/**
|
|
753
|
+
* 设置选择器的选取范围
|
|
754
|
+
* @param component 指定组件
|
|
755
|
+
* @return selectQuery 返回查询对象
|
|
756
|
+
*/
|
|
757
|
+
in: (component: any) => this;
|
|
758
|
+
/**
|
|
759
|
+
* 在当前页面下选择第一个匹配选择器selector的节点
|
|
760
|
+
* @param selector
|
|
761
|
+
* @return nodesRef 返回一个NodesRef 对象实例,可以用于获取节点信息
|
|
762
|
+
*/
|
|
763
|
+
select(selector: string): NodesRef;
|
|
764
|
+
/**
|
|
765
|
+
* 在当前页面下选择匹配选择器selector的所有节点
|
|
766
|
+
* @param selector
|
|
767
|
+
*/
|
|
768
|
+
selectAll(selector: string): NodesRef;
|
|
769
|
+
/**
|
|
770
|
+
* 选择显示区域。可用于获取显示区域的尺寸、滚动位置等信息
|
|
771
|
+
*/
|
|
772
|
+
selectViewport(): NodesRef;
|
|
773
|
+
exec(cb?: (...args: any[]) => any): any;
|
|
774
|
+
_push(selector: any, component: any, single: any, fields: any, callback?: Taro.NodesRef.FieldsCallback | null): void;
|
|
775
|
+
}
|
|
776
|
+
const createSelectorQuery: () => SelectorQuery;
|
|
777
|
+
const createIntersectionObserver: typeof Taro.createIntersectionObserver;
|
|
778
|
+
const createMediaQueryObserver: (option?: {}, ...args: any[]) => Promise<Partial<ICallbackResult> & Record<string, unknown> & ICallbackResult>;
|
|
779
|
+
export { eventCenter, Events, History, nextTick } from "@tarojs/runtime";
|
|
1582
780
|
}
|
|
1583
|
-
|
|
781
|
+
declare const taro: typeof apis;
|
|
782
|
+
declare function initNativeApi(taro: any): void;
|
|
783
|
+
declare function getApp(): any;
|
|
1584
784
|
declare function initPxTransform({ designWidth, deviceRatio, baseFontSize, unitPrecision, targetUnit }: {
|
|
1585
785
|
designWidth?: number | undefined;
|
|
1586
786
|
deviceRatio?: Record<string | number, number> | undefined;
|
|
@@ -1588,13 +788,9 @@ declare function initPxTransform({ designWidth, deviceRatio, baseFontSize, unitP
|
|
|
1588
788
|
unitPrecision?: number | undefined;
|
|
1589
789
|
targetUnit?: string | undefined;
|
|
1590
790
|
}): void;
|
|
791
|
+
// Note: 设置为 style 单位时会自动完成设计稿转换,设计开发者调用 API 时也许抹平差异,例如 pageScrollTo[option.offsetTop]
|
|
1591
792
|
declare function pxTransformHelper(size: number, unit?: string, isNumber?: boolean): number | string;
|
|
1592
793
|
declare function pxTransform(size: number, designWidth?: number): number | string;
|
|
1593
|
-
|
|
1594
|
-
declare const taro: typeof apis;
|
|
1595
|
-
declare function initNativeApi(taro: any): void;
|
|
1596
|
-
declare function getApp(): any;
|
|
1597
|
-
|
|
1598
794
|
declare function canIUseWebp(): boolean;
|
|
1599
795
|
declare function getAppInfo(): {
|
|
1600
796
|
platform: string;
|
|
@@ -1602,5 +798,5 @@ declare function getAppInfo(): {
|
|
|
1602
798
|
designWidth: any;
|
|
1603
799
|
};
|
|
1604
800
|
declare function getUIContext(): any;
|
|
1605
|
-
|
|
1606
|
-
export {
|
|
801
|
+
export { taro as default, initNativeApi, getApp, initPxTransform, pxTransformHelper, pxTransform, canIUseWebp, getAppInfo, getUIContext, canIUse, arrayBufferToBase64, base64ToArrayBuffer, getUserCryptoManager, setEnableDebug, getRealtimeLogManager, getLogManager, reportPerformance, getPerformance, preloadWebview, preloadSkylineView, preloadAssets, getWindowInfo, getSystemSetting, getDeviceInfo, getAppBaseInfo, getAppAuthorizeSetting, getSystemInfoSync, getSystemInfo, updateWeChatApp, getUpdateManager, onUnhandledRejection, onThemeChange, onPageNotFound, onLazyLoadError, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offLazyLoadError, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide, getLaunchOptionsSync, getEnterOptionsSync, createOffscreenCanvas, createCanvasContext, canvasToTempFilePath, canvasPutImageData, canvasGetImageData, reportMonitor, reportAnalytics, reportEvent, getExptInfoSync, stopAccelerometer, startAccelerometer, onAccelerometerChange, offAccelerometerChange, checkIsOpenAccessibility, getBatteryInfoSync, getBatteryInfo, stopBluetoothDevicesDiscovery, startBluetoothDevicesDiscovery, openBluetoothAdapter, onBluetoothDeviceFound, onBluetoothAdapterStateChange, offBluetoothDeviceFound, offBluetoothAdapterStateChange, makeBluetoothPair, isBluetoothDevicePaired, getConnectedBluetoothDevices, getBluetoothDevices, getBluetoothAdapterState, closeBluetoothAdapter, writeBLECharacteristicValue, setBLEMTU, readBLECharacteristicValue, onBLEMTUChange, onBLEConnectionStateChange, onBLECharacteristicValueChange, offBLEMTUChange, offBLEConnectionStateChange, offBLECharacteristicValueChange, notifyBLECharacteristicValueChange, getBLEMTU, getBLEDeviceServices, getBLEDeviceRSSI, getBLEDeviceCharacteristics, createBLEConnection, closeBLEConnection, onBLEPeripheralConnectionStateChanged, offBLEPeripheralConnectionStateChanged, createBLEPeripheralServer, addPhoneRepeatCalendar, addPhoneCalendar, setClipboardData, getClipboardData, stopCompass, startCompass, onCompassChange, offCompassChange, chooseContact, addPhoneContact, getRandomValues, stopGyroscope, startGyroscope, onGyroscopeChange, offGyroscopeChange, stopBeaconDiscovery, startBeaconDiscovery, onBeaconUpdate, onBeaconServiceChange, offBeaconUpdate, offBeaconServiceChange, getBeacons, onKeyboardHeightChange, offKeyboardHeightChange, hideKeyboard, getSelectedTextRange, onMemoryWarning, offMemoryWarning, stopDeviceMotionListening, startDeviceMotionListening, onDeviceMotionChange, offDeviceMotionChange, getNetworkType, onNetworkWeakChange, onNetworkStatusChange, offNetworkWeakChange, offNetworkStatusChange, getLocalIPAddress, stopHCE, startHCE, sendHCEMessage, onHCEMessage, offHCEMessage, getNFCAdapter, getHCEState, makePhoneCall, scanCode, setVisualEffectOnCapture, setScreenBrightness, setKeepScreenOn, onUserCaptureScreen, offUserCaptureScreen, getScreenBrightness, onScreenRecordingStateChanged, offScreenRecordingStateChanged, getScreenRecordingState, sendSms, vibrateLong, vibrateShort, stopWifi, startWifi, setWifiList, onWifiConnectedWithPartialInfo, onWifiConnected, onGetWifiList, offWifiConnectedWithPartialInfo, offWifiConnected, offGetWifiList, getWifiList, getConnectedWifi, connectWifi, getExtConfigSync, getExtConfig, saveFileToDisk, openDocument, saveFile, removeSavedFile, getFileInfo, getSavedFileList, getSavedFileInfo, getFileSystemManager, ENV_TYPE, getEnv, getCurrentPages, Current, getCurrentInstance, requirePlugin, updatePageSync, unstable_SetPageIsTextNeedLayout, triggerTaskPoolMethods, stopLocationUpdate, startLocationUpdateBackground, startLocationUpdate, openLocation, getLocation, onLocationChange, offLocationChange, onLocationChangeError, offLocationChangeError, choosePoi, chooseLocation, getFuzzyLocation, stopVoice, setInnerAudioOption, playVoice, pauseVoice, getAvailableAudioSources, createWebAudioContext, createMediaAudioPlayer, createInnerAudioContext, createAudioContext, refreshAudioSession, stopBackgroundAudio, seekBackgroundAudio, playBackgroundAudio, pauseBackgroundAudio, onBackgroundAudioStop, onBackgroundAudioPlay, onBackgroundAudioPause, getBackgroundAudioPlayerState, getBackgroundAudioManager, createCameraContext, previewMedia, chooseMedia, previewImage, getImageInfo, compressImage, chooseImage, saveImageToPhotosAlbum, createLivePusherContext, createLivePlayerContext, createMapContext, createMediaRecorder, stopRecord, startRecord, getRecorderManager, createVideoContext, chooseVideo, compressVideo, getVideoInfo, openVideoEditor, saveVideoToPhotosAlbum, createVideoDecoder, createMediaContainer, updateVoIPChatMuteConfig, subscribeVoIPVideoMembers, setEnable1v1Chat, onVoIPVideoMembersChanged, onVoIPChatStateChanged, onVoIPChatSpeakersChanged, onVoIPChatMembersChanged, onVoIPChatInterrupted, offVoIPChatSpeakersChanged, offVoIPVideoMembersChanged, offVoIPChatStateChanged, offVoIPChatMembersChanged, offVoIPChatInterrupted, joinVoIPChat, join1v1Chat, exitVoIPChat, openEmbeddedMiniProgram, navigateToMiniProgram, navigateBackMiniProgram, exitMiniProgram, openBusinessView, downloadFile, stopLocalServiceDiscovery, startLocalServiceDiscovery, onLocalServiceResolveFail, onLocalServiceLost, onLocalServiceFound, onLocalServiceDiscoveryStop, offLocalServiceResolveFail, offLocalServiceLost, offLocalServiceFound, offLocalServiceDiscoveryStop, request, createTCPSocket, createUDPSocket, uploadFile, connectSocket, getAccountInfoSync, chooseAddress, authorizeForMiniProgram, authorize, openCard, addCard, reserveChannelsLive, openChannelsUserProfile, openChannelsLive, openChannelsEvent, openChannelsActivity, getChannelsShareKey, getChannelsLiveNoticeInfo, getChannelsLiveInfo, openCustomerServiceChat, requestDeviceVoIP, getDeviceVoIPList, checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay, addVideoToFavorites, addFileToFavorites, getGroupEnterInfo, chooseInvoiceTitle, chooseInvoice, chooseLicensePlate, pluginLogin, login, checkSession, checkIsAddedToMyMiniProgram, requirePrivacyAuthorize, openPrivacyContract, onNeedPrivacyAuthorization, getPrivacySetting, showRedPackage, openSetting, getSetting, startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice, requestSubscribeMessage, requestSubscribeDeviceMessage, getUserInfo, getUserProfile, shareToWeRun, getWeRunData, requestPayment, requestPluginPayment, requestOrderPayment, navigateTo, redirectTo, navigateBack, reLaunch, switchTab, updateShareMenu, showShareMenu, showShareImageMenu, shareVideoMessage, shareFileMessage, onCopyUrl, offCopyUrl, hideShareMenu, getShareInfo, authPrivateMessage, getStorage, setStorage, removeStorage, getStorageInfoSync, getStorageInfo, createBufferURL, revokeBufferURL, batchSetStorageSync, batchSetStorage, batchGetStorageSync, batchGetStorage, clearStorage, getStorageSync, setStorageSync, clearStorageSync, removeStorageSync, setBackgroundFetchToken, onBackgroundFetchData, getBackgroundFetchToken, getBackgroundFetchData, createCacheManager, createAnimation, setBackgroundTextStyle, setBackgroundColor, loadFontFace, showToast, showModal, showActionSheet, hideToast, showLoading, hideLoading, enableAlertBeforeUnload, disableAlertBeforeUnload, getMenuButtonBoundingClientRect, setNavigationBarTitle, setNavigationBarColor, showNavigationBarLoading, hideNavigationBarLoading, hideHomeButton, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setTopBarText, showTabBar, hideTabBar, setTabBarStyle, setTabBarItem, showTabBarRedDot, hideTabBarRedDot, setTabBarBadge, removeTabBarBadge, setWindowSize, onWindowResize, offWindowResize, checkIsPictureInPictureActive, createWorker, createSelectorQuery, createIntersectionObserver, createMediaQueryObserver, IntersectionObserver };
|
|
802
|
+
export { eventCenter, Events, History, nextTick } from "@tarojs/runtime";
|