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
|
@@ -138,44 +138,74 @@ import getCurrentPages from './getCurrentPages';
|
|
|
138
138
|
import getSDKVersion from './getSDKVersion';
|
|
139
139
|
declare const _default: {
|
|
140
140
|
addFatigueAction: (args?: import("@hylid/types").AddFatigueActionArgs | undefined) => void;
|
|
141
|
+
addFatigueActionAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
141
142
|
addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
|
|
143
|
+
addPhoneContactAsync: (args?: Partial<AddPhoneContactArgs> | undefined) => Promise<{
|
|
144
|
+
success: true;
|
|
145
|
+
}>;
|
|
142
146
|
alert: (args?: AlertArgs | undefined) => void;
|
|
147
|
+
alertAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
143
148
|
apDisableJSAPI: (args?: any) => void;
|
|
149
|
+
apDisableJSAPIAsync: (args?: any) => Promise<unknown>;
|
|
144
150
|
appxrpc: (args?: {
|
|
145
151
|
reqeustData: any;
|
|
146
152
|
} | undefined) => void;
|
|
153
|
+
appxrpcAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
147
154
|
APRegionRPC: (args?: any) => void;
|
|
155
|
+
APRegionRPCAsync: (args?: any) => Promise<unknown>;
|
|
148
156
|
batchQueryCdpSpaceInfo: (args?: any) => void;
|
|
157
|
+
batchQueryCdpSpaceInfoAsync: (args?: any) => Promise<unknown>;
|
|
149
158
|
chooseImage: (args: ChooseImageArgs) => void;
|
|
159
|
+
chooseImageAsync: (args?: ChooseImageArgs | undefined) => Promise<{
|
|
160
|
+
apFilePaths: string[];
|
|
161
|
+
}>;
|
|
150
162
|
choosePhoneContact: (args: ChoosePhoneContactArgs) => void;
|
|
163
|
+
choosePhoneContactAsync: (args?: ChoosePhoneContactArgs | undefined) => Promise<ChoosePhoneContactCallbackValue>;
|
|
151
164
|
clearStorage: (args?: AsyncCallback<any> | undefined) => void;
|
|
165
|
+
clearStorageAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
152
166
|
closeBluetoothAdapter: (args?: AsyncCallback<any> | undefined) => void;
|
|
167
|
+
closeBluetoothAdapterAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
153
168
|
closeSocket: (args?: AsyncCallback<any> | undefined) => void;
|
|
169
|
+
closeSocketAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
154
170
|
confirm: (args: ConfirmArgs) => void;
|
|
171
|
+
confirmAsync: (args?: ConfirmArgs | undefined) => Promise<ConfirmCallbackValue>;
|
|
155
172
|
connectBLEDevice: (args: {
|
|
156
173
|
deviceId: string;
|
|
157
174
|
} & AsyncCallback<any>) => void;
|
|
175
|
+
connectBLEDeviceAsync: (args?: ({
|
|
176
|
+
deviceId: string;
|
|
177
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
158
178
|
connectSocket: (args?: ConnectSocketArgs | undefined) => void;
|
|
179
|
+
connectSocketAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
159
180
|
datePicker: (args?: DatePickerArgs | undefined) => void;
|
|
181
|
+
datePickerAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
160
182
|
disconnectBLEDevice: (args: {
|
|
161
183
|
deviceId: string;
|
|
162
184
|
} & AsyncCallback<any>) => void;
|
|
185
|
+
disconnectBLEDeviceAsync: (args?: ({
|
|
186
|
+
deviceId: string;
|
|
187
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
163
188
|
downloadFile: (args: DownloadFileArgs) => void;
|
|
189
|
+
downloadFileAsync: (args?: DownloadFileArgs | undefined) => Promise<{
|
|
190
|
+
apFilePath: string;
|
|
191
|
+
}>;
|
|
164
192
|
exitApp: (args?: any) => void;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
} & import("@hylid/types").AsyncCallback<{
|
|
169
|
-
appToken: string;
|
|
170
|
-
}>) => void;
|
|
193
|
+
exitAppAsync: (args?: any) => Promise<unknown>;
|
|
194
|
+
getAppToken: (args?: any) => void;
|
|
195
|
+
getAppTokenAsync: (args?: any) => Promise<unknown>;
|
|
171
196
|
getAuthCode: (args: {
|
|
172
197
|
scopes: string | string[];
|
|
173
198
|
appId?: string | undefined;
|
|
174
199
|
} & import("@hylid/types").AsyncCallback<GetAuthCodeCallbackValue>) => void;
|
|
200
|
+
getAuthCodeAsync: (args?: ({
|
|
201
|
+
scopes: string | string[];
|
|
202
|
+
appId?: string | undefined;
|
|
203
|
+
} & import("@hylid/types").AsyncCallback<GetAuthCodeCallbackValue>) | undefined) => Promise<GetAuthCodeCallbackValue>;
|
|
175
204
|
getBatteryInfo: (args?: AsyncCallback<{
|
|
176
205
|
level: number;
|
|
177
206
|
isCharging: boolean;
|
|
178
207
|
}> | undefined) => void;
|
|
208
|
+
getBatteryInfoAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
179
209
|
getBLEDeviceCharacteristics: (args: {
|
|
180
210
|
deviceId: string;
|
|
181
211
|
serviceId: string;
|
|
@@ -192,6 +222,34 @@ declare const _default: {
|
|
|
192
222
|
};
|
|
193
223
|
}[];
|
|
194
224
|
}>) => void;
|
|
225
|
+
getBLEDeviceCharacteristicsAsync: (args?: ({
|
|
226
|
+
deviceId: string;
|
|
227
|
+
serviceId: string;
|
|
228
|
+
} & AsyncCallback<{
|
|
229
|
+
characteristic: {
|
|
230
|
+
characteristicId: string;
|
|
231
|
+
serviceId: string;
|
|
232
|
+
value: string;
|
|
233
|
+
properties: {
|
|
234
|
+
read: boolean;
|
|
235
|
+
write: boolean;
|
|
236
|
+
notify: boolean;
|
|
237
|
+
indicate: boolean;
|
|
238
|
+
};
|
|
239
|
+
}[];
|
|
240
|
+
}>) | undefined) => Promise<{
|
|
241
|
+
characteristic: {
|
|
242
|
+
characteristicId: string;
|
|
243
|
+
serviceId: string;
|
|
244
|
+
value: string;
|
|
245
|
+
properties: {
|
|
246
|
+
read: boolean;
|
|
247
|
+
write: boolean;
|
|
248
|
+
notify: boolean;
|
|
249
|
+
indicate: boolean;
|
|
250
|
+
};
|
|
251
|
+
}[];
|
|
252
|
+
}>;
|
|
195
253
|
getBLEDeviceServices: (args: {
|
|
196
254
|
deviceId: string;
|
|
197
255
|
} & AsyncCallback<{
|
|
@@ -200,38 +258,108 @@ declare const _default: {
|
|
|
200
258
|
serviceId: string;
|
|
201
259
|
}[];
|
|
202
260
|
}>) => void;
|
|
261
|
+
getBLEDeviceServicesAsync: (args?: ({
|
|
262
|
+
deviceId: string;
|
|
263
|
+
} & AsyncCallback<{
|
|
264
|
+
services: {
|
|
265
|
+
isPrimary: boolean;
|
|
266
|
+
serviceId: string;
|
|
267
|
+
}[];
|
|
268
|
+
}>) | undefined) => Promise<{
|
|
269
|
+
services: {
|
|
270
|
+
isPrimary: boolean;
|
|
271
|
+
serviceId: string;
|
|
272
|
+
}[];
|
|
273
|
+
}>;
|
|
203
274
|
getBluetoothAdapterState: (args: AsyncCallback<{
|
|
204
275
|
discovering: boolean;
|
|
205
276
|
available: boolean;
|
|
206
277
|
}>) => void;
|
|
278
|
+
getBluetoothAdapterStateAsync: (args?: AsyncCallback<{
|
|
279
|
+
discovering: boolean;
|
|
280
|
+
available: boolean;
|
|
281
|
+
}> | undefined) => Promise<{
|
|
282
|
+
discovering: boolean;
|
|
283
|
+
available: boolean;
|
|
284
|
+
}>;
|
|
207
285
|
getBluetoothDevices: (args: AsyncCallback<{
|
|
208
286
|
devices: BluetoothDevices[];
|
|
209
287
|
}>) => void;
|
|
288
|
+
getBluetoothDevicesAsync: (args?: AsyncCallback<{
|
|
289
|
+
devices: BluetoothDevices[];
|
|
290
|
+
}> | undefined) => Promise<{
|
|
291
|
+
devices: BluetoothDevices[];
|
|
292
|
+
}>;
|
|
210
293
|
getClipboard: (args: GetClipboardArgs) => void;
|
|
294
|
+
getClipboardAsync: (args?: GetClipboardArgs | undefined) => Promise<{
|
|
295
|
+
text: string;
|
|
296
|
+
}>;
|
|
211
297
|
getComponentAuth: (args?: any) => void;
|
|
298
|
+
getComponentAuthAsync: (args?: any) => Promise<unknown>;
|
|
212
299
|
getConnectedBluetoothDevices: (args: {
|
|
213
300
|
deviceId: string;
|
|
214
301
|
} & AsyncCallback<any>) => void;
|
|
302
|
+
getConnectedBluetoothDevicesAsync: (args?: ({
|
|
303
|
+
deviceId: string;
|
|
304
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
215
305
|
getFileInfo: (args: GetFileArgs) => void;
|
|
306
|
+
getFileInfoAsync: (args?: GetFileArgs | undefined) => Promise<{
|
|
307
|
+
size: number;
|
|
308
|
+
digest: string;
|
|
309
|
+
}>;
|
|
216
310
|
getImageInfo: (args: GetImageInfo) => void;
|
|
311
|
+
getImageInfoAsync: (args?: GetImageInfo | undefined) => Promise<GetImageInfoCallbackValue>;
|
|
217
312
|
getLocation: (args: {
|
|
218
313
|
bizType?: string | undefined;
|
|
219
314
|
requestType?: number | undefined;
|
|
220
315
|
timeout?: number | undefined;
|
|
221
316
|
horizontalAccuracy?: number | undefined;
|
|
222
317
|
} & GetLocationArgs) => void;
|
|
318
|
+
getLocationAsync: (args?: ({
|
|
319
|
+
bizType?: string | undefined;
|
|
320
|
+
requestType?: number | undefined;
|
|
321
|
+
timeout?: number | undefined;
|
|
322
|
+
horizontalAccuracy?: number | undefined;
|
|
323
|
+
} & GetLocationArgs) | undefined) => Promise<GetLocationCallbackValue>;
|
|
223
324
|
getNetworkType: (args: GetNetworkTypeArgs) => void;
|
|
325
|
+
getNetworkTypeAsync: (args?: GetNetworkTypeArgs | undefined) => Promise<GetNetworkTypeCallbackValue>;
|
|
224
326
|
getOpenUserInfo: (args: GetOpenUserInfoArgs) => void;
|
|
327
|
+
getOpenUserInfoAsync: (args?: GetOpenUserInfoArgs | undefined) => Promise<{
|
|
328
|
+
response: string;
|
|
329
|
+
}>;
|
|
225
330
|
getPaymentCode: (args?: any) => void;
|
|
331
|
+
getPaymentCodeAsync: (args?: any) => Promise<unknown>;
|
|
226
332
|
getPhoneNumber: (args?: any) => void;
|
|
333
|
+
getPhoneNumberAsync: (args?: any) => Promise<unknown>;
|
|
227
334
|
getSavedFileInfo: (args: GetSavedFileInfo) => void;
|
|
335
|
+
getSavedFileInfoAsync: (args?: GetSavedFileInfo | undefined) => Promise<{
|
|
336
|
+
size: number;
|
|
337
|
+
createTime: number;
|
|
338
|
+
}>;
|
|
228
339
|
getSavedFileList: (args: GetSavedFileListArgs) => void;
|
|
340
|
+
getSavedFileListAsync: (args?: GetSavedFileListArgs | undefined) => Promise<{
|
|
341
|
+
fileList: {
|
|
342
|
+
size: number;
|
|
343
|
+
createTime: number;
|
|
344
|
+
apFilePath: string;
|
|
345
|
+
}[];
|
|
346
|
+
}>;
|
|
229
347
|
getScreenBrightness: (args: AsyncCallback<{
|
|
230
348
|
brightness: number;
|
|
231
349
|
}>) => void;
|
|
350
|
+
getScreenBrightnessAsync: (args?: AsyncCallback<{
|
|
351
|
+
brightness: number;
|
|
352
|
+
}> | undefined) => Promise<{
|
|
353
|
+
brightness: number;
|
|
354
|
+
}>;
|
|
232
355
|
getServerTime: (args: AsyncCallback<{
|
|
233
356
|
time: number;
|
|
234
357
|
}>) => void;
|
|
358
|
+
getServerTimeAsync: (args?: AsyncCallback<{
|
|
359
|
+
time: number;
|
|
360
|
+
}> | undefined) => Promise<{
|
|
361
|
+
time: number;
|
|
362
|
+
}>;
|
|
235
363
|
getSetting: (args?: AsyncCallback<{
|
|
236
364
|
authSetting: {
|
|
237
365
|
camera: boolean;
|
|
@@ -241,25 +369,48 @@ declare const _default: {
|
|
|
241
369
|
phoneNumber: boolean;
|
|
242
370
|
};
|
|
243
371
|
}> | undefined) => void;
|
|
372
|
+
getSettingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
244
373
|
getSiteInfo: (args: AsyncCallback<GetSiteInfoCallbackValue>) => void;
|
|
374
|
+
getSiteInfoAsync: (args?: AsyncCallback<GetSiteInfoCallbackValue> | undefined) => Promise<GetSiteInfoCallbackValue>;
|
|
245
375
|
getStorage: (args: GetStorage) => void;
|
|
376
|
+
getStorageAsync: (args?: GetStorage | undefined) => Promise<{
|
|
377
|
+
data: any;
|
|
378
|
+
}>;
|
|
246
379
|
getSystemInfo: (args: GetSystemInfoArgs) => void;
|
|
380
|
+
getSystemInfoAsync: (args?: GetSystemInfoArgs | undefined) => Promise<GetSystemInfoCallbackValue>;
|
|
247
381
|
hideBackHome: () => void;
|
|
382
|
+
hideBackHomeAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
248
383
|
hideKeyboard: () => void;
|
|
384
|
+
hideKeyboardAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
249
385
|
hideLoading: (args?: HideLoadingArgs | undefined) => void;
|
|
386
|
+
hideLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
250
387
|
hideNavigationBarLoading: () => void;
|
|
388
|
+
hideNavigationBarLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
251
389
|
hideTabBar: (args: HideTabBarArgs) => void;
|
|
390
|
+
hideTabBarAsync: (args?: HideTabBarArgs | undefined) => Promise<undefined>;
|
|
252
391
|
hideToast: (args?: AsyncCallback<any> | undefined) => void;
|
|
392
|
+
hideToastAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
253
393
|
inquireQuote: (args?: any) => void;
|
|
394
|
+
inquireQuoteAsync: (args?: any) => Promise<unknown>;
|
|
254
395
|
isInstalledApp: (args?: any) => void;
|
|
396
|
+
isInstalledAppAsync: (args?: any) => Promise<unknown>;
|
|
255
397
|
makePhoneCall: (args: {
|
|
256
398
|
number: string;
|
|
257
399
|
}) => void;
|
|
400
|
+
makePhoneCallAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
258
401
|
multiLevelSelect: (args: MultiLevelSelectArgs) => void;
|
|
402
|
+
multiLevelSelectAsync: (args?: MultiLevelSelectArgs | undefined) => Promise<{
|
|
403
|
+
success: boolean;
|
|
404
|
+
result: any[];
|
|
405
|
+
}>;
|
|
259
406
|
navigateBack: (args: NavigateBackArgs) => void;
|
|
407
|
+
navigateBackAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
260
408
|
navigateBackMiniProgram: (args: NavigateBackMiniProgramArgs) => void;
|
|
409
|
+
navigateBackMiniProgramAsync: (args?: NavigateBackMiniProgramArgs | undefined) => Promise<undefined>;
|
|
261
410
|
navigateTo: (args: NavigateToArgs) => void;
|
|
411
|
+
navigateToAsync: (args?: NavigateToArgs | undefined) => Promise<undefined>;
|
|
262
412
|
navigateToMiniProgram: (args: NavigateToMiniProgramArgs) => void;
|
|
413
|
+
navigateToMiniProgramAsync: (args?: NavigateToMiniProgramArgs | undefined) => Promise<undefined>;
|
|
263
414
|
notifyBLECharacteristicValueChange: (args: {
|
|
264
415
|
deviceId: string;
|
|
265
416
|
serviceId: string;
|
|
@@ -267,6 +418,13 @@ declare const _default: {
|
|
|
267
418
|
descriptorId?: string | undefined;
|
|
268
419
|
state?: boolean | undefined;
|
|
269
420
|
} & AsyncCallback<any>) => void;
|
|
421
|
+
notifyBLECharacteristicValueChangeAsync: (args?: ({
|
|
422
|
+
deviceId: string;
|
|
423
|
+
serviceId: string;
|
|
424
|
+
characteristicId: string;
|
|
425
|
+
descriptorId?: string | undefined;
|
|
426
|
+
state?: boolean | undefined;
|
|
427
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
270
428
|
offAccelerometerChange: (args?: ((arg: any) => void) | undefined) => void;
|
|
271
429
|
offBLECharacteristicValueChange: (args?: ((arg: any) => void) | undefined) => void;
|
|
272
430
|
offBLEConnectionStateChanged: (args?: ((arg: any) => void) | undefined) => void;
|
|
@@ -316,11 +474,17 @@ declare const _default: {
|
|
|
316
474
|
onSocketOpen: (args: (arg: any) => void) => void;
|
|
317
475
|
onUserCaptureScreen: (args: () => void) => void;
|
|
318
476
|
openBluetoothAdapter: (args: AsyncCallback<any>) => void;
|
|
477
|
+
openBluetoothAdapterAsync: (args?: AsyncCallback<any> | undefined) => Promise<any>;
|
|
319
478
|
openDocument: (args: {
|
|
320
479
|
filePath: string;
|
|
321
480
|
fileType: string;
|
|
322
481
|
} & AsyncCallback<any>) => void;
|
|
482
|
+
openDocumentAsync: (args?: ({
|
|
483
|
+
filePath: string;
|
|
484
|
+
fileType: string;
|
|
485
|
+
} & AsyncCallback<any>) | undefined) => Promise<any>;
|
|
323
486
|
openSchemeWithBacking: (args?: any) => void;
|
|
487
|
+
openSchemeWithBackingAsync: (args?: any) => Promise<unknown>;
|
|
324
488
|
openSetting: (args?: AsyncCallback<{
|
|
325
489
|
authSetting: {
|
|
326
490
|
camera: any;
|
|
@@ -330,17 +494,35 @@ declare const _default: {
|
|
|
330
494
|
phoneNumber: any;
|
|
331
495
|
};
|
|
332
496
|
}> | undefined) => void;
|
|
497
|
+
openSettingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
333
498
|
pageScrollTo: (args: PageScrollToArgs) => void;
|
|
499
|
+
pageScrollToAsync: (args?: PageScrollToArgs | undefined) => Promise<undefined>;
|
|
334
500
|
paySignCenter: (args?: any) => void;
|
|
501
|
+
paySignCenterAsync: (args?: any) => Promise<unknown>;
|
|
335
502
|
previewImage: (args: PreviewImageArgs) => void;
|
|
503
|
+
previewImageAsync: (args?: PreviewImageArgs | undefined) => Promise<undefined>;
|
|
336
504
|
prompt: (args: PromptArgs) => void;
|
|
505
|
+
promptAsync: (args?: PromptArgs | undefined) => Promise<PromptCallbackValue>;
|
|
337
506
|
readBLECharacteristicValue: (args: ReadBLECharacteristicValueArgs) => void;
|
|
507
|
+
readBLECharacteristicValueAsync: (args?: ReadBLECharacteristicValueArgs | undefined) => Promise<{
|
|
508
|
+
characteristic: {
|
|
509
|
+
characteristicId: string;
|
|
510
|
+
serviceId: string;
|
|
511
|
+
value: string;
|
|
512
|
+
};
|
|
513
|
+
}>;
|
|
338
514
|
redirectTo: (args: RedirectToArgs) => void;
|
|
515
|
+
redirectToAsync: (args?: RedirectToArgs | undefined) => Promise<undefined>;
|
|
339
516
|
regionFetchAllApps: (args?: any) => void;
|
|
517
|
+
regionFetchAllAppsAsync: (args?: any) => Promise<unknown>;
|
|
340
518
|
regionSearchAppsByKeywords: (args?: any) => void;
|
|
519
|
+
regionSearchAppsByKeywordsAsync: (args?: any) => Promise<unknown>;
|
|
341
520
|
reLaunch: (args: ReLaunchArgs) => void;
|
|
521
|
+
reLaunchAsync: (args?: ReLaunchArgs | undefined) => Promise<undefined>;
|
|
342
522
|
removeSavedFile: (args: RemoveSavedFileArgs) => void;
|
|
523
|
+
removeSavedFileAsync: (args?: RemoveSavedFileArgs | undefined) => Promise<void>;
|
|
343
524
|
removeStorage: (args: RemoveStorageArgs) => void;
|
|
525
|
+
removeStorageAsync: (args?: RemoveStorageArgs | undefined) => Promise<undefined>;
|
|
344
526
|
request: (args: {
|
|
345
527
|
url: string;
|
|
346
528
|
headers?: {
|
|
@@ -355,52 +537,128 @@ declare const _default: {
|
|
|
355
537
|
status: number;
|
|
356
538
|
headers: any;
|
|
357
539
|
}>) => void;
|
|
540
|
+
requestAsync: (args?: ({
|
|
541
|
+
url: string;
|
|
542
|
+
headers?: {
|
|
543
|
+
[key: string]: string;
|
|
544
|
+
} | undefined;
|
|
545
|
+
method?: "GET" | "POST" | undefined;
|
|
546
|
+
data?: any;
|
|
547
|
+
timeout?: number | undefined;
|
|
548
|
+
dataType?: "json" | "text" | "base64" | "arraybuffer" | undefined;
|
|
549
|
+
} & import("@hylid/types").AsyncCallback<{
|
|
550
|
+
data: any;
|
|
551
|
+
status: number;
|
|
552
|
+
headers: any;
|
|
553
|
+
}>) | undefined) => Promise<{
|
|
554
|
+
data: any;
|
|
555
|
+
status: number;
|
|
556
|
+
headers: any;
|
|
557
|
+
}>;
|
|
358
558
|
rpc: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
359
559
|
headers: Record<string, string>;
|
|
360
560
|
resData: object;
|
|
361
561
|
}>) => void;
|
|
562
|
+
rpcAsync: (args?: (import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
563
|
+
headers: Record<string, string>;
|
|
564
|
+
resData: object;
|
|
565
|
+
}>) | undefined) => Promise<{
|
|
566
|
+
headers: Record<string, string>;
|
|
567
|
+
resData: object;
|
|
568
|
+
}>;
|
|
362
569
|
saveFile: (args: SaveFileArgs) => void;
|
|
570
|
+
saveFileAsync: (args?: SaveFileArgs | undefined) => Promise<{
|
|
571
|
+
apFilePath: string;
|
|
572
|
+
}>;
|
|
363
573
|
saveImage: (args: SaveImageArgs) => void;
|
|
574
|
+
saveImageAsync: (args?: SaveImageArgs | undefined) => Promise<undefined>;
|
|
364
575
|
scan: (args: ScanArgs) => void;
|
|
576
|
+
scanAsync: (args?: ScanArgs | undefined) => Promise<ScanCallbackValue>;
|
|
365
577
|
sendSocketMessage: (args?: SendSocketMessageArgs | undefined) => void;
|
|
578
|
+
sendSocketMessageAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
366
579
|
setBackgroundColor: (args: SetBackgroundColorArgs) => void;
|
|
580
|
+
setBackgroundColorAsync: (args?: SetBackgroundColorArgs | undefined) => Promise<undefined>;
|
|
367
581
|
setCanPullDown: (args: {
|
|
368
582
|
canPullDown: boolean;
|
|
369
583
|
} & import("@hylid/types").AsyncCallback<void>) => void;
|
|
584
|
+
setCanPullDownAsync: (args?: ({
|
|
585
|
+
canPullDown: boolean;
|
|
586
|
+
} & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
|
|
370
587
|
setClipboard: (args: SetClipboardArgs) => void;
|
|
588
|
+
setClipboardAsync: (args?: SetClipboardArgs | undefined) => Promise<undefined>;
|
|
371
589
|
setKeepScreenOn: (args: SetKeepScreenOnArgs) => void;
|
|
590
|
+
setKeepScreenOnAsync: (args?: SetKeepScreenOnArgs | undefined) => Promise<undefined>;
|
|
372
591
|
setNavigationBar: (args: SetNavigationBarArgs) => void;
|
|
592
|
+
setNavigationBarAsync: (args?: SetNavigationBarArgs | undefined) => Promise<undefined>;
|
|
373
593
|
setOptionMenu: (args?: (import("@hylid/types").Common & import("@hylid/types").AsyncCallback<any>) | undefined) => void;
|
|
594
|
+
setOptionMenuAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
374
595
|
setScreenBrightness: (args: SetScreenBrightnessArgs) => void;
|
|
596
|
+
setScreenBrightnessAsync: (args?: SetScreenBrightnessArgs | undefined) => Promise<undefined>;
|
|
375
597
|
setStorage: (args: SetStorage) => void;
|
|
598
|
+
setStorageAsync: (args?: SetStorage | undefined) => Promise<undefined>;
|
|
376
599
|
setTabBarStyle: (args: SetTabBarStyleArgs) => void;
|
|
600
|
+
setTabBarStyleAsync: (args?: SetTabBarStyleArgs | undefined) => Promise<any>;
|
|
377
601
|
showActionSheet: (args: ShowActionSheetArgs) => void;
|
|
602
|
+
showActionSheetAsync: (args?: ShowActionSheetArgs | undefined) => Promise<any>;
|
|
378
603
|
showAuthGuide: (args: import("@hylid/types").AsyncCallback<{
|
|
379
604
|
shown: boolean;
|
|
380
605
|
}> & {
|
|
381
606
|
authType: string;
|
|
382
607
|
bizType?: string | undefined;
|
|
383
608
|
}) => void;
|
|
609
|
+
showAuthGuideAsync: (args?: (import("@hylid/types").AsyncCallback<{
|
|
610
|
+
shown: boolean;
|
|
611
|
+
}> & {
|
|
612
|
+
authType: string;
|
|
613
|
+
bizType?: string | undefined;
|
|
614
|
+
}) | undefined) => Promise<{
|
|
615
|
+
shown: boolean;
|
|
616
|
+
}>;
|
|
384
617
|
showLoading: (args?: ShowLoadingArgs | undefined) => void;
|
|
618
|
+
showLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
385
619
|
showNavigationBarLoading: () => void;
|
|
620
|
+
showNavigationBarLoadingAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
386
621
|
showToast: (args?: ShowToastArgs | undefined) => void;
|
|
622
|
+
showToastAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
387
623
|
signContract: (args: SignContractArgs) => void;
|
|
624
|
+
signContractAsync: (args?: SignContractArgs | undefined) => Promise<{
|
|
625
|
+
authState: string;
|
|
626
|
+
authCode: string;
|
|
627
|
+
}>;
|
|
388
628
|
startApp: (args?: any) => void;
|
|
629
|
+
startAppAsync: (args?: any) => Promise<unknown>;
|
|
389
630
|
startBizService: (args?: any) => void;
|
|
631
|
+
startBizServiceAsync: (args?: any) => Promise<unknown>;
|
|
390
632
|
startBluetoothDevicesDiscovery: (args?: StartBluetoothDevicesDiscoveryArgs | undefined) => void;
|
|
633
|
+
startBluetoothDevicesDiscoveryAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
391
634
|
startPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
|
|
635
|
+
startPullDownRefreshAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
392
636
|
stopBluetoothDevicesDiscovery: (args?: AsyncCallback<any> | undefined) => void;
|
|
637
|
+
stopBluetoothDevicesDiscoveryAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
393
638
|
stopPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
|
|
639
|
+
stopPullDownRefreshAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
394
640
|
switchTab: (args: SwitchTabArgs) => void;
|
|
641
|
+
switchTabAsync: (args?: SwitchTabArgs | undefined) => Promise<undefined>;
|
|
395
642
|
thirdPartyAuthForAc: (args?: any) => void;
|
|
643
|
+
thirdPartyAuthForAcAsync: (args?: any) => Promise<unknown>;
|
|
396
644
|
tradePay: (args: TradePayArgs) => void;
|
|
645
|
+
tradePayAsync: (args?: TradePayArgs | undefined) => Promise<{
|
|
646
|
+
resultCode: string;
|
|
647
|
+
}>;
|
|
397
648
|
uploadApdidToken: (args?: any) => void;
|
|
649
|
+
uploadApdidTokenAsync: (args?: any) => Promise<unknown>;
|
|
398
650
|
uploadFile: (args: UploadFileArgs) => void;
|
|
651
|
+
uploadFileAsync: (args?: UploadFileArgs | undefined) => Promise<UploadFileCallbackValue>;
|
|
399
652
|
vibrate: (args: AsyncCallback<void>) => void;
|
|
653
|
+
vibrateAsync: (args?: AsyncCallback<void> | undefined) => Promise<void>;
|
|
400
654
|
watchShake: (args?: AsyncCallback<any> | undefined) => void;
|
|
655
|
+
watchShakeAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
|
|
401
656
|
writeBLECharacteristicValue: (args: WriteBLECharacteristicValueArgs) => void;
|
|
657
|
+
writeBLECharacteristicValueAsync: (args?: WriteBLECharacteristicValueArgs | undefined) => Promise<any>;
|
|
402
658
|
showSharePanel: (args?: any) => void;
|
|
659
|
+
showSharePanelAsync: (args?: any) => Promise<unknown>;
|
|
403
660
|
hideOptionButton: (args?: any) => void;
|
|
661
|
+
hideOptionButtonAsync: (args?: any) => Promise<unknown>;
|
|
404
662
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
405
663
|
appId: string;
|
|
406
664
|
}>) => void;
|
|
@@ -408,5 +666,4 @@ declare const _default: {
|
|
|
408
666
|
getSDKVersion: (args: import("@hylid/types").AsyncCallback<string>) => void;
|
|
409
667
|
};
|
|
410
668
|
export default _default;
|
|
411
|
-
export { addFatigueAction, addPhoneContact, alert, apDisableJSAPI, appxrpc, APRegionRPC, batchQueryCdpSpaceInfo, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, exitApp, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getComponentAuth, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getPaymentCode, getPhoneNumber, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, inquireQuote, isInstalledApp, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, 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, openSchemeWithBacking, openSetting, pageScrollTo, paySignCenter, previewImage, prompt, readBLECharacteristicValue, redirectTo, regionFetchAllApps, regionSearchAppsByKeywords, reLaunch, removeSavedFile, removeStorage, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setOptionMenu, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startApp, startBizService, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, thirdPartyAuthForAc, tradePay, uploadApdidToken, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, hideOptionButton, getAppId, getCurrentPages, getSDKVersion, };
|
|
412
|
-
export { addFatigueActionAsync, addPhoneContactAsync, alertAsync, apDisableJSAPIAsync, appxrpcAsync, APRegionRPCAsync, batchQueryCdpSpaceInfoAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, exitAppAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getComponentAuthAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getPaymentCodeAsync, getPhoneNumberAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, inquireQuoteAsync, isInstalledAppAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSchemeWithBackingAsync, openSettingAsync, pageScrollToAsync, paySignCenterAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, regionFetchAllAppsAsync, regionSearchAppsByKeywordsAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setOptionMenuAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startAppAsync, startBizServiceAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, thirdPartyAuthForAcAsync, tradePayAsync, uploadApdidTokenAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, hideOptionButtonAsync, };
|
|
669
|
+
export { addFatigueAction, addFatigueActionAsync, addPhoneContact, addPhoneContactAsync, alert, alertAsync, apDisableJSAPI, apDisableJSAPIAsync, appxrpc, appxrpcAsync, APRegionRPC, APRegionRPCAsync, batchQueryCdpSpaceInfo, batchQueryCdpSpaceInfoAsync, 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, getComponentAuth, getComponentAuthAsync, getConnectedBluetoothDevices, getConnectedBluetoothDevicesAsync, getFileInfo, getFileInfoAsync, getImageInfo, getImageInfoAsync, getLocation, getLocationAsync, getNetworkType, getNetworkTypeAsync, getOpenUserInfo, getOpenUserInfoAsync, getPaymentCode, getPaymentCodeAsync, getPhoneNumber, getPhoneNumberAsync, 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, inquireQuote, inquireQuoteAsync, isInstalledApp, isInstalledAppAsync, makePhoneCall, makePhoneCallAsync, multiLevelSelect, multiLevelSelectAsync, navigateBack, navigateBackAsync, navigateBackMiniProgram, navigateBackMiniProgramAsync, navigateTo, navigateToAsync, 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, openSchemeWithBacking, openSchemeWithBackingAsync, openSetting, openSettingAsync, pageScrollTo, pageScrollToAsync, paySignCenter, paySignCenterAsync, previewImage, previewImageAsync, prompt, promptAsync, readBLECharacteristicValue, readBLECharacteristicValueAsync, redirectTo, redirectToAsync, regionFetchAllApps, regionFetchAllAppsAsync, regionSearchAppsByKeywords, regionSearchAppsByKeywordsAsync, reLaunch, reLaunchAsync, removeSavedFile, removeSavedFileAsync, removeStorage, removeStorageAsync, request, requestAsync, rpc, rpcAsync, saveFile, saveFileAsync, saveImage, saveImageAsync, scan, scanAsync, sendSocketMessage, sendSocketMessageAsync, setBackgroundColor, setBackgroundColorAsync, setCanPullDown, setCanPullDownAsync, setClipboard, setClipboardAsync, setKeepScreenOn, setKeepScreenOnAsync, setNavigationBar, setNavigationBarAsync, setOptionMenu, setOptionMenuAsync, setScreenBrightness, setScreenBrightnessAsync, setStorage, setStorageAsync, setTabBarStyle, setTabBarStyleAsync, showActionSheet, showActionSheetAsync, showAuthGuide, showAuthGuideAsync, showLoading, showLoadingAsync, showNavigationBarLoading, showNavigationBarLoadingAsync, showToast, showToastAsync, signContract, signContractAsync, startApp, startAppAsync, startBizService, startBizServiceAsync, startBluetoothDevicesDiscovery, startBluetoothDevicesDiscoveryAsync, startPullDownRefresh, startPullDownRefreshAsync, stopBluetoothDevicesDiscovery, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefresh, stopPullDownRefreshAsync, switchTab, switchTabAsync, thirdPartyAuthForAc, thirdPartyAuthForAcAsync, tradePay, tradePayAsync, uploadApdidToken, uploadApdidTokenAsync, uploadFile, uploadFileAsync, vibrate, vibrateAsync, watchShake, watchShakeAsync, writeBLECharacteristicValue, writeBLECharacteristicValueAsync, showSharePanel, showSharePanelAsync, hideOptionButton, hideOptionButtonAsync, getAppId, getCurrentPages, getSDKVersion, };
|