1 | import Taro from "@tarojs/api";
|
2 | import { AppConfig } from "@tarojs/api";
|
3 |
|
4 | declare const createRewardedVideoAd: () => Promise<{
|
5 | errMsg: string;
|
6 | }>;
|
7 | declare const createInterstitialAd: () => Promise<{
|
8 | errMsg: string;
|
9 | }>;
|
10 |
|
11 | declare const stopFaceDetect: () => Promise<{
|
12 | errMsg: string;
|
13 | }>;
|
14 | declare const initFaceDetect: () => Promise<{
|
15 | errMsg: string;
|
16 | }>;
|
17 | declare const faceDetect: () => Promise<{
|
18 | errMsg: string;
|
19 | }>;
|
20 |
|
21 | declare const isVKSupport: () => Promise<{
|
22 | errMsg: string;
|
23 | }>;
|
24 |
|
25 | declare const createVKSession: () => Promise<{
|
26 | errMsg: string;
|
27 | }>;
|
28 |
|
29 | declare const getOpenUserInfo: () => Promise<{
|
30 | errMsg: string;
|
31 | }>;
|
32 |
|
33 | declare const canIUse: () => Promise<{
|
34 | errMsg: string;
|
35 | }>;
|
36 | declare function arrayBufferToBase64(arrayBuffer: any): string;
|
37 | declare function base64ToArrayBuffer(base64: any): Uint8Array;
|
38 |
|
39 | declare const getUserCryptoManager: () => Promise<{
|
40 | errMsg: string;
|
41 | }>;
|
42 | declare const setEnableDebug: () => Promise<{
|
43 | errMsg: string;
|
44 | }>;
|
45 | declare const getRealtimeLogManager: () => Promise<{
|
46 | errMsg: string;
|
47 | }>;
|
48 | declare const getLogManager: () => Promise<{
|
49 | errMsg: string;
|
50 | }>;
|
51 |
|
52 | declare const reportPerformance: () => Promise<{
|
53 | errMsg: string;
|
54 | }>;
|
55 | declare const getPerformance: () => Promise<{
|
56 | errMsg: string;
|
57 | }>;
|
58 |
|
59 | declare const openSystemBluetoothSetting: () => Promise<{
|
60 | errMsg: string;
|
61 | }>;
|
62 |
|
63 | declare const openAppAuthorizeSetting: () => Promise<{
|
64 | errMsg: string;
|
65 | }>;
|
66 |
|
67 | declare const getWindowInfo: typeof Taro.getWindowInfo;
|
68 |
|
69 | declare const getSystemSetting: typeof Taro.getSystemSetting;
|
70 |
|
71 | declare const getDeviceInfo: typeof Taro.getDeviceInfo;
|
72 |
|
73 | declare const getAppBaseInfo: typeof Taro.getAppBaseInfo;
|
74 |
|
75 | declare const getAppAuthorizeSetting: typeof Taro.getAppAuthorizeSetting;
|
76 |
|
77 | declare const getSystemInfoSync: typeof Taro.getSystemInfoSync;
|
78 |
|
79 | declare const getSystemInfoAsync: typeof Taro.getSystemInfoAsync;
|
80 |
|
81 | declare const getSystemInfo: typeof Taro.getSystemInfo;
|
82 |
|
83 | declare const updateWeChatApp: () => Promise<{
|
84 | errMsg: string;
|
85 | }>;
|
86 | declare const getUpdateManager: () => Promise<{
|
87 | errMsg: string;
|
88 | }>;
|
89 |
|
90 | declare const onUnhandledRejection: () => Promise<{
|
91 | errMsg: string;
|
92 | }>;
|
93 | declare const onThemeChange: () => Promise<{
|
94 | errMsg: string;
|
95 | }>;
|
96 | declare const onPageNotFound: () => Promise<{
|
97 | errMsg: string;
|
98 | }>;
|
99 | declare const onError: () => Promise<{
|
100 | errMsg: string;
|
101 | }>;
|
102 | declare const onAudioInterruptionEnd: () => Promise<{
|
103 | errMsg: string;
|
104 | }>;
|
105 | declare const onAudioInterruptionBegin: () => Promise<{
|
106 | errMsg: string;
|
107 | }>;
|
108 | declare const onAppShow: typeof Taro.onAppShow;
|
109 | declare const onAppHide: typeof Taro.onAppHide;
|
110 | declare const offUnhandledRejection: () => Promise<{
|
111 | errMsg: string;
|
112 | }>;
|
113 | declare const offThemeChange: () => Promise<{
|
114 | errMsg: string;
|
115 | }>;
|
116 | declare const offPageNotFound: () => Promise<{
|
117 | errMsg: string;
|
118 | }>;
|
119 | declare const offError: () => Promise<{
|
120 | errMsg: string;
|
121 | }>;
|
122 | declare const offAudioInterruptionEnd: () => Promise<{
|
123 | errMsg: string;
|
124 | }>;
|
125 | declare const offAudioInterruptionBegin: () => Promise<{
|
126 | errMsg: string;
|
127 | }>;
|
128 | declare const offAppShow: typeof Taro.offWindowResize;
|
129 | declare const offAppHide: typeof Taro.offWindowResize;
|
130 |
|
131 | declare const getLaunchOptionsSync: () => Promise<{
|
132 | errMsg: string;
|
133 | }>;
|
134 | declare const getEnterOptionsSync: () => Promise<{
|
135 | errMsg: string;
|
136 | }>;
|
137 |
|
138 |
|
139 | declare const createOffscreenCanvas: () => Promise<{
|
140 | errMsg: string;
|
141 | }>;
|
142 |
|
143 |
|
144 |
|
145 | declare const createCanvasContext: typeof Taro.createCanvasContext;
|
146 |
|
147 |
|
148 |
|
149 |
|
150 | declare const canvasToTempFilePath: typeof Taro.canvasToTempFilePath;
|
151 |
|
152 |
|
153 |
|
154 |
|
155 | declare const canvasPutImageData: typeof Taro.canvasPutImageData;
|
156 |
|
157 |
|
158 |
|
159 | declare const canvasGetImageData: typeof Taro.canvasGetImageData;
|
160 | declare class cloud implements Taro.cloud {
|
161 | Cloud: new (options: Taro.cloud.IOptions) => Taro.Cloud;
|
162 | init: () => Promise<{
|
163 | errMsg: string;
|
164 | }>;
|
165 | CloudID: () => Promise<{
|
166 | errMsg: string;
|
167 | }>;
|
168 |
|
169 | callFunction: () => Promise<{
|
170 | errMsg: string;
|
171 | }>;
|
172 |
|
173 | uploadFile: () => Promise<{
|
174 | errMsg: string;
|
175 | }>;
|
176 |
|
177 | downloadFile: () => Promise<{
|
178 | errMsg: string;
|
179 | }>;
|
180 |
|
181 | getTempFileURL: () => Promise<{
|
182 | errMsg: string;
|
183 | }>;
|
184 |
|
185 | deleteFile: () => Promise<{
|
186 | errMsg: string;
|
187 | }>;
|
188 |
|
189 | database: () => Promise<{
|
190 | errMsg: string;
|
191 | }>;
|
192 |
|
193 | callContainer: () => Promise<{
|
194 | errMsg: string;
|
195 | }>;
|
196 | }
|
197 | declare const reportMonitor: () => Promise<{
|
198 | errMsg: string;
|
199 | }>;
|
200 | declare const reportAnalytics: () => Promise<{
|
201 | errMsg: string;
|
202 | }>;
|
203 | declare const reportEvent: () => Promise<{
|
204 | errMsg: string;
|
205 | }>;
|
206 | declare const getExptInfoSync: () => Promise<{
|
207 | errMsg: string;
|
208 | }>;
|
209 |
|
210 |
|
211 |
|
212 | declare const stopAccelerometer: typeof Taro.stopAccelerometer;
|
213 |
|
214 |
|
215 |
|
216 | declare const startAccelerometer: typeof Taro.startAccelerometer;
|
217 |
|
218 |
|
219 |
|
220 | declare const onAccelerometerChange: typeof Taro.onAccelerometerChange;
|
221 |
|
222 |
|
223 |
|
224 | declare const offAccelerometerChange: typeof Taro.offAccelerometerChange;
|
225 |
|
226 | declare const checkIsOpenAccessibility: () => Promise<{
|
227 | errMsg: string;
|
228 | }>;
|
229 |
|
230 | declare const getBatteryInfoSync: () => Promise<{
|
231 | errMsg: string;
|
232 | }>;
|
233 | declare const getBatteryInfo: typeof Taro.getBatteryInfo;
|
234 |
|
235 | declare const stopBluetoothDevicesDiscovery: () => Promise<{
|
236 | errMsg: string;
|
237 | }>;
|
238 | declare const startBluetoothDevicesDiscovery: () => Promise<{
|
239 | errMsg: string;
|
240 | }>;
|
241 | declare const openBluetoothAdapter: () => Promise<{
|
242 | errMsg: string;
|
243 | }>;
|
244 | declare const onBluetoothDeviceFound: () => Promise<{
|
245 | errMsg: string;
|
246 | }>;
|
247 | declare const onBluetoothAdapterStateChange: () => Promise<{
|
248 | errMsg: string;
|
249 | }>;
|
250 | declare const offBluetoothDeviceFound: () => Promise<{
|
251 | errMsg: string;
|
252 | }>;
|
253 | declare const offBluetoothAdapterStateChange: () => Promise<{
|
254 | errMsg: string;
|
255 | }>;
|
256 | declare const makeBluetoothPair: () => Promise<{
|
257 | errMsg: string;
|
258 | }>;
|
259 | declare const isBluetoothDevicePaired: () => Promise<{
|
260 | errMsg: string;
|
261 | }>;
|
262 | declare const getConnectedBluetoothDevices: () => Promise<{
|
263 | errMsg: string;
|
264 | }>;
|
265 | declare const getBluetoothDevices: () => Promise<{
|
266 | errMsg: string;
|
267 | }>;
|
268 | declare const getBluetoothAdapterState: () => Promise<{
|
269 | errMsg: string;
|
270 | }>;
|
271 | declare const closeBluetoothAdapter: () => Promise<{
|
272 | errMsg: string;
|
273 | }>;
|
274 |
|
275 | declare const writeBLECharacteristicValue: () => Promise<{
|
276 | errMsg: string;
|
277 | }>;
|
278 | declare const setBLEMTU: () => Promise<{
|
279 | errMsg: string;
|
280 | }>;
|
281 | declare const readBLECharacteristicValue: () => Promise<{
|
282 | errMsg: string;
|
283 | }>;
|
284 | declare const onBLEMTUChange: () => Promise<{
|
285 | errMsg: string;
|
286 | }>;
|
287 | declare const onBLEConnectionStateChange: () => Promise<{
|
288 | errMsg: string;
|
289 | }>;
|
290 | declare const onBLECharacteristicValueChange: () => Promise<{
|
291 | errMsg: string;
|
292 | }>;
|
293 | declare const offBLEMTUChange: () => Promise<{
|
294 | errMsg: string;
|
295 | }>;
|
296 | declare const offBLEConnectionStateChange: () => Promise<{
|
297 | errMsg: string;
|
298 | }>;
|
299 | declare const offBLECharacteristicValueChange: () => Promise<{
|
300 | errMsg: string;
|
301 | }>;
|
302 | declare const notifyBLECharacteristicValueChange: () => Promise<{
|
303 | errMsg: string;
|
304 | }>;
|
305 | declare const getBLEMTU: () => Promise<{
|
306 | errMsg: string;
|
307 | }>;
|
308 | declare const getBLEDeviceServices: () => Promise<{
|
309 | errMsg: string;
|
310 | }>;
|
311 | declare const getBLEDeviceRSSI: () => Promise<{
|
312 | errMsg: string;
|
313 | }>;
|
314 | declare const getBLEDeviceCharacteristics: () => Promise<{
|
315 | errMsg: string;
|
316 | }>;
|
317 | declare const createBLEConnection: () => Promise<{
|
318 | errMsg: string;
|
319 | }>;
|
320 | declare const closeBLEConnection: () => Promise<{
|
321 | errMsg: string;
|
322 | }>;
|
323 |
|
324 | declare const onBLEPeripheralConnectionStateChanged: () => Promise<{
|
325 | errMsg: string;
|
326 | }>;
|
327 | declare const offBLEPeripheralConnectionStateChanged: () => Promise<{
|
328 | errMsg: string;
|
329 | }>;
|
330 | declare const createBLEPeripheralServer: () => Promise<{
|
331 | errMsg: string;
|
332 | }>;
|
333 |
|
334 | declare const addPhoneRepeatCalendar: () => Promise<{
|
335 | errMsg: string;
|
336 | }>;
|
337 | declare const addPhoneCalendar: () => Promise<{
|
338 | errMsg: string;
|
339 | }>;
|
340 |
|
341 |
|
342 |
|
343 | declare const setClipboardData: typeof Taro.setClipboardData;
|
344 |
|
345 |
|
346 |
|
347 | declare const getClipboardData: typeof Taro.getClipboardData;
|
348 |
|
349 |
|
350 |
|
351 | declare const stopCompass: typeof Taro.stopCompass;
|
352 |
|
353 |
|
354 |
|
355 | declare const startCompass: typeof Taro.startCompass;
|
356 |
|
357 |
|
358 |
|
359 | declare const onCompassChange: typeof Taro.onCompassChange;
|
360 |
|
361 |
|
362 |
|
363 | declare const offCompassChange: typeof Taro.offCompassChange;
|
364 |
|
365 | declare const chooseContact: () => Promise<{
|
366 | errMsg: string;
|
367 | }>;
|
368 | declare const addPhoneContact: () => Promise<{
|
369 | errMsg: string;
|
370 | }>;
|
371 |
|
372 | declare const getRandomValues: () => Promise<{
|
373 | errMsg: string;
|
374 | }>;
|
375 |
|
376 | declare const stopGyroscope: () => Promise<{
|
377 | errMsg: string;
|
378 | }>;
|
379 | declare const startGyroscope: () => Promise<{
|
380 | errMsg: string;
|
381 | }>;
|
382 | declare const onGyroscopeChange: () => Promise<{
|
383 | errMsg: string;
|
384 | }>;
|
385 | declare const offGyroscopeChange: () => Promise<{
|
386 | errMsg: string;
|
387 | }>;
|
388 |
|
389 | declare const stopBeaconDiscovery: () => Promise<{
|
390 | errMsg: string;
|
391 | }>;
|
392 | declare const startBeaconDiscovery: () => Promise<{
|
393 | errMsg: string;
|
394 | }>;
|
395 | declare const onBeaconUpdate: () => Promise<{
|
396 | errMsg: string;
|
397 | }>;
|
398 | declare const onBeaconServiceChange: () => Promise<{
|
399 | errMsg: string;
|
400 | }>;
|
401 | declare const offBeaconUpdate: () => Promise<{
|
402 | errMsg: string;
|
403 | }>;
|
404 | declare const offBeaconServiceChange: () => Promise<{
|
405 | errMsg: string;
|
406 | }>;
|
407 | declare const getBeacons: () => Promise<{
|
408 | errMsg: string;
|
409 | }>;
|
410 |
|
411 | declare const onKeyboardHeightChange: () => Promise<{
|
412 | errMsg: string;
|
413 | }>;
|
414 | declare const offKeyboardHeightChange: () => Promise<{
|
415 | errMsg: string;
|
416 | }>;
|
417 | declare const hideKeyboard: () => Promise<{
|
418 | errMsg: string;
|
419 | }>;
|
420 | declare const getSelectedTextRange: () => Promise<{
|
421 | errMsg: string;
|
422 | }>;
|
423 |
|
424 | declare const onMemoryWarning: () => Promise<{
|
425 | errMsg: string;
|
426 | }>;
|
427 | declare const offMemoryWarning: () => Promise<{
|
428 | errMsg: string;
|
429 | }>;
|
430 |
|
431 |
|
432 |
|
433 | declare const stopDeviceMotionListening: typeof Taro.stopDeviceMotionListening;
|
434 |
|
435 |
|
436 |
|
437 | declare const startDeviceMotionListening: typeof Taro.startDeviceMotionListening;
|
438 |
|
439 |
|
440 |
|
441 | declare const onDeviceMotionChange: typeof Taro.onDeviceMotionChange;
|
442 |
|
443 |
|
444 |
|
445 | declare const offDeviceMotionChange: typeof Taro.offDeviceMotionChange;
|
446 | declare const getNetworkType: typeof Taro.getNetworkType;
|
447 |
|
448 |
|
449 |
|
450 |
|
451 |
|
452 |
|
453 |
|
454 | declare const onNetworkWeakChange: () => Promise<{
|
455 | errMsg: string;
|
456 | }>;
|
457 | declare const onNetworkStatusChange: typeof Taro.onNetworkStatusChange;
|
458 | declare const offNetworkWeakChange: () => Promise<{
|
459 | errMsg: string;
|
460 | }>;
|
461 | declare const offNetworkStatusChange: typeof Taro.offNetworkStatusChange;
|
462 | declare const getLocalIPAddress: () => Promise<{
|
463 | errMsg: string;
|
464 | }>;
|
465 |
|
466 | declare const stopHCE: () => Promise<{
|
467 | errMsg: string;
|
468 | }>;
|
469 | declare const startHCE: () => Promise<{
|
470 | errMsg: string;
|
471 | }>;
|
472 | declare const sendHCEMessage: () => Promise<{
|
473 | errMsg: string;
|
474 | }>;
|
475 | declare const onHCEMessage: () => Promise<{
|
476 | errMsg: string;
|
477 | }>;
|
478 | declare const offHCEMessage: () => Promise<{
|
479 | errMsg: string;
|
480 | }>;
|
481 | declare const getNFCAdapter: () => Promise<{
|
482 | errMsg: string;
|
483 | }>;
|
484 | declare const getHCEState: () => Promise<{
|
485 | errMsg: string;
|
486 | }>;
|
487 | declare const makePhoneCall: typeof Taro.makePhoneCall;
|
488 |
|
489 | declare const scanCode: (options?: Partial<{
|
490 | needResult: number;
|
491 | }>) => Promise<any>;
|
492 |
|
493 | declare const setVisualEffectOnCapture: () => Promise<{
|
494 | errMsg: string;
|
495 | }>;
|
496 | declare const setScreenBrightness: () => Promise<{
|
497 | errMsg: string;
|
498 | }>;
|
499 | declare const setKeepScreenOn: () => Promise<{
|
500 | errMsg: string;
|
501 | }>;
|
502 | declare const onUserCaptureScreen: () => Promise<{
|
503 | errMsg: string;
|
504 | }>;
|
505 | declare const offUserCaptureScreen: () => Promise<{
|
506 | errMsg: string;
|
507 | }>;
|
508 | declare const getScreenBrightness: () => Promise<{
|
509 | errMsg: string;
|
510 | }>;
|
511 |
|
512 |
|
513 |
|
514 | declare const vibrateShort: typeof Taro.vibrateShort;
|
515 |
|
516 |
|
517 |
|
518 | declare const vibrateLong: typeof Taro.vibrateLong;
|
519 |
|
520 | declare const stopWifi: () => Promise<{
|
521 | errMsg: string;
|
522 | }>;
|
523 | declare const startWifi: () => Promise<{
|
524 | errMsg: string;
|
525 | }>;
|
526 | declare const setWifiList: () => Promise<{
|
527 | errMsg: string;
|
528 | }>;
|
529 | declare const onWifiConnectedWithPartialInfo: () => Promise<{
|
530 | errMsg: string;
|
531 | }>;
|
532 | declare const onWifiConnected: () => Promise<{
|
533 | errMsg: string;
|
534 | }>;
|
535 | declare const onGetWifiList: () => Promise<{
|
536 | errMsg: string;
|
537 | }>;
|
538 | declare const offWifiConnected: () => Promise<{
|
539 | errMsg: string;
|
540 | }>;
|
541 | declare const offGetWifiList: () => Promise<{
|
542 | errMsg: string;
|
543 | }>;
|
544 | declare const getWifiList: () => Promise<{
|
545 | errMsg: string;
|
546 | }>;
|
547 | declare const getConnectedWifi: () => Promise<{
|
548 | errMsg: string;
|
549 | }>;
|
550 | declare const connectWifi: () => Promise<{
|
551 | errMsg: string;
|
552 | }>;
|
553 |
|
554 | declare const getExtConfigSync: () => Promise<{
|
555 | errMsg: string;
|
556 | }>;
|
557 | declare const getExtConfig: () => Promise<{
|
558 | errMsg: string;
|
559 | }>;
|
560 |
|
561 | declare const saveFileToDisk: () => Promise<{
|
562 | errMsg: string;
|
563 | }>;
|
564 | declare const saveFile: () => Promise<{
|
565 | errMsg: string;
|
566 | }>;
|
567 | declare const removeSavedFile: () => Promise<{
|
568 | errMsg: string;
|
569 | }>;
|
570 | declare const openDocument: () => Promise<{
|
571 | errMsg: string;
|
572 | }>;
|
573 | declare const getSavedFileList: () => Promise<{
|
574 | errMsg: string;
|
575 | }>;
|
576 | declare const getSavedFileInfo: () => Promise<{
|
577 | errMsg: string;
|
578 | }>;
|
579 | declare const getFileSystemManager: () => Promise<{
|
580 | errMsg: string;
|
581 | }>;
|
582 | declare const getFileInfo: () => Promise<{
|
583 | errMsg: string;
|
584 | }>;
|
585 | declare const getApp: typeof Taro.getApp;
|
586 |
|
587 | declare const getCurrentInstance: () => Taro.Current;
|
588 |
|
589 | declare const stopLocationUpdate: () => Promise<{
|
590 | errMsg: string;
|
591 | }>;
|
592 | declare const startLocationUpdateBackground: () => Promise<{
|
593 | errMsg: string;
|
594 | }>;
|
595 | declare const startLocationUpdate: () => Promise<{
|
596 | errMsg: string;
|
597 | }>;
|
598 | declare const openLocation: (options?: Partial<{
|
599 | scale: number;
|
600 | }>) => Promise<any>;
|
601 | declare const onLocationChangeError: () => Promise<{
|
602 | errMsg: string;
|
603 | }>;
|
604 | declare const onLocationChange: () => Promise<{
|
605 | errMsg: string;
|
606 | }>;
|
607 | declare const offLocationChangeError: () => Promise<{
|
608 | errMsg: string;
|
609 | }>;
|
610 | declare const offLocationChange: () => Promise<{
|
611 | errMsg: string;
|
612 | }>;
|
613 | declare const getLocation: (options?: Partial<Taro.getLocation.Option>) => Promise<Taro.getLocation.SuccessCallbackResult>;
|
614 | declare const choosePoi: () => Promise<{
|
615 | errMsg: string;
|
616 | }>;
|
617 | declare const getFuzzyLocation: () => Promise<{
|
618 | errMsg: string;
|
619 | }>;
|
620 |
|
621 |
|
622 |
|
623 | declare const chooseLocation: typeof Taro.chooseLocation;
|
624 |
|
625 | declare const stopVoice: () => Promise<{
|
626 | errMsg: string;
|
627 | }>;
|
628 | declare const setInnerAudioOption: () => Promise<{
|
629 | errMsg: string;
|
630 | }>;
|
631 | declare const playVoice: () => Promise<{
|
632 | errMsg: string;
|
633 | }>;
|
634 | declare const pauseVoice: () => Promise<{
|
635 | errMsg: string;
|
636 | }>;
|
637 | declare const getAvailableAudioSources: () => Promise<{
|
638 | errMsg: string;
|
639 | }>;
|
640 | declare const createWebAudioContext: () => Promise<{
|
641 | errMsg: string;
|
642 | }>;
|
643 | declare const createMediaAudioPlayer: () => Promise<{
|
644 | errMsg: string;
|
645 | }>;
|
646 |
|
647 |
|
648 |
|
649 | declare const createInnerAudioContext: typeof Taro.createInnerAudioContext;
|
650 | declare const createAudioContext: () => Promise<{
|
651 | errMsg: string;
|
652 | }>;
|
653 | type TCallbackManagerParam = (...arr: unknown[]) => void;
|
654 | interface ICallbackManagerOption {
|
655 | callback?: TCallbackManagerParam;
|
656 | ctx?: any;
|
657 | [key: string]: unknown;
|
658 | }
|
659 | type TCallbackManagerListItem = (TCallbackManagerParam | ICallbackManagerOption);
|
660 | type TCallbackManagerList = TCallbackManagerListItem[];
|
661 | declare class CallbackManager {
|
662 | callbacks: TCallbackManagerList;
|
663 | |
664 |
|
665 |
|
666 |
|
667 | add: (opt?: TCallbackManagerListItem) => void;
|
668 | |
669 |
|
670 |
|
671 |
|
672 | remove: (opt?: TCallbackManagerListItem) => void;
|
673 | |
674 |
|
675 |
|
676 |
|
677 | count: () => number;
|
678 | |
679 |
|
680 |
|
681 |
|
682 | trigger: (...args: TCallbackManagerList) => void;
|
683 | }
|
684 | declare class BackgroundAudioManager implements Taro.BackgroundAudioManager {
|
685 | Instance?: HTMLAudioElement;
|
686 | errorStack: CallbackManager;
|
687 | stopStack: CallbackManager;
|
688 | __startTime: number;
|
689 | constructor();
|
690 | set src(e: string);
|
691 | get src(): string;
|
692 | set startTime(e: number);
|
693 | get startTime(): number;
|
694 | set title(e: string);
|
695 | get title(): string;
|
696 | set epname(e: string);
|
697 | get epname(): string;
|
698 | set singer(e: string);
|
699 | get singer(): string;
|
700 | set coverImgUrl(e: string);
|
701 | get coverImgUrl(): string;
|
702 | set webUrl(e: string);
|
703 | get webUrl(): string;
|
704 | set protocol(e: string);
|
705 | get protocol(): string;
|
706 | set playbackRate(e: number);
|
707 | get playbackRate(): number;
|
708 | get duration(): number;
|
709 | get currentTime(): number;
|
710 | get paused(): boolean;
|
711 | get buffered(): number;
|
712 | set referrerPolicy(e: string);
|
713 | get referrerPolicy(): string;
|
714 | private setProperty;
|
715 | private dataset;
|
716 | play: () => Promise<void> | undefined;
|
717 | pause: () => void | undefined;
|
718 | seek: (position: number) => void;
|
719 | stop: () => void;
|
720 | onCanplay: (callback?: () => void) => void | undefined;
|
721 | onWaiting: (callback?: () => void) => void | undefined;
|
722 | onError: (callback?: ((res: Taro.InnerAudioContext.onErrorDetail) => void) | undefined) => void;
|
723 | onPlay: (callback?: () => void) => void | undefined;
|
724 | onPause: (callback?: () => void) => void | undefined;
|
725 | onSeeking: (callback?: () => void) => void | undefined;
|
726 | onSeeked: (callback?: () => void) => void | undefined;
|
727 | onEnded: (callback?: () => void) => void | undefined;
|
728 | onStop: (callback?: () => void) => void;
|
729 | onTimeUpdate: (callback?: () => void) => void | undefined;
|
730 | onPrev: () => Promise<{
|
731 | errMsg: string;
|
732 | }>;
|
733 | onNext: () => Promise<{
|
734 | errMsg: string;
|
735 | }>;
|
736 | offCanplay: (callback?: () => void) => void | undefined;
|
737 | offWaiting: (callback?: () => void) => void | undefined;
|
738 | offError: (callback?: () => void) => void;
|
739 | offPlay: (callback?: () => void) => void | undefined;
|
740 | offPause: (callback?: () => void) => void | undefined;
|
741 | offSeeking: (callback?: () => void) => void | undefined;
|
742 | offSeeked: (callback?: () => void) => void | undefined;
|
743 | offEnded: (callback?: () => void) => void | undefined;
|
744 | offStop: (callback?: () => void) => void;
|
745 | offTimeUpdate: (callback?: () => void) => void | undefined;
|
746 | offPrev: () => Promise<{
|
747 | errMsg: string;
|
748 | }>;
|
749 | offNext: () => Promise<{
|
750 | errMsg: string;
|
751 | }>;
|
752 | }
|
753 |
|
754 | declare const stopBackgroundAudio: () => Promise<{
|
755 | errMsg: string;
|
756 | }>;
|
757 | declare const seekBackgroundAudio: () => Promise<{
|
758 | errMsg: string;
|
759 | }>;
|
760 | declare const playBackgroundAudio: () => Promise<{
|
761 | errMsg: string;
|
762 | }>;
|
763 | declare const pauseBackgroundAudio: () => Promise<{
|
764 | errMsg: string;
|
765 | }>;
|
766 | declare const onBackgroundAudioStop: () => Promise<{
|
767 | errMsg: string;
|
768 | }>;
|
769 | declare const onBackgroundAudioPlay: () => Promise<{
|
770 | errMsg: string;
|
771 | }>;
|
772 | declare const onBackgroundAudioPause: () => Promise<{
|
773 | errMsg: string;
|
774 | }>;
|
775 | declare const getBackgroundAudioPlayerState: () => Promise<{
|
776 | errMsg: string;
|
777 | }>;
|
778 |
|
779 |
|
780 |
|
781 | declare const getBackgroundAudioManager: () => BackgroundAudioManager;
|
782 |
|
783 | declare const createCameraContext: () => Promise<{
|
784 | errMsg: string;
|
785 | }>;
|
786 |
|
787 | declare const saveImageToPhotosAlbum: () => Promise<{
|
788 | errMsg: string;
|
789 | }>;
|
790 | declare const previewMedia: () => Promise<{
|
791 | errMsg: string;
|
792 | }>;
|
793 |
|
794 |
|
795 |
|
796 | declare const getImageInfo: typeof Taro.getImageInfo;
|
797 |
|
798 |
|
799 |
|
800 |
|
801 |
|
802 |
|
803 | declare const previewImage: typeof Taro.previewImage;
|
804 | declare const compressImage: () => Promise<{
|
805 | errMsg: string;
|
806 | }>;
|
807 | declare const chooseMessageFile: () => Promise<{
|
808 | errMsg: string;
|
809 | }>;
|
810 |
|
811 |
|
812 |
|
813 | declare const chooseImage: typeof Taro.chooseImage;
|
814 |
|
815 | declare const createLivePusherContext: () => Promise<{
|
816 | errMsg: string;
|
817 | }>;
|
818 | declare const createLivePlayerContext: () => Promise<{
|
819 | errMsg: string;
|
820 | }>;
|
821 |
|
822 | declare const createMapContext: () => Promise<{
|
823 | errMsg: string;
|
824 | }>;
|
825 |
|
826 | declare const createMediaRecorder: () => Promise<{
|
827 | errMsg: string;
|
828 | }>;
|
829 |
|
830 | declare const stopRecord: () => Promise<{
|
831 | errMsg: string;
|
832 | }>;
|
833 | declare const startRecord: () => Promise<{
|
834 | errMsg: string;
|
835 | }>;
|
836 | declare const getRecorderManager: () => Promise<{
|
837 | errMsg: string;
|
838 | }>;
|
839 |
|
840 | declare const saveVideoToPhotosAlbum: () => Promise<{
|
841 | errMsg: string;
|
842 | }>;
|
843 | declare const openVideoEditor: () => Promise<{
|
844 | errMsg: string;
|
845 | }>;
|
846 | declare const getVideoInfo: () => Promise<{
|
847 | errMsg: string;
|
848 | }>;
|
849 |
|
850 |
|
851 |
|
852 | declare const createVideoContext: typeof Taro.createVideoContext;
|
853 | declare const compressVideo: () => Promise<{
|
854 | errMsg: string;
|
855 | }>;
|
856 |
|
857 |
|
858 |
|
859 | declare const chooseVideo: typeof Taro.chooseVideo;
|
860 | declare const chooseMedia: () => Promise<{
|
861 | errMsg: string;
|
862 | }>;
|
863 |
|
864 | declare const createVideoDecoder: () => Promise<{
|
865 | errMsg: string;
|
866 | }>;
|
867 |
|
868 | declare const createMediaContainer: () => Promise<{
|
869 | errMsg: string;
|
870 | }>;
|
871 |
|
872 | declare const updateVoIPChatMuteConfig: () => Promise<{
|
873 | errMsg: string;
|
874 | }>;
|
875 | declare const subscribeVoIPVideoMembers: () => Promise<{
|
876 | errMsg: string;
|
877 | }>;
|
878 | declare const setEnable1v1Chat: () => Promise<{
|
879 | errMsg: string;
|
880 | }>;
|
881 | declare const onVoIPVideoMembersChanged: () => Promise<{
|
882 | errMsg: string;
|
883 | }>;
|
884 | declare const onVoIPChatStateChanged: () => Promise<{
|
885 | errMsg: string;
|
886 | }>;
|
887 | declare const onVoIPChatSpeakersChanged: () => Promise<{
|
888 | errMsg: string;
|
889 | }>;
|
890 | declare const onVoIPChatMembersChanged: () => Promise<{
|
891 | errMsg: string;
|
892 | }>;
|
893 | declare const onVoIPChatInterrupted: () => Promise<{
|
894 | errMsg: string;
|
895 | }>;
|
896 | declare const offVoIPVideoMembersChanged: () => Promise<{
|
897 | errMsg: string;
|
898 | }>;
|
899 | declare const offVoIPChatStateChanged: () => Promise<{
|
900 | errMsg: string;
|
901 | }>;
|
902 | declare const offVoIPChatMembersChanged: () => Promise<{
|
903 | errMsg: string;
|
904 | }>;
|
905 | declare const offVoIPChatInterrupted: () => Promise<{
|
906 | errMsg: string;
|
907 | }>;
|
908 | declare const joinVoIPChat: () => Promise<{
|
909 | errMsg: string;
|
910 | }>;
|
911 | declare const exitVoIPChat: () => Promise<{
|
912 | errMsg: string;
|
913 | }>;
|
914 |
|
915 | declare const openEmbeddedMiniProgram: () => Promise<{
|
916 | errMsg: string;
|
917 | }>;
|
918 | declare const navigateToMiniProgram: () => Promise<{
|
919 | errMsg: string;
|
920 | }>;
|
921 | declare const navigateBackMiniProgram: () => Promise<{
|
922 | errMsg: string;
|
923 | }>;
|
924 | declare const exitMiniProgram: () => Promise<{
|
925 | errMsg: string;
|
926 | }>;
|
927 | declare const openBusinessView: () => Promise<{
|
928 | errMsg: string;
|
929 | }>;
|
930 |
|
931 |
|
932 |
|
933 |
|
934 | declare const downloadFile: typeof Taro.downloadFile;
|
935 |
|
936 | declare const stopLocalServiceDiscovery: () => Promise<{
|
937 | errMsg: string;
|
938 | }>;
|
939 | declare const startLocalServiceDiscovery: () => Promise<{
|
940 | errMsg: string;
|
941 | }>;
|
942 | declare const onLocalServiceResolveFail: () => Promise<{
|
943 | errMsg: string;
|
944 | }>;
|
945 | declare const onLocalServiceLost: () => Promise<{
|
946 | errMsg: string;
|
947 | }>;
|
948 | declare const onLocalServiceFound: () => Promise<{
|
949 | errMsg: string;
|
950 | }>;
|
951 | declare const onLocalServiceDiscoveryStop: () => Promise<{
|
952 | errMsg: string;
|
953 | }>;
|
954 | declare const offLocalServiceResolveFail: () => Promise<{
|
955 | errMsg: string;
|
956 | }>;
|
957 | declare const offLocalServiceLost: () => Promise<{
|
958 | errMsg: string;
|
959 | }>;
|
960 | declare const offLocalServiceFound: () => Promise<{
|
961 | errMsg: string;
|
962 | }>;
|
963 | declare const offLocalServiceDiscoveryStop: () => Promise<{
|
964 | errMsg: string;
|
965 | }>;
|
966 | declare const request: typeof Taro.request;
|
967 | declare const addInterceptor: any;
|
968 |
|
969 | declare const createTCPSocket: () => Promise<{
|
970 | errMsg: string;
|
971 | }>;
|
972 |
|
973 | declare const createUDPSocket: () => Promise<{
|
974 | errMsg: string;
|
975 | }>;
|
976 |
|
977 |
|
978 |
|
979 | declare const uploadFile: typeof Taro.uploadFile;
|
980 | declare function sendSocketMessage(): void;
|
981 | declare function onSocketOpen(): void;
|
982 | declare function onSocketMessage(): void;
|
983 | declare function onSocketError(): void;
|
984 | declare function onSocketClose(): void;
|
985 | declare function connectSocket(options: any): Promise<unknown>;
|
986 | declare function closeSocket(): void;
|
987 |
|
988 | declare const getAccountInfoSync: () => Promise<{
|
989 | errMsg: string;
|
990 | }>;
|
991 |
|
992 | declare const chooseAddress: () => Promise<{
|
993 | errMsg: string;
|
994 | }>;
|
995 |
|
996 | declare const authorizeForMiniProgram: () => Promise<{
|
997 | errMsg: string;
|
998 | }>;
|
999 | declare const authorize: () => Promise<{
|
1000 | errMsg: string;
|
1001 | }>;
|
1002 |
|
1003 | declare const openCard: () => Promise<{
|
1004 | errMsg: string;
|
1005 | }>;
|
1006 | declare const addCard: () => Promise<{
|
1007 | errMsg: string;
|
1008 | }>;
|
1009 |
|
1010 | declare const reserveChannelsLive: () => Promise<{
|
1011 | errMsg: string;
|
1012 | }>;
|
1013 | declare const openChannelsLive: () => Promise<{
|
1014 | errMsg: string;
|
1015 | }>;
|
1016 | declare const openChannelsEvent: () => Promise<{
|
1017 | errMsg: string;
|
1018 | }>;
|
1019 | declare const openChannelsActivity: () => Promise<{
|
1020 | errMsg: string;
|
1021 | }>;
|
1022 | declare const getChannelsLiveNoticeInfo: () => Promise<{
|
1023 | errMsg: string;
|
1024 | }>;
|
1025 | declare const getChannelsLiveInfo: () => Promise<{
|
1026 | errMsg: string;
|
1027 | }>;
|
1028 |
|
1029 | declare const openCustomerServiceChat: () => Promise<{
|
1030 | errMsg: string;
|
1031 | }>;
|
1032 |
|
1033 | declare const checkIsSupportFacialRecognition: () => Promise<{
|
1034 | errMsg: string;
|
1035 | }>;
|
1036 | declare const startFacialRecognitionVerify: () => Promise<{
|
1037 | errMsg: string;
|
1038 | }>;
|
1039 | declare const startFacialRecognitionVerifyAndUploadVideo: () => Promise<{
|
1040 | errMsg: string;
|
1041 | }>;
|
1042 | declare const faceVerifyForPay: () => Promise<{
|
1043 | errMsg: string;
|
1044 | }>;
|
1045 |
|
1046 | declare const addVideoToFavorites: () => Promise<{
|
1047 | errMsg: string;
|
1048 | }>;
|
1049 | declare const addFileToFavorites: () => Promise<{
|
1050 | errMsg: string;
|
1051 | }>;
|
1052 |
|
1053 | declare const getGroupEnterInfo: () => Promise<{
|
1054 | errMsg: string;
|
1055 | }>;
|
1056 |
|
1057 | declare const chooseInvoiceTitle: () => Promise<{
|
1058 | errMsg: string;
|
1059 | }>;
|
1060 | declare const chooseInvoice: () => Promise<{
|
1061 | errMsg: string;
|
1062 | }>;
|
1063 |
|
1064 | declare const chooseLicensePlate: () => Promise<{
|
1065 | errMsg: string;
|
1066 | }>;
|
1067 |
|
1068 | declare const pluginLogin: () => Promise<{
|
1069 | errMsg: string;
|
1070 | }>;
|
1071 | declare const login: () => Promise<{
|
1072 | errMsg: string;
|
1073 | }>;
|
1074 | declare const checkSession: () => Promise<{
|
1075 | errMsg: string;
|
1076 | }>;
|
1077 |
|
1078 | declare const showRedPackage: () => Promise<{
|
1079 | errMsg: string;
|
1080 | }>;
|
1081 |
|
1082 | declare const openSetting: () => Promise<{
|
1083 | errMsg: string;
|
1084 | }>;
|
1085 | declare const getSetting: () => Promise<{
|
1086 | errMsg: string;
|
1087 | }>;
|
1088 |
|
1089 | declare const startSoterAuthentication: () => Promise<{
|
1090 | errMsg: string;
|
1091 | }>;
|
1092 | declare const checkIsSupportSoterAuthentication: () => Promise<{
|
1093 | errMsg: string;
|
1094 | }>;
|
1095 | declare const checkIsSoterEnrolledInDevice: () => Promise<{
|
1096 | errMsg: string;
|
1097 | }>;
|
1098 |
|
1099 | declare const requestSubscribeMessage: () => Promise<{
|
1100 | errMsg: string;
|
1101 | }>;
|
1102 |
|
1103 | declare const getUserProfile: () => Promise<{
|
1104 | errMsg: string;
|
1105 | }>;
|
1106 | declare const getUserInfo: () => Promise<{
|
1107 | errMsg: string;
|
1108 | }>;
|
1109 |
|
1110 | declare const shareToWeRun: () => Promise<{
|
1111 | errMsg: string;
|
1112 | }>;
|
1113 | declare const getWeRunData: () => Promise<{
|
1114 | errMsg: string;
|
1115 | }>;
|
1116 |
|
1117 | declare const requestPayment: () => Promise<{
|
1118 | errMsg: string;
|
1119 | }>;
|
1120 | declare const requestOrderPayment: () => Promise<{
|
1121 | errMsg: string;
|
1122 | }>;
|
1123 |
|
1124 | declare const updateShareMenu: () => Promise<{
|
1125 | errMsg: string;
|
1126 | }>;
|
1127 | declare const showShareMenu: () => Promise<{
|
1128 | errMsg: string;
|
1129 | }>;
|
1130 | declare const showShareImageMenu: () => Promise<{
|
1131 | errMsg: string;
|
1132 | }>;
|
1133 | declare const shareVideoMessage: () => Promise<{
|
1134 | errMsg: string;
|
1135 | }>;
|
1136 | declare const shareFileMessage: () => Promise<{
|
1137 | errMsg: string;
|
1138 | }>;
|
1139 | declare const onCopyUrl: () => Promise<{
|
1140 | errMsg: string;
|
1141 | }>;
|
1142 | declare const offCopyUrl: () => Promise<{
|
1143 | errMsg: string;
|
1144 | }>;
|
1145 | declare const hideShareMenu: () => Promise<{
|
1146 | errMsg: string;
|
1147 | }>;
|
1148 | declare const getShareInfo: () => Promise<{
|
1149 | errMsg: string;
|
1150 | }>;
|
1151 | declare const authPrivateMessage: () => Promise<{
|
1152 | errMsg: string;
|
1153 | }>;
|
1154 |
|
1155 | declare const setStorageSync: typeof Taro.setStorageSync;
|
1156 | declare const setStorage: typeof Taro.setStorage;
|
1157 | declare const revokeBufferURL: () => Promise<{
|
1158 | errMsg: string;
|
1159 | }>;
|
1160 | declare const removeStorageSync: typeof Taro.removeStorageSync;
|
1161 | declare const removeStorage: typeof Taro.removeStorage;
|
1162 | declare const getStorageSync: typeof Taro.getStorageSync;
|
1163 | declare const getStorageInfoSync: typeof Taro.getStorageInfoSync;
|
1164 | declare const getStorageInfo: typeof Taro.getStorageInfo;
|
1165 | declare const getStorage: typeof Taro.getStorage;
|
1166 | declare const createBufferURL: () => Promise<{
|
1167 | errMsg: string;
|
1168 | }>;
|
1169 | declare const clearStorageSync: typeof Taro.clearStorageSync;
|
1170 | declare const clearStorage: typeof Taro.clearStorage;
|
1171 |
|
1172 | declare const setBackgroundFetchToken: () => Promise<{
|
1173 | errMsg: string;
|
1174 | }>;
|
1175 | declare const onBackgroundFetchData: () => Promise<{
|
1176 | errMsg: string;
|
1177 | }>;
|
1178 | declare const getBackgroundFetchToken: () => Promise<{
|
1179 | errMsg: string;
|
1180 | }>;
|
1181 | declare const getBackgroundFetchData: () => Promise<{
|
1182 | errMsg: string;
|
1183 | }>;
|
1184 | declare const setPageInfo: () => Promise<{
|
1185 | errMsg: string;
|
1186 | }>;
|
1187 |
|
1188 | declare const ocrIdCard: () => Promise<{
|
1189 | errMsg: string;
|
1190 | }>;
|
1191 | declare const ocrBankCard: () => Promise<{
|
1192 | errMsg: string;
|
1193 | }>;
|
1194 | declare const ocrDrivingLicense: () => Promise<{
|
1195 | errMsg: string;
|
1196 | }>;
|
1197 | declare const ocrVehicleLicense: () => Promise<{
|
1198 | errMsg: string;
|
1199 | }>;
|
1200 | declare const textReview: () => Promise<{
|
1201 | errMsg: string;
|
1202 | }>;
|
1203 | declare const textToAudio: () => Promise<{
|
1204 | errMsg: string;
|
1205 | }>;
|
1206 | declare const imageAudit: () => Promise<{
|
1207 | errMsg: string;
|
1208 | }>;
|
1209 | declare const advancedGeneralIdentify: () => Promise<{
|
1210 | errMsg: string;
|
1211 | }>;
|
1212 | declare const objectDetectIdentify: () => Promise<{
|
1213 | errMsg: string;
|
1214 | }>;
|
1215 | declare const carClassify: () => Promise<{
|
1216 | errMsg: string;
|
1217 | }>;
|
1218 | declare const dishClassify: () => Promise<{
|
1219 | errMsg: string;
|
1220 | }>;
|
1221 | declare const logoClassify: () => Promise<{
|
1222 | errMsg: string;
|
1223 | }>;
|
1224 | declare const animalClassify: () => Promise<{
|
1225 | errMsg: string;
|
1226 | }>;
|
1227 | declare const plantClassify: () => Promise<{
|
1228 | errMsg: string;
|
1229 | }>;
|
1230 |
|
1231 | declare const getSwanId: () => Promise<{
|
1232 | errMsg: string;
|
1233 | }>;
|
1234 |
|
1235 | declare const requestPolymerPayment: () => Promise<{
|
1236 | errMsg: string;
|
1237 | }>;
|
1238 |
|
1239 | declare const navigateToSmartGameProgram: () => Promise<{
|
1240 | errMsg: string;
|
1241 | }>;
|
1242 | declare const navigateToSmartProgram: () => Promise<{
|
1243 | errMsg: string;
|
1244 | }>;
|
1245 | declare const navigateBackSmartProgram: () => Promise<{
|
1246 | errMsg: string;
|
1247 | }>;
|
1248 | declare const preloadSubPackage: () => Promise<{
|
1249 | errMsg: string;
|
1250 | }>;
|
1251 |
|
1252 | declare const createAnimation: typeof Taro.createAnimation;
|
1253 |
|
1254 | declare const setBackgroundTextStyle: () => Promise<{
|
1255 | errMsg: string;
|
1256 | }>;
|
1257 | declare const setBackgroundColor: () => Promise<{
|
1258 | errMsg: string;
|
1259 | }>;
|
1260 |
|
1261 | declare const nextTick: (callback: (...args: any[]) => any) => void;
|
1262 |
|
1263 | declare const loadFontFace: typeof Taro.loadFontFace;
|
1264 | declare const showToast: typeof Taro.showToast;
|
1265 | declare const hideToast: typeof Taro.hideToast;
|
1266 | declare const showLoading: typeof Taro.showLoading;
|
1267 | declare const hideLoading: typeof Taro.hideLoading;
|
1268 | declare const showModal: typeof Taro.showModal;
|
1269 | declare const showActionSheet: typeof Taro.showActionSheet;
|
1270 | declare const enableAlertBeforeUnload: () => Promise<{
|
1271 | errMsg: string;
|
1272 | }>;
|
1273 | declare const disableAlertBeforeUnload: () => Promise<{
|
1274 | errMsg: string;
|
1275 | }>;
|
1276 |
|
1277 | declare const getMenuButtonBoundingClientRect: () => Promise<{
|
1278 | errMsg: string;
|
1279 | }>;
|
1280 |
|
1281 | declare const showNavigationBarLoading: () => Promise<{
|
1282 | errMsg: string;
|
1283 | }>;
|
1284 | declare function setNavigationBarTitle(options: any): Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
1285 |
|
1286 |
|
1287 |
|
1288 | declare const setNavigationBarColor: typeof Taro.setNavigationBarColor;
|
1289 | declare const hideNavigationBarLoading: () => Promise<{
|
1290 | errMsg: string;
|
1291 | }>;
|
1292 | declare const hideHomeButton: () => Promise<{
|
1293 | errMsg: string;
|
1294 | }>;
|
1295 |
|
1296 |
|
1297 |
|
1298 | declare const startPullDownRefresh: typeof Taro.startPullDownRefresh;
|
1299 |
|
1300 |
|
1301 |
|
1302 | declare const stopPullDownRefresh: typeof Taro.stopPullDownRefresh;
|
1303 |
|
1304 |
|
1305 |
|
1306 | declare const pageScrollTo: typeof Taro.pageScrollTo;
|
1307 |
|
1308 | declare const setTopBarText: () => Promise<{
|
1309 | errMsg: string;
|
1310 | }>;
|
1311 | declare function initTabBarApis(config?: AppConfig): void;
|
1312 |
|
1313 |
|
1314 |
|
1315 | declare const showTabBarRedDot: typeof Taro.showTabBarRedDot;
|
1316 |
|
1317 |
|
1318 |
|
1319 | declare const showTabBar: typeof Taro.showTabBar;
|
1320 |
|
1321 |
|
1322 |
|
1323 | declare const setTabBarStyle: typeof Taro.setTabBarStyle;
|
1324 |
|
1325 |
|
1326 |
|
1327 | declare const setTabBarItem: typeof Taro.setTabBarItem;
|
1328 |
|
1329 |
|
1330 |
|
1331 | declare const setTabBarBadge: typeof Taro.setTabBarBadge;
|
1332 |
|
1333 |
|
1334 |
|
1335 | declare const removeTabBarBadge: typeof Taro.removeTabBarBadge;
|
1336 |
|
1337 |
|
1338 |
|
1339 | declare const hideTabBarRedDot: typeof Taro.hideTabBarRedDot;
|
1340 |
|
1341 |
|
1342 |
|
1343 | declare const hideTabBar: typeof Taro.hideTabBar;
|
1344 |
|
1345 |
|
1346 |
|
1347 | declare const setWindowSize: () => Promise<{
|
1348 | errMsg: string;
|
1349 | }>;
|
1350 |
|
1351 |
|
1352 |
|
1353 | declare const onWindowResize: typeof Taro.onWindowResize;
|
1354 |
|
1355 |
|
1356 |
|
1357 | declare const offWindowResize: typeof Taro.offWindowResize;
|
1358 |
|
1359 | declare const createWorker: () => Promise<{
|
1360 | errMsg: string;
|
1361 | }>;
|
1362 | declare const createSelectorQuery: typeof Taro.createSelectorQuery;
|
1363 | declare const createIntersectionObserver: () => Promise<{
|
1364 | errMsg: string;
|
1365 | }>;
|
1366 | export { createRewardedVideoAd, createInterstitialAd, stopFaceDetect, initFaceDetect, faceDetect, isVKSupport, createVKSession, getOpenUserInfo, canIUse, arrayBufferToBase64, base64ToArrayBuffer, getUserCryptoManager, setEnableDebug, getRealtimeLogManager, getLogManager, reportPerformance, getPerformance, openSystemBluetoothSetting, openAppAuthorizeSetting, getWindowInfo, getSystemSetting, getDeviceInfo, getAppBaseInfo, getAppAuthorizeSetting, getSystemInfoSync, getSystemInfoAsync, getSystemInfo, updateWeChatApp, getUpdateManager, onUnhandledRejection, onThemeChange, onPageNotFound, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide, getLaunchOptionsSync, getEnterOptionsSync, createOffscreenCanvas, createCanvasContext, canvasToTempFilePath, canvasPutImageData, canvasGetImageData, cloud, 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, vibrateShort, vibrateLong, stopWifi, startWifi, setWifiList, onWifiConnectedWithPartialInfo, onWifiConnected, onGetWifiList, offWifiConnected, offGetWifiList, getWifiList, getConnectedWifi, connectWifi, getExtConfigSync, getExtConfig, saveFileToDisk, saveFile, removeSavedFile, openDocument, getSavedFileList, getSavedFileInfo, getFileSystemManager, getFileInfo, getApp, getCurrentInstance, stopLocationUpdate, startLocationUpdateBackground, startLocationUpdate, openLocation, onLocationChangeError, onLocationChange, offLocationChangeError, offLocationChange, getLocation, choosePoi, getFuzzyLocation, chooseLocation, stopVoice, setInnerAudioOption, playVoice, pauseVoice, getAvailableAudioSources, createWebAudioContext, createMediaAudioPlayer, createInnerAudioContext, createAudioContext, stopBackgroundAudio, seekBackgroundAudio, playBackgroundAudio, pauseBackgroundAudio, onBackgroundAudioStop, onBackgroundAudioPlay, onBackgroundAudioPause, getBackgroundAudioPlayerState, getBackgroundAudioManager, createCameraContext, saveImageToPhotosAlbum, previewMedia, getImageInfo, previewImage, compressImage, chooseMessageFile, chooseImage, createLivePusherContext, createLivePlayerContext, createMapContext, createMediaRecorder, stopRecord, startRecord, getRecorderManager, saveVideoToPhotosAlbum, openVideoEditor, getVideoInfo, createVideoContext, compressVideo, chooseVideo, chooseMedia, createVideoDecoder, createMediaContainer, updateVoIPChatMuteConfig, subscribeVoIPVideoMembers, setEnable1v1Chat, onVoIPVideoMembersChanged, onVoIPChatStateChanged, onVoIPChatSpeakersChanged, onVoIPChatMembersChanged, onVoIPChatInterrupted, offVoIPVideoMembersChanged, offVoIPChatStateChanged, offVoIPChatMembersChanged, offVoIPChatInterrupted, joinVoIPChat, exitVoIPChat, openEmbeddedMiniProgram, navigateToMiniProgram, navigateBackMiniProgram, exitMiniProgram, openBusinessView, downloadFile, stopLocalServiceDiscovery, startLocalServiceDiscovery, onLocalServiceResolveFail, onLocalServiceLost, onLocalServiceFound, onLocalServiceDiscoveryStop, offLocalServiceResolveFail, offLocalServiceLost, offLocalServiceFound, offLocalServiceDiscoveryStop, request, addInterceptor, createTCPSocket, createUDPSocket, uploadFile, sendSocketMessage, onSocketOpen, onSocketMessage, onSocketError, onSocketClose, connectSocket, closeSocket, getAccountInfoSync, chooseAddress, authorizeForMiniProgram, authorize, openCard, addCard, reserveChannelsLive, openChannelsLive, openChannelsEvent, openChannelsActivity, getChannelsLiveNoticeInfo, getChannelsLiveInfo, openCustomerServiceChat, checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay, addVideoToFavorites, addFileToFavorites, getGroupEnterInfo, chooseInvoiceTitle, chooseInvoice, chooseLicensePlate, pluginLogin, login, checkSession, showRedPackage, openSetting, getSetting, startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice, requestSubscribeMessage, getUserProfile, getUserInfo, shareToWeRun, getWeRunData, requestPayment, requestOrderPayment, updateShareMenu, showShareMenu, showShareImageMenu, shareVideoMessage, shareFileMessage, onCopyUrl, offCopyUrl, hideShareMenu, getShareInfo, authPrivateMessage, setStorageSync, setStorage, revokeBufferURL, removeStorageSync, removeStorage, getStorageSync, getStorageInfoSync, getStorageInfo, getStorage, createBufferURL, clearStorageSync, clearStorage, setBackgroundFetchToken, onBackgroundFetchData, getBackgroundFetchToken, getBackgroundFetchData, setPageInfo, ocrIdCard, ocrBankCard, ocrDrivingLicense, ocrVehicleLicense, textReview, textToAudio, imageAudit, advancedGeneralIdentify, objectDetectIdentify, carClassify, dishClassify, logoClassify, animalClassify, plantClassify, getSwanId, requestPolymerPayment, navigateToSmartGameProgram, navigateToSmartProgram, navigateBackSmartProgram, preloadSubPackage, createAnimation, setBackgroundTextStyle, setBackgroundColor, nextTick, loadFontFace, disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast, getMenuButtonBoundingClientRect, showNavigationBarLoading, setNavigationBarTitle, setNavigationBarColor, hideNavigationBarLoading, hideHomeButton, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setTopBarText, initTabBarApis, showTabBarRedDot, showTabBar, setTabBarStyle, setTabBarItem, setTabBarBadge, removeTabBarBadge, hideTabBarRedDot, hideTabBar, setWindowSize, onWindowResize, offWindowResize, createWorker, createSelectorQuery, createIntersectionObserver };
|
1367 | export { getCurrentPages, navigateBack, navigateTo, redirectTo, reLaunch, switchTab } from "@tarojs/router";
|