hylid-bridge 4.0.24-alpha.3 → 4.0.26-alpha.1
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/README.md +5 -5
- package/lib/bridges.d.ts +41 -57
- package/lib/bridges.js +23 -32
- package/lib/clients/mp/alipay/index.d.ts +242 -4
- package/lib/clients/mp/alipay/index.js +92 -4
- package/lib/clients/mp/alipayhk/index.d.ts +235 -2
- package/lib/clients/mp/alipayhk/index.js +90 -3
- package/lib/clients/mp/chope/index.d.ts +235 -2
- package/lib/clients/mp/chope/index.js +90 -3
- package/lib/clients/mp/dana/index.d.ts +235 -2
- package/lib/clients/mp/dana/index.js +90 -3
- package/lib/clients/mp/demo/index.d.ts +266 -8
- package/lib/clients/mp/demo/index.js +114 -3
- package/lib/clients/mp/gcash/index.d.ts +235 -2
- package/lib/clients/mp/gcash/index.js +90 -3
- package/lib/clients/mp/tmn/index.d.ts +235 -2
- package/lib/clients/mp/tmn/index.js +90 -3
- package/lib/clients/mp/tngd/index.d.ts +235 -2
- package/lib/clients/mp/tngd/index.js +90 -3
- package/lib/clients/mp/wechat/index.d.ts +0 -1
- package/lib/clients/mp_web/alipay/index.d.ts +244 -4
- package/lib/clients/mp_web/alipay/index.js +94 -4
- package/lib/clients/mp_web/alipayhk/index.d.ts +315 -16
- package/lib/clients/mp_web/alipayhk/index.js +105 -8
- package/lib/clients/mp_web/chope/index.d.ts +235 -2
- package/lib/clients/mp_web/chope/index.js +89 -2
- package/lib/clients/mp_web/dana/index.d.ts +314 -16
- package/lib/clients/mp_web/dana/index.js +104 -8
- package/lib/clients/mp_web/demo/index.d.ts +265 -8
- package/lib/clients/mp_web/demo/index.js +112 -2
- package/lib/clients/mp_web/gcash/index.d.ts +314 -16
- package/lib/clients/mp_web/gcash/index.js +104 -8
- package/lib/clients/mp_web/mpay/index.d.ts +315 -24
- package/lib/clients/mp_web/mpay/index.js +106 -12
- package/lib/clients/mp_web/tmn/index.d.ts +314 -16
- package/lib/clients/mp_web/tmn/index.js +104 -8
- package/lib/clients/mp_web/tngd/index.d.ts +314 -16
- package/lib/clients/mp_web/tngd/index.js +104 -8
- package/lib/clients/mp_web/toss/index.d.ts +322 -16
- package/lib/clients/mp_web/toss/index.js +106 -8
- package/lib/clients/web/alipay/index.d.ts +231 -115
- package/lib/clients/web/alipay/index.js +115 -74
- package/lib/clients/web/demo/index.d.ts +181 -60
- package/lib/clients/web/demo/index.js +106 -48
- package/lib/clients/web/h5/index.d.ts +22 -14
- package/lib/clients/web/h5/index.js +10 -8
- package/lib/clients/web/tngdh5ng/index.d.ts +29 -21
- package/lib/clients/web/tngdh5ng/index.js +26 -18
- package/lib/clients/web/worldfirst/index.d.ts +7 -0
- package/lib/clients/web/worldfirst/index.js +7 -0
- package/lib/clients/web/worldfirst/wfOpenDocument.d.ts +20 -0
- package/lib/clients/web/worldfirst/wfOpenDocument.js +8 -0
- package/lib/common/apis/custom/mp_web/mpay/getAppToken.d.ts +1 -6
- package/lib/common/apis/generated/mp/getAppToken.d.ts +2 -14
- package/lib/common/apis/generated/mp_web/getAppToken.d.ts +2 -14
- package/lib/common/apis/generated/web/getAppToken.d.ts +2 -14
- package/lib/dsl.d.ts +12 -11
- package/lib/dsl.js +2 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/mp_web_alipay.js +1 -1
- package/lib/umd/mp_web_alipayhk.js +1 -1
- package/lib/umd/mp_web_chope.js +1 -1
- package/lib/umd/mp_web_dana.js +1 -1
- package/lib/umd/mp_web_demo.js +1 -1
- package/lib/umd/mp_web_gcash.js +1 -1
- package/lib/umd/mp_web_mpay.js +1 -1
- package/lib/umd/mp_web_tmn.js +1 -1
- package/lib/umd/mp_web_tngd.js +1 -1
- package/lib/umd/mp_web_toss.js +1 -1
- package/lib/umd/web_alipay.js +1 -1
- package/lib/umd/web_demo.js +1 -1
- package/lib/umd/web_h5.js +1 -1
- package/lib/umd/web_tngdh5ng.js +1 -1
- package/lib/umd/web_worldfirst.js +1 -0
- package/lib/whichCanIUse/compatibilities.json +125123 -1659
- package/lib/whichCanIUse/index.d.ts +6 -21
- package/lib/whichCanIUse/index.js +43 -65
- package/package.json +9 -9
- package/lib/clients/web/alipay/getClientInfo.d.ts +0 -2
- package/lib/clients/web/alipay/getClientInfo.js +0 -3
- package/lib/clients/web/alipayhk/getClientInfo.d.ts +0 -2
- package/lib/clients/web/alipayhk/getClientInfo.js +0 -3
- package/lib/clients/web/alipayhk/index.d.ts +0 -24
- package/lib/clients/web/alipayhk/index.js +0 -9
- package/lib/common/apis/generated/web/getClientInfo.d.ts +0 -33
- package/lib/common/apis/generated/web/getClientInfo.js +0 -8
- package/lib/umd/web_alipayhk.js +0 -1
- /package/lib/clients/web/{alipayhk → demo}/getAppToken.d.ts +0 -0
- /package/lib/clients/web/{alipayhk → demo}/getAppToken.js +0 -0
|
@@ -113,6 +113,9 @@ import { vibrate, vibrateAsync } from '../../../common/apis/generated/mp_web/vib
|
|
|
113
113
|
import { watchShake, watchShakeAsync } from '../../../common/apis/generated/mp_web/watchShake';
|
|
114
114
|
import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '../../../common/apis/generated/mp_web/writeBLECharacteristicValue';
|
|
115
115
|
import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp_web/showSharePanel';
|
|
116
|
+
import getAppId from './getAppId';
|
|
117
|
+
import getCurrentPages from './getCurrentPages';
|
|
118
|
+
import getSDKVersion from './getSDKVersion';
|
|
116
119
|
import { setTransparentTitle, setTransparentTitleAsync } from '../../../common/apis/generated/mp_web/setTransparentTitle';
|
|
117
120
|
import { getRunScene, getRunSceneAsync } from '../../../common/apis/generated/mp_web/getRunScene';
|
|
118
121
|
import { chooseFileFromDisk, chooseFileFromDiskAsync } from '../../../common/apis/generated/mp_web/chooseFileFromDisk';
|
|
@@ -120,42 +123,64 @@ import { chooseVideo, chooseVideoAsync } from '../../../common/apis/generated/mp
|
|
|
120
123
|
import { compressImage, compressImageAsync } from '../../../common/apis/generated/mp_web/compressImage';
|
|
121
124
|
import { setTabBarItem, setTabBarItemAsync } from '../../../common/apis/generated/mp_web/setTabBarItem';
|
|
122
125
|
import { showTabBar, showTabBarAsync } from '../../../common/apis/generated/mp_web/showTabBar';
|
|
123
|
-
import getAppId from './getAppId';
|
|
124
|
-
import getCurrentPages from './getCurrentPages';
|
|
125
|
-
import getSDKVersion from './getSDKVersion';
|
|
126
126
|
declare const _default: {
|
|
127
127
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
128
|
+
addPhoneContactAsync: (args?: Partial<AddPhoneContactArgs> | undefined) => Promise<{
|
|
129
|
+
success: true;
|
|
130
|
+
}>;
|
|
128
131
|
alert: (args?: AlertArgs | undefined) => void;
|
|
132
|
+
alertAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
129
133
|
chooseImage: (args: ChooseImageArgs) => void;
|
|
134
|
+
chooseImageAsync: (args?: ChooseImageArgs | undefined) => Promise<{
|
|
135
|
+
apFilePaths: string[];
|
|
136
|
+
}>;
|
|
130
137
|
choosePhoneContact: (args: ChoosePhoneContactArgs) => void;
|
|
138
|
+
choosePhoneContactAsync: (args?: ChoosePhoneContactArgs | undefined) => Promise<ChoosePhoneContactCallbackValue>;
|
|
131
139
|
clearStorage: (args?: AsyncCallback<any> | undefined) => void;
|
|
140
|
+
clearStorageAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
132
141
|
closeBluetoothAdapter: (args?: AsyncCallback<any> | undefined) => void;
|
|
142
|
+
closeBluetoothAdapterAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
133
143
|
closeSocket: (args?: AsyncCallback<any> | undefined) => void;
|
|
144
|
+
closeSocketAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
134
145
|
confirm: (args: ConfirmArgs) => void;
|
|
146
|
+
confirmAsync: (args?: ConfirmArgs | undefined) => Promise<ConfirmCallbackValue>;
|
|
135
147
|
connectBLEDevice: (args: {
|
|
136
148
|
deviceId: string;
|
|
137
149
|
} & AsyncCallback<any>) => void;
|
|
150
|
+
connectBLEDeviceAsync: (args?: ({
|
|
151
|
+
deviceId: string;
|
|
152
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
138
153
|
connectSocket: (args?: ConnectSocketArgs | undefined) => void;
|
|
154
|
+
connectSocketAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
139
155
|
datePicker: (args?: DatePickerArgs | undefined) => void;
|
|
156
|
+
datePickerAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
140
157
|
disconnectBLEDevice: (args: {
|
|
141
158
|
deviceId: string;
|
|
142
159
|
} & AsyncCallback<any>) => void;
|
|
160
|
+
disconnectBLEDeviceAsync: (args?: ({
|
|
161
|
+
deviceId: string;
|
|
162
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
143
163
|
downloadFile: (args: DownloadFileArgs) => void;
|
|
164
|
+
downloadFileAsync: (args?: DownloadFileArgs | undefined) => Promise<{
|
|
165
|
+
apFilePath: string;
|
|
166
|
+
}>;
|
|
144
167
|
exitApp: (args?: any) => void;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
} & import("@hylid/types").AsyncCallback<{
|
|
149
|
-
appToken: string;
|
|
150
|
-
}>) => void;
|
|
168
|
+
exitAppAsync: (args?: any) => Promise<unknown>;
|
|
169
|
+
getAppToken: (args?: any) => void;
|
|
170
|
+
getAppTokenAsync: (args?: any) => Promise<unknown>;
|
|
151
171
|
getAuthCode: (args: {
|
|
152
172
|
scopes: string | string[];
|
|
153
173
|
appId?: string | undefined;
|
|
154
174
|
} & import("@hylid/types").AsyncCallback<GetAuthCodeCallbackValue>) => void;
|
|
175
|
+
getAuthCodeAsync: (args?: ({
|
|
176
|
+
scopes: string | string[];
|
|
177
|
+
appId?: string | undefined;
|
|
178
|
+
} & import("@hylid/types").AsyncCallback<GetAuthCodeCallbackValue>) | undefined) => Promise<GetAuthCodeCallbackValue>;
|
|
155
179
|
getBatteryInfo: (args?: AsyncCallback<{
|
|
156
180
|
level: number;
|
|
157
181
|
isCharging: boolean;
|
|
158
182
|
}> | undefined) => void;
|
|
183
|
+
getBatteryInfoAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
159
184
|
getBLEDeviceCharacteristics: (args: {
|
|
160
185
|
deviceId: string;
|
|
161
186
|
serviceId: string;
|
|
@@ -172,6 +197,34 @@ declare const _default: {
|
|
|
172
197
|
};
|
|
173
198
|
}[];
|
|
174
199
|
}>) => void;
|
|
200
|
+
getBLEDeviceCharacteristicsAsync: (args?: ({
|
|
201
|
+
deviceId: string;
|
|
202
|
+
serviceId: string;
|
|
203
|
+
} & AsyncCallback<{
|
|
204
|
+
characteristic: {
|
|
205
|
+
characteristicId: string;
|
|
206
|
+
serviceId: string;
|
|
207
|
+
value: string;
|
|
208
|
+
properties: {
|
|
209
|
+
read: boolean;
|
|
210
|
+
write: boolean;
|
|
211
|
+
notify: boolean;
|
|
212
|
+
indicate: boolean;
|
|
213
|
+
};
|
|
214
|
+
}[];
|
|
215
|
+
}>) | undefined) => Promise<{
|
|
216
|
+
characteristic: {
|
|
217
|
+
characteristicId: string;
|
|
218
|
+
serviceId: string;
|
|
219
|
+
value: string;
|
|
220
|
+
properties: {
|
|
221
|
+
read: boolean;
|
|
222
|
+
write: boolean;
|
|
223
|
+
notify: boolean;
|
|
224
|
+
indicate: boolean;
|
|
225
|
+
};
|
|
226
|
+
}[];
|
|
227
|
+
}>;
|
|
175
228
|
getBLEDeviceServices: (args: {
|
|
176
229
|
deviceId: string;
|
|
177
230
|
} & AsyncCallback<{
|
|
@@ -180,35 +233,102 @@ declare const _default: {
|
|
|
180
233
|
serviceId: string;
|
|
181
234
|
}[];
|
|
182
235
|
}>) => void;
|
|
236
|
+
getBLEDeviceServicesAsync: (args?: ({
|
|
237
|
+
deviceId: string;
|
|
238
|
+
} & AsyncCallback<{
|
|
239
|
+
services: {
|
|
240
|
+
isPrimary: boolean;
|
|
241
|
+
serviceId: string;
|
|
242
|
+
}[];
|
|
243
|
+
}>) | undefined) => Promise<{
|
|
244
|
+
services: {
|
|
245
|
+
isPrimary: boolean;
|
|
246
|
+
serviceId: string;
|
|
247
|
+
}[];
|
|
248
|
+
}>;
|
|
183
249
|
getBluetoothAdapterState: (args: AsyncCallback<{
|
|
184
250
|
discovering: boolean;
|
|
185
251
|
available: boolean;
|
|
186
252
|
}>) => void;
|
|
253
|
+
getBluetoothAdapterStateAsync: (args?: AsyncCallback<{
|
|
254
|
+
discovering: boolean;
|
|
255
|
+
available: boolean;
|
|
256
|
+
}> | undefined) => Promise<{
|
|
257
|
+
discovering: boolean;
|
|
258
|
+
available: boolean;
|
|
259
|
+
}>;
|
|
187
260
|
getBluetoothDevices: (args: AsyncCallback<{
|
|
188
261
|
devices: BluetoothDevices[];
|
|
189
262
|
}>) => void;
|
|
263
|
+
getBluetoothDevicesAsync: (args?: AsyncCallback<{
|
|
264
|
+
devices: BluetoothDevices[];
|
|
265
|
+
}> | undefined) => Promise<{
|
|
266
|
+
devices: BluetoothDevices[];
|
|
267
|
+
}>;
|
|
190
268
|
getClipboard: (args: GetClipboardArgs) => void;
|
|
269
|
+
getClipboardAsync: (args?: GetClipboardArgs | undefined) => Promise<{
|
|
270
|
+
text: string;
|
|
271
|
+
}>;
|
|
191
272
|
getConnectedBluetoothDevices: (args: {
|
|
192
273
|
deviceId: string;
|
|
193
274
|
} & AsyncCallback<any>) => void;
|
|
275
|
+
getConnectedBluetoothDevicesAsync: (args?: ({
|
|
276
|
+
deviceId: string;
|
|
277
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
194
278
|
getFileInfo: (args: GetFileArgs) => void;
|
|
279
|
+
getFileInfoAsync: (args?: GetFileArgs | undefined) => Promise<{
|
|
280
|
+
size: number;
|
|
281
|
+
digest: string;
|
|
282
|
+
}>;
|
|
195
283
|
getImageInfo: (args: GetImageInfo) => void;
|
|
284
|
+
getImageInfoAsync: (args?: GetImageInfo | undefined) => Promise<GetImageInfoCallbackValue>;
|
|
196
285
|
getLocation: (args: {
|
|
197
286
|
bizType?: string | undefined;
|
|
198
287
|
requestType?: number | undefined;
|
|
199
288
|
timeout?: number | undefined;
|
|
200
289
|
horizontalAccuracy?: number | undefined;
|
|
201
290
|
} & GetLocationArgs) => void;
|
|
291
|
+
getLocationAsync: (args?: ({
|
|
292
|
+
bizType?: string | undefined;
|
|
293
|
+
requestType?: number | undefined;
|
|
294
|
+
timeout?: number | undefined;
|
|
295
|
+
horizontalAccuracy?: number | undefined;
|
|
296
|
+
} & GetLocationArgs) | undefined) => Promise<GetLocationCallbackValue>;
|
|
202
297
|
getNetworkType: (args: GetNetworkTypeArgs) => void;
|
|
298
|
+
getNetworkTypeAsync: (args?: GetNetworkTypeArgs | undefined) => Promise<GetNetworkTypeCallbackValue>;
|
|
203
299
|
getOpenUserInfo: (args: GetOpenUserInfoArgs) => void;
|
|
300
|
+
getOpenUserInfoAsync: (args?: GetOpenUserInfoArgs | undefined) => Promise<{
|
|
301
|
+
response: string;
|
|
302
|
+
}>;
|
|
204
303
|
getSavedFileInfo: (args: GetSavedFileInfo) => void;
|
|
304
|
+
getSavedFileInfoAsync: (args?: GetSavedFileInfo | undefined) => Promise<{
|
|
305
|
+
size: number;
|
|
306
|
+
createTime: number;
|
|
307
|
+
}>;
|
|
205
308
|
getSavedFileList: (args: GetSavedFileListArgs) => void;
|
|
309
|
+
getSavedFileListAsync: (args?: GetSavedFileListArgs | undefined) => Promise<{
|
|
310
|
+
fileList: {
|
|
311
|
+
size: number;
|
|
312
|
+
createTime: number;
|
|
313
|
+
apFilePath: string;
|
|
314
|
+
}[];
|
|
315
|
+
}>;
|
|
206
316
|
getScreenBrightness: (args: AsyncCallback<{
|
|
207
317
|
brightness: number;
|
|
208
318
|
}>) => void;
|
|
319
|
+
getScreenBrightnessAsync: (args?: AsyncCallback<{
|
|
320
|
+
brightness: number;
|
|
321
|
+
}> | undefined) => Promise<{
|
|
322
|
+
brightness: number;
|
|
323
|
+
}>;
|
|
209
324
|
getServerTime: (args: AsyncCallback<{
|
|
210
325
|
time: number;
|
|
211
326
|
}>) => void;
|
|
327
|
+
getServerTimeAsync: (args?: AsyncCallback<{
|
|
328
|
+
time: number;
|
|
329
|
+
}> | undefined) => Promise<{
|
|
330
|
+
time: number;
|
|
331
|
+
}>;
|
|
212
332
|
getSetting: (args?: AsyncCallback<{
|
|
213
333
|
authSetting: {
|
|
214
334
|
camera: boolean;
|
|
@@ -218,22 +338,42 @@ declare const _default: {
|
|
|
218
338
|
phoneNumber: boolean;
|
|
219
339
|
};
|
|
220
340
|
}> | undefined) => void;
|
|
341
|
+
getSettingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
221
342
|
getSiteInfo: (args: AsyncCallback<GetSiteInfoCallbackValue>) => void;
|
|
343
|
+
getSiteInfoAsync: (args?: AsyncCallback<GetSiteInfoCallbackValue> | undefined) => Promise<GetSiteInfoCallbackValue>;
|
|
222
344
|
getStorage: (args: GetStorage) => void;
|
|
345
|
+
getStorageAsync: (args?: GetStorage | undefined) => Promise<{
|
|
346
|
+
data: any;
|
|
347
|
+
}>;
|
|
223
348
|
getSystemInfo: (args: GetSystemInfoArgs) => void;
|
|
349
|
+
getSystemInfoAsync: (args?: GetSystemInfoArgs | undefined) => Promise<GetSystemInfoCallbackValue>;
|
|
224
350
|
hideBackHome: () => void;
|
|
351
|
+
hideBackHomeAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
225
352
|
hideKeyboard: () => void;
|
|
353
|
+
hideKeyboardAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
226
354
|
hideLoading: (args?: HideLoadingArgs | undefined) => void;
|
|
355
|
+
hideLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
227
356
|
hideNavigationBarLoading: () => void;
|
|
357
|
+
hideNavigationBarLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
228
358
|
hideTabBar: (args: HideTabBarArgs) => void;
|
|
359
|
+
hideTabBarAsync: (args?: HideTabBarArgs | undefined) => Promise<undefined>;
|
|
229
360
|
hideToast: (args?: AsyncCallback<any> | undefined) => void;
|
|
361
|
+
hideToastAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
230
362
|
makePhoneCall: (args: {
|
|
231
363
|
number: string;
|
|
232
364
|
}) => void;
|
|
365
|
+
makePhoneCallAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
233
366
|
multiLevelSelect: (args: MultiLevelSelectArgs) => void;
|
|
367
|
+
multiLevelSelectAsync: (args?: MultiLevelSelectArgs | undefined) => Promise<{
|
|
368
|
+
success: boolean;
|
|
369
|
+
result: any[];
|
|
370
|
+
}>;
|
|
234
371
|
navigateBack: (args: NavigateBackArgs) => void;
|
|
372
|
+
navigateBackAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
235
373
|
navigateBackMiniProgram: (args: NavigateBackMiniProgramArgs) => void;
|
|
374
|
+
navigateBackMiniProgramAsync: (args?: NavigateBackMiniProgramArgs | undefined) => Promise<undefined>;
|
|
236
375
|
navigateTo: (args: NavigateToArgs) => void;
|
|
376
|
+
navigateToAsync: (args?: NavigateToArgs | undefined) => Promise<undefined>;
|
|
237
377
|
navigateToBizScene: (args: {
|
|
238
378
|
sceneCode: string;
|
|
239
379
|
param?: {
|
|
@@ -241,7 +381,15 @@ declare const _default: {
|
|
|
241
381
|
scheme?: string | undefined;
|
|
242
382
|
} | undefined;
|
|
243
383
|
} & import("@hylid/types").AsyncCallback<void>) => void;
|
|
384
|
+
navigateToBizSceneAsync: (args?: ({
|
|
385
|
+
sceneCode: string;
|
|
386
|
+
param?: {
|
|
387
|
+
[key: string]: any;
|
|
388
|
+
scheme?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
} & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
|
|
244
391
|
navigateToMiniProgram: (args: NavigateToMiniProgramArgs) => void;
|
|
392
|
+
navigateToMiniProgramAsync: (args?: NavigateToMiniProgramArgs | undefined) => Promise<undefined>;
|
|
245
393
|
notifyBLECharacteristicValueChange: (args: {
|
|
246
394
|
deviceId: string;
|
|
247
395
|
serviceId: string;
|
|
@@ -249,6 +397,13 @@ declare const _default: {
|
|
|
249
397
|
descriptorId?: string | undefined;
|
|
250
398
|
state?: boolean | undefined;
|
|
251
399
|
} & AsyncCallback<any>) => void;
|
|
400
|
+
notifyBLECharacteristicValueChangeAsync: (args?: ({
|
|
401
|
+
deviceId: string;
|
|
402
|
+
serviceId: string;
|
|
403
|
+
characteristicId: string;
|
|
404
|
+
descriptorId?: string | undefined;
|
|
405
|
+
state?: boolean | undefined;
|
|
406
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
252
407
|
offAccelerometerChange: (args?: ((arg: any) => void) | undefined) => void;
|
|
253
408
|
offBLECharacteristicValueChange: (args?: ((arg: any) => void) | undefined) => void;
|
|
254
409
|
offBLEConnectionStateChanged: (args?: ((arg: any) => void) | undefined) => void;
|
|
@@ -298,10 +453,15 @@ declare const _default: {
|
|
|
298
453
|
onSocketOpen: (args: (arg: any) => void) => void;
|
|
299
454
|
onUserCaptureScreen: (args: () => void) => void;
|
|
300
455
|
openBluetoothAdapter: (args: AsyncCallback<any>) => void;
|
|
456
|
+
openBluetoothAdapterAsync: (args?: AsyncCallback<any> | undefined) => Promise<any>;
|
|
301
457
|
openDocument: (args: {
|
|
302
458
|
filePath: string;
|
|
303
459
|
fileType: string;
|
|
304
460
|
} & AsyncCallback<any>) => void;
|
|
461
|
+
openDocumentAsync: (args?: ({
|
|
462
|
+
filePath: string;
|
|
463
|
+
fileType: string;
|
|
464
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
305
465
|
openSetting: (args?: AsyncCallback<{
|
|
306
466
|
authSetting: {
|
|
307
467
|
camera: any;
|
|
@@ -311,14 +471,29 @@ declare const _default: {
|
|
|
311
471
|
phoneNumber: any;
|
|
312
472
|
};
|
|
313
473
|
}> | undefined) => void;
|
|
474
|
+
openSettingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
314
475
|
pageScrollTo: (args: PageScrollToArgs) => void;
|
|
476
|
+
pageScrollToAsync: (args?: PageScrollToArgs | undefined) => Promise<undefined>;
|
|
315
477
|
previewImage: (args: PreviewImageArgs) => void;
|
|
478
|
+
previewImageAsync: (args?: PreviewImageArgs | undefined) => Promise<undefined>;
|
|
316
479
|
prompt: (args: PromptArgs) => void;
|
|
480
|
+
promptAsync: (args?: PromptArgs | undefined) => Promise<PromptCallbackValue>;
|
|
317
481
|
readBLECharacteristicValue: (args: ReadBLECharacteristicValueArgs) => void;
|
|
482
|
+
readBLECharacteristicValueAsync: (args?: ReadBLECharacteristicValueArgs | undefined) => Promise<{
|
|
483
|
+
characteristic: {
|
|
484
|
+
characteristicId: string;
|
|
485
|
+
serviceId: string;
|
|
486
|
+
value: string;
|
|
487
|
+
};
|
|
488
|
+
}>;
|
|
318
489
|
redirectTo: (args: RedirectToArgs) => void;
|
|
490
|
+
redirectToAsync: (args?: RedirectToArgs | undefined) => Promise<undefined>;
|
|
319
491
|
reLaunch: (args: ReLaunchArgs) => void;
|
|
492
|
+
reLaunchAsync: (args?: ReLaunchArgs | undefined) => Promise<undefined>;
|
|
320
493
|
removeSavedFile: (args: RemoveSavedFileArgs) => void;
|
|
494
|
+
removeSavedFileAsync: (args?: RemoveSavedFileArgs | undefined) => Promise<void>;
|
|
321
495
|
removeStorage: (args: RemoveStorageArgs) => void;
|
|
496
|
+
removeStorageAsync: (args?: RemoveStorageArgs | undefined) => Promise<undefined>;
|
|
322
497
|
request: (args: {
|
|
323
498
|
url: string;
|
|
324
499
|
headers?: {
|
|
@@ -333,56 +508,145 @@ declare const _default: {
|
|
|
333
508
|
status: number;
|
|
334
509
|
headers: any;
|
|
335
510
|
}>) => void;
|
|
511
|
+
requestAsync: (args?: ({
|
|
512
|
+
url: string;
|
|
513
|
+
headers?: {
|
|
514
|
+
[key: string]: string;
|
|
515
|
+
} | undefined;
|
|
516
|
+
method?: "GET" | "POST" | undefined;
|
|
517
|
+
data?: any;
|
|
518
|
+
timeout?: number | undefined;
|
|
519
|
+
dataType?: "json" | "text" | "base64" | "arraybuffer" | undefined;
|
|
520
|
+
} & import("@hylid/types").AsyncCallback<{
|
|
521
|
+
data: any;
|
|
522
|
+
status: number;
|
|
523
|
+
headers: any;
|
|
524
|
+
}>) | undefined) => Promise<{
|
|
525
|
+
data: any;
|
|
526
|
+
status: number;
|
|
527
|
+
headers: any;
|
|
528
|
+
}>;
|
|
336
529
|
saveFile: (args: SaveFileArgs) => void;
|
|
530
|
+
saveFileAsync: (args?: SaveFileArgs | undefined) => Promise<{
|
|
531
|
+
apFilePath: string;
|
|
532
|
+
}>;
|
|
337
533
|
saveImage: (args: SaveImageArgs) => void;
|
|
534
|
+
saveImageAsync: (args?: SaveImageArgs | undefined) => Promise<undefined>;
|
|
338
535
|
scan: (args: ScanArgs) => void;
|
|
536
|
+
scanAsync: (args?: ScanArgs | undefined) => Promise<ScanCallbackValue>;
|
|
339
537
|
sendSocketMessage: (args?: SendSocketMessageArgs | undefined) => void;
|
|
538
|
+
sendSocketMessageAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
340
539
|
setBackgroundColor: (args: SetBackgroundColorArgs) => void;
|
|
540
|
+
setBackgroundColorAsync: (args?: SetBackgroundColorArgs | undefined) => Promise<undefined>;
|
|
341
541
|
setCanPullDown: (args: {
|
|
342
542
|
canPullDown: boolean;
|
|
343
543
|
} & import("@hylid/types").AsyncCallback<void>) => void;
|
|
544
|
+
setCanPullDownAsync: (args?: ({
|
|
545
|
+
canPullDown: boolean;
|
|
546
|
+
} & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
|
|
344
547
|
setClipboard: (args: SetClipboardArgs) => void;
|
|
548
|
+
setClipboardAsync: (args?: SetClipboardArgs | undefined) => Promise<undefined>;
|
|
345
549
|
setKeepScreenOn: (args: SetKeepScreenOnArgs) => void;
|
|
550
|
+
setKeepScreenOnAsync: (args?: SetKeepScreenOnArgs | undefined) => Promise<undefined>;
|
|
346
551
|
setNavigationBar: (args: SetNavigationBarArgs) => void;
|
|
552
|
+
setNavigationBarAsync: (args?: SetNavigationBarArgs | undefined) => Promise<undefined>;
|
|
347
553
|
setScreenBrightness: (args: SetScreenBrightnessArgs) => void;
|
|
554
|
+
setScreenBrightnessAsync: (args?: SetScreenBrightnessArgs | undefined) => Promise<undefined>;
|
|
348
555
|
setStorage: (args: SetStorage) => void;
|
|
556
|
+
setStorageAsync: (args?: SetStorage | undefined) => Promise<undefined>;
|
|
349
557
|
setTabBarStyle: (args: SetTabBarStyleArgs) => void;
|
|
558
|
+
setTabBarStyleAsync: (args?: SetTabBarStyleArgs | undefined) => Promise<any>;
|
|
350
559
|
showActionSheet: (args: ShowActionSheetArgs) => void;
|
|
560
|
+
showActionSheetAsync: (args?: ShowActionSheetArgs | undefined) => Promise<any>;
|
|
351
561
|
showAuthGuide: (args: import("@hylid/types").AsyncCallback<{
|
|
352
562
|
shown: boolean;
|
|
353
563
|
}> & {
|
|
354
564
|
authType: string;
|
|
355
565
|
bizType?: string | undefined;
|
|
356
566
|
}) => void;
|
|
567
|
+
showAuthGuideAsync: (args?: (import("@hylid/types").AsyncCallback<{
|
|
568
|
+
shown: boolean;
|
|
569
|
+
}> & {
|
|
570
|
+
authType: string;
|
|
571
|
+
bizType?: string | undefined;
|
|
572
|
+
}) | undefined) => Promise<{
|
|
573
|
+
shown: boolean;
|
|
574
|
+
}>;
|
|
357
575
|
showLoading: (args?: ShowLoadingArgs | undefined) => void;
|
|
576
|
+
showLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
358
577
|
showNavigationBarLoading: () => void;
|
|
578
|
+
showNavigationBarLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
359
579
|
showToast: (args?: ShowToastArgs | undefined) => void;
|
|
580
|
+
showToastAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
360
581
|
signContract: (args: SignContractArgs) => void;
|
|
582
|
+
signContractAsync: (args?: SignContractArgs | undefined) => Promise<{
|
|
583
|
+
authState: string;
|
|
584
|
+
authCode: string;
|
|
585
|
+
}>;
|
|
361
586
|
startBluetoothDevicesDiscovery: (args?: StartBluetoothDevicesDiscoveryArgs | undefined) => void;
|
|
587
|
+
startBluetoothDevicesDiscoveryAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
362
588
|
startPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
|
|
589
|
+
startPullDownRefreshAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
363
590
|
stopBluetoothDevicesDiscovery: (args?: AsyncCallback<any> | undefined) => void;
|
|
591
|
+
stopBluetoothDevicesDiscoveryAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
364
592
|
stopPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
|
|
593
|
+
stopPullDownRefreshAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
365
594
|
switchTab: (args: SwitchTabArgs) => void;
|
|
595
|
+
switchTabAsync: (args?: SwitchTabArgs | undefined) => Promise<undefined>;
|
|
366
596
|
tradePay: (args: TradePayArgs) => void;
|
|
597
|
+
tradePayAsync: (args?: TradePayArgs | undefined) => Promise<{
|
|
598
|
+
resultCode: string;
|
|
599
|
+
}>;
|
|
367
600
|
uploadFile: (args: UploadFileArgs) => void;
|
|
601
|
+
uploadFileAsync: (args?: UploadFileArgs | undefined) => Promise<UploadFileCallbackValue>;
|
|
368
602
|
vibrate: (args: AsyncCallback<void>) => void;
|
|
603
|
+
vibrateAsync: (args?: AsyncCallback<void> | undefined) => Promise<void>;
|
|
369
604
|
watchShake: (args?: AsyncCallback<any> | undefined) => void;
|
|
605
|
+
watchShakeAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
370
606
|
writeBLECharacteristicValue: (args: WriteBLECharacteristicValueArgs) => void;
|
|
607
|
+
writeBLECharacteristicValueAsync: (args?: WriteBLECharacteristicValueArgs | undefined) => Promise<any>;
|
|
371
608
|
showSharePanel: (args?: any) => void;
|
|
609
|
+
showSharePanelAsync: (args?: any) => Promise<unknown>;
|
|
610
|
+
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
611
|
+
appId: string;
|
|
612
|
+
}>) => void;
|
|
613
|
+
getCurrentPages: (args: import("@hylid/types").getCurrentPagesOptions) => void;
|
|
614
|
+
getSDKVersion: (args: import("@hylid/types").AsyncCallback<string>) => void;
|
|
372
615
|
setTransparentTitle: (args: {
|
|
373
616
|
transparentTitle: "none" | "auto" | "always" | "custom";
|
|
374
617
|
} & import("@hylid/types").AsyncCallback<{
|
|
375
618
|
success: boolean;
|
|
376
619
|
}>) => void;
|
|
620
|
+
setTransparentTitleAsync: (args?: ({
|
|
621
|
+
transparentTitle: "none" | "auto" | "always" | "custom";
|
|
622
|
+
} & import("@hylid/types").AsyncCallback<{
|
|
623
|
+
success: boolean;
|
|
624
|
+
}>) | undefined) => Promise<{
|
|
625
|
+
success: boolean;
|
|
626
|
+
}>;
|
|
377
627
|
getRunScene: (args: import("@hylid/types").AsyncCallback<{
|
|
378
628
|
envVersion: "develop" | "trial" | "release";
|
|
379
629
|
}>) => void;
|
|
630
|
+
getRunSceneAsync: (args?: import("@hylid/types").AsyncCallback<{
|
|
631
|
+
envVersion: "develop" | "trial" | "release";
|
|
632
|
+
}> | undefined) => Promise<{
|
|
633
|
+
envVersion: "develop" | "trial" | "release";
|
|
634
|
+
}>;
|
|
380
635
|
chooseFileFromDisk: (args: import("@hylid/types").AsyncCallback<{
|
|
381
636
|
success: boolean;
|
|
382
637
|
apFilePath: string;
|
|
383
638
|
}> & {
|
|
384
639
|
appId?: string | undefined;
|
|
385
640
|
}) => void;
|
|
641
|
+
chooseFileFromDiskAsync: (args?: (import("@hylid/types").AsyncCallback<{
|
|
642
|
+
success: boolean;
|
|
643
|
+
apFilePath: string;
|
|
644
|
+
}> & {
|
|
645
|
+
appId?: string | undefined;
|
|
646
|
+
}) | undefined) => Promise<{
|
|
647
|
+
success: boolean;
|
|
648
|
+
apFilePath: string;
|
|
649
|
+
}>;
|
|
386
650
|
chooseVideo: (args: import("@hylid/types").AsyncCallback<{
|
|
387
651
|
filePath: string;
|
|
388
652
|
duration: number;
|
|
@@ -396,6 +660,26 @@ declare const _default: {
|
|
|
396
660
|
maxDuration?: number | undefined;
|
|
397
661
|
camera?: string | undefined;
|
|
398
662
|
}) => void;
|
|
663
|
+
chooseVideoAsync: (args?: (import("@hylid/types").AsyncCallback<{
|
|
664
|
+
filePath: string;
|
|
665
|
+
duration: number;
|
|
666
|
+
size: number;
|
|
667
|
+
height: number;
|
|
668
|
+
width: number;
|
|
669
|
+
tempFilePath: string;
|
|
670
|
+
}> & {
|
|
671
|
+
sourceType?: string[] | undefined;
|
|
672
|
+
compressed?: boolean | undefined;
|
|
673
|
+
maxDuration?: number | undefined;
|
|
674
|
+
camera?: string | undefined;
|
|
675
|
+
}) | undefined) => Promise<{
|
|
676
|
+
filePath: string;
|
|
677
|
+
duration: number;
|
|
678
|
+
size: number;
|
|
679
|
+
height: number;
|
|
680
|
+
width: number;
|
|
681
|
+
tempFilePath: string;
|
|
682
|
+
}>;
|
|
399
683
|
compressImage: (args: import("@hylid/types").AsyncCallback<{
|
|
400
684
|
apFilePaths: string[];
|
|
401
685
|
}> & {
|
|
@@ -406,21 +690,36 @@ declare const _default: {
|
|
|
406
690
|
maxWidth?: number | undefined;
|
|
407
691
|
maxHeight?: number | undefined;
|
|
408
692
|
}) => void;
|
|
693
|
+
compressImageAsync: (args?: (import("@hylid/types").AsyncCallback<{
|
|
694
|
+
apFilePaths: string[];
|
|
695
|
+
}> & {
|
|
696
|
+
apFilePaths: string[];
|
|
697
|
+
compressLevel?: number | undefined;
|
|
698
|
+
compressedWidth?: number | undefined;
|
|
699
|
+
compressedHeight?: number | undefined;
|
|
700
|
+
maxWidth?: number | undefined;
|
|
701
|
+
maxHeight?: number | undefined;
|
|
702
|
+
}) | undefined) => Promise<{
|
|
703
|
+
apFilePaths: string[];
|
|
704
|
+
}>;
|
|
409
705
|
setTabBarItem: (args: {
|
|
410
706
|
index?: number | undefined;
|
|
411
707
|
text: string;
|
|
412
708
|
iconPath: string;
|
|
413
709
|
selectedIconPath: string;
|
|
414
710
|
} & import("@hylid/types").AsyncCallback<void>) => void;
|
|
711
|
+
setTabBarItemAsync: (args?: ({
|
|
712
|
+
index?: number | undefined;
|
|
713
|
+
text: string;
|
|
714
|
+
iconPath: string;
|
|
715
|
+
selectedIconPath: string;
|
|
716
|
+
} & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
|
|
415
717
|
showTabBar: (args: {
|
|
416
718
|
animation?: boolean | undefined;
|
|
417
719
|
} & import("@hylid/types").AsyncCallback<void>) => void;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
}>) => void
|
|
421
|
-
getCurrentPages: (args: import("@hylid/types").getCurrentPagesOptions) => void;
|
|
422
|
-
getSDKVersion: (args: import("@hylid/types").AsyncCallback<string>) => void;
|
|
720
|
+
showTabBarAsync: (args?: ({
|
|
721
|
+
animation?: boolean | undefined;
|
|
722
|
+
} & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
|
|
423
723
|
};
|
|
424
724
|
export default _default;
|
|
425
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, exitApp, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToBizScene, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getRunScene, chooseFileFromDisk, chooseVideo, compressImage,
|
|
426
|
-
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, exitAppAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToBizSceneAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, getRunSceneAsync, chooseFileFromDiskAsync, chooseVideoAsync, compressImageAsync, setTabBarItemAsync, showTabBarAsync, };
|
|
725
|
+
export { addPhoneContact, addPhoneContactAsync, alert, alertAsync, chooseImage, chooseImageAsync, choosePhoneContact, choosePhoneContactAsync, clearStorage, clearStorageAsync, closeBluetoothAdapter, closeBluetoothAdapterAsync, closeSocket, closeSocketAsync, confirm, confirmAsync, connectBLEDevice, connectBLEDeviceAsync, connectSocket, connectSocketAsync, datePicker, datePickerAsync, disconnectBLEDevice, disconnectBLEDeviceAsync, downloadFile, downloadFileAsync, exitApp, exitAppAsync, getAppToken, getAppTokenAsync, getAuthCode, getAuthCodeAsync, getBatteryInfo, getBatteryInfoAsync, getBLEDeviceCharacteristics, getBLEDeviceCharacteristicsAsync, getBLEDeviceServices, getBLEDeviceServicesAsync, getBluetoothAdapterState, getBluetoothAdapterStateAsync, getBluetoothDevices, getBluetoothDevicesAsync, getClipboard, getClipboardAsync, getConnectedBluetoothDevices, getConnectedBluetoothDevicesAsync, getFileInfo, getFileInfoAsync, getImageInfo, getImageInfoAsync, getLocation, getLocationAsync, getNetworkType, getNetworkTypeAsync, getOpenUserInfo, getOpenUserInfoAsync, getSavedFileInfo, getSavedFileInfoAsync, getSavedFileList, getSavedFileListAsync, getScreenBrightness, getScreenBrightnessAsync, getServerTime, getServerTimeAsync, getSetting, getSettingAsync, getSiteInfo, getSiteInfoAsync, getStorage, getStorageAsync, getSystemInfo, getSystemInfoAsync, hideBackHome, hideBackHomeAsync, hideKeyboard, hideKeyboardAsync, hideLoading, hideLoadingAsync, hideNavigationBarLoading, hideNavigationBarLoadingAsync, hideTabBar, hideTabBarAsync, hideToast, hideToastAsync, makePhoneCall, makePhoneCallAsync, multiLevelSelect, multiLevelSelectAsync, navigateBack, navigateBackAsync, navigateBackMiniProgram, navigateBackMiniProgramAsync, navigateTo, navigateToAsync, navigateToBizScene, navigateToBizSceneAsync, navigateToMiniProgram, navigateToMiniProgramAsync, notifyBLECharacteristicValueChange, notifyBLECharacteristicValueChangeAsync, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openBluetoothAdapterAsync, openDocument, openDocumentAsync, openSetting, openSettingAsync, pageScrollTo, pageScrollToAsync, previewImage, previewImageAsync, prompt, promptAsync, readBLECharacteristicValue, readBLECharacteristicValueAsync, redirectTo, redirectToAsync, reLaunch, reLaunchAsync, removeSavedFile, removeSavedFileAsync, removeStorage, removeStorageAsync, request, requestAsync, saveFile, saveFileAsync, saveImage, saveImageAsync, scan, scanAsync, sendSocketMessage, sendSocketMessageAsync, setBackgroundColor, setBackgroundColorAsync, setCanPullDown, setCanPullDownAsync, setClipboard, setClipboardAsync, setKeepScreenOn, setKeepScreenOnAsync, setNavigationBar, setNavigationBarAsync, setScreenBrightness, setScreenBrightnessAsync, setStorage, setStorageAsync, setTabBarStyle, setTabBarStyleAsync, showActionSheet, showActionSheetAsync, showAuthGuide, showAuthGuideAsync, showLoading, showLoadingAsync, showNavigationBarLoading, showNavigationBarLoadingAsync, showToast, showToastAsync, signContract, signContractAsync, startBluetoothDevicesDiscovery, startBluetoothDevicesDiscoveryAsync, startPullDownRefresh, startPullDownRefreshAsync, stopBluetoothDevicesDiscovery, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefresh, stopPullDownRefreshAsync, switchTab, switchTabAsync, tradePay, tradePayAsync, uploadFile, uploadFileAsync, vibrate, vibrateAsync, watchShake, watchShakeAsync, writeBLECharacteristicValue, writeBLECharacteristicValueAsync, showSharePanel, showSharePanelAsync, getAppId, getCurrentPages, getSDKVersion, setTransparentTitle, setTransparentTitleAsync, getRunScene, getRunSceneAsync, chooseFileFromDisk, chooseFileFromDiskAsync, chooseVideo, chooseVideoAsync, compressImage, compressImageAsync, setTabBarItem, setTabBarItemAsync, showTabBar, showTabBarAsync, };
|