@neuxnet/neux-cli 0.2.3

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.
Files changed (73) hide show
  1. package/README.md +438 -0
  2. package/README.zh-CN.md +554 -0
  3. package/assets/container/assets/index.css +1 -0
  4. package/assets/container/assets/index.js +137 -0
  5. package/assets/container/assets/pageFrame.css +1 -0
  6. package/assets/container/assets/pageFrame.js +56 -0
  7. package/assets/container/assets/service.js +6 -0
  8. package/assets/container/assets/vconsole.js +931 -0
  9. package/assets/container/favicon.ico +0 -0
  10. package/assets/container/images/icon-arrow.png +0 -0
  11. package/assets/container/images/mini-action-white.png +0 -0
  12. package/assets/container/images/mini-action.png +0 -0
  13. package/assets/container/images/mini-arrow-left-white.png +0 -0
  14. package/assets/container/images/mini-arrow-left.jpg +0 -0
  15. package/assets/container/images/mini-arrow-left.png +0 -0
  16. package/assets/container/images/mini-close-white.png +0 -0
  17. package/assets/container/images/mini-close.png +0 -0
  18. package/assets/container/images/more.png +0 -0
  19. package/assets/container/images/search.jpg +0 -0
  20. package/assets/container/index.html +1 -0
  21. package/assets/container/pageFrame.html +1 -0
  22. package/assets/init/tabbar/home-active.png +0 -0
  23. package/assets/init/tabbar/home.png +0 -0
  24. package/assets/init/tabbar/list-active.png +0 -0
  25. package/assets/init/tabbar/list.png +0 -0
  26. package/assets/init/types/neux-api.d.ts +1402 -0
  27. package/package.json +68 -0
  28. package/scripts/generate-init-types.js +210 -0
  29. package/scripts/sync-compiler.js +22 -0
  30. package/scripts/sync-web-container.js +34 -0
  31. package/src/bin/cli.js +646 -0
  32. package/src/core/brand.js +11 -0
  33. package/src/core/compiler.js +305 -0
  34. package/src/core/defaults.js +12 -0
  35. package/src/core/dev.js +15 -0
  36. package/src/core/errors.js +17 -0
  37. package/src/core/fs.js +66 -0
  38. package/src/core/i18n.js +37 -0
  39. package/src/core/init.js +866 -0
  40. package/src/core/lifecycle.js +32 -0
  41. package/src/core/manifest.js +72 -0
  42. package/src/core/pack.js +156 -0
  43. package/src/core/package-info.js +27 -0
  44. package/src/core/preview-server.js +123 -0
  45. package/src/core/project.js +101 -0
  46. package/src/core/prompts.js +71 -0
  47. package/src/core/proxy-security.js +141 -0
  48. package/src/core/proxy.js +156 -0
  49. package/src/core/qr.js +41 -0
  50. package/src/core/terminal-qr.js +72 -0
  51. package/src/core/update.js +278 -0
  52. package/src/core/watch.js +113 -0
  53. package/src/core/web.js +649 -0
  54. package/src/core/zip.js +120 -0
  55. package/src/index.js +20 -0
  56. package/src/providers/service-client.js +149 -0
  57. package/src/providers/service-config.js +264 -0
  58. package/src/providers/service.js +146 -0
  59. package/src/providers/upload.js +112 -0
  60. package/vendor/dimina-compiler/bin/index.cjs +265 -0
  61. package/vendor/dimina-compiler/bin/index.js +263 -0
  62. package/vendor/dimina-compiler/compatibility-B-DoZtUX.cjs +395 -0
  63. package/vendor/dimina-compiler/compatibility-Cl3-DO6V.js +366 -0
  64. package/vendor/dimina-compiler/core/logic-compiler.cjs +378 -0
  65. package/vendor/dimina-compiler/core/logic-compiler.js +374 -0
  66. package/vendor/dimina-compiler/core/style-compiler.cjs +392 -0
  67. package/vendor/dimina-compiler/core/style-compiler.js +377 -0
  68. package/vendor/dimina-compiler/core/view-compiler.cjs +1601 -0
  69. package/vendor/dimina-compiler/core/view-compiler.js +1582 -0
  70. package/vendor/dimina-compiler/index.cjs +762 -0
  71. package/vendor/dimina-compiler/index.js +751 -0
  72. package/vendor/dimina-compiler/sourcemap-BgtIgqkC.cjs +1377 -0
  73. package/vendor/dimina-compiler/sourcemap-CKjhV9h7.js +1135 -0
@@ -0,0 +1,1402 @@
1
+ type NeuxCallback = (result?: any) => void;
2
+ type NeuxCallbackOptions = { success?: NeuxCallback; fail?: NeuxCallback; complete?: NeuxCallback; };
3
+ type NeuxRequestOptions = NeuxCallbackOptions & { url: string; method?: string; header?: Record<string, string>; data?: any; timeout?: number; };
4
+ type NeuxShowToastOptions = NeuxCallbackOptions & { title: string; icon?: 'success' | 'error' | 'loading' | 'none'; image?: string; duration?: number; mask?: boolean; };
5
+ type NeuxShowModalOptions = NeuxCallbackOptions & { title?: string; content?: string; showCancel?: boolean; cancelText?: string; confirmText?: string; cancelColor?: string; confirmColor?: string; };
6
+ type NeuxShowLoadingOptions = NeuxCallbackOptions & { title: string; mask?: boolean; };
7
+ type NeuxNavigateOptions = NeuxCallbackOptions & { url: string; events?: Record<string, NeuxCallback>; };
8
+ type NeuxSetStorageOptions = NeuxCallbackOptions & { key: string; data: any; };
9
+ type NeuxGetStorageOptions = NeuxCallbackOptions & { key: string; };
10
+ type NeuxSetClipboardDataOptions = NeuxCallbackOptions & { data: string; };
11
+ type NeuxChooseImageOptions = NeuxCallbackOptions & { count?: number; sizeType?: string[]; sourceType?: string[]; };
12
+ type NeuxScanCodeOptions = NeuxCallbackOptions & { onlyFromCamera?: boolean; scanType?: string[]; };
13
+ type NeuxGetLocationOptions = NeuxCallbackOptions & { type?: string; altitude?: boolean; isHighAccuracy?: boolean; };
14
+ type NeuxSetNavigationBarTitleOptions = NeuxCallbackOptions & { title: string; };
15
+
16
+ declare type NeuxApi = {
17
+ /**
18
+ * Provides the addPhoneCalendar mini app capability.
19
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
20
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
21
+ */
22
+ addPhoneCalendar(...args: any[]): any;
23
+ /**
24
+ * Provides the addPhoneContact mini app capability.
25
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
26
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/add-phone-contact
27
+ */
28
+ addPhoneContact(...args: any[]): any;
29
+ /**
30
+ * Provides the authorize mini app capability.
31
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
32
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
33
+ */
34
+ authorize(...args: any[]): any;
35
+ /**
36
+ * Provides the canIUse mini app capability.
37
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
38
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/can-i-use
39
+ */
40
+ canIUse(...args: any[]): any;
41
+ /**
42
+ * Provides the canvasToTempFilePath mini app capability.
43
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
44
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/canvas/canvas-to-temp-file-path
45
+ */
46
+ canvasToTempFilePath(...args: any[]): any;
47
+ /**
48
+ * Provides the captureScreen mini app capability.
49
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
50
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
51
+ */
52
+ captureScreen(...args: any[]): any;
53
+ /**
54
+ * Provides the chooseContact mini app capability.
55
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
56
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/choose-contact
57
+ */
58
+ chooseContact(...args: any[]): any;
59
+ /**
60
+ * Opens the image picker or camera and returns selected image files.
61
+ * @param options count, sizeType, sourceType, and lifecycle callbacks.
62
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/choose-image
63
+ */
64
+ chooseImage(options?: NeuxChooseImageOptions): any;
65
+ /**
66
+ * Provides the chooseMedia mini app capability.
67
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
68
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/choose-media
69
+ */
70
+ chooseMedia(...args: any[]): any;
71
+ /**
72
+ * Provides the chooseMessageFile mini app capability.
73
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
74
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
75
+ */
76
+ chooseMessageFile(...args: any[]): any;
77
+ /**
78
+ * Provides the chooseVideo mini app capability.
79
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
80
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/choose-video
81
+ */
82
+ chooseVideo(...args: any[]): any;
83
+ /**
84
+ * Provides the clearStorage mini app capability.
85
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
86
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/clear-storage
87
+ */
88
+ clearStorage(...args: any[]): any;
89
+ /**
90
+ * Provides the clearStorageSync mini app capability.
91
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
92
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/clear-storage-sync
93
+ */
94
+ clearStorageSync(...args: any[]): any;
95
+ /**
96
+ * Provides the closeBLEConnection mini app capability.
97
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
98
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
99
+ */
100
+ closeBLEConnection(...args: any[]): any;
101
+ /**
102
+ * Provides the closeBluetoothAdapter mini app capability.
103
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
104
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/close-bluetooth-adapter
105
+ */
106
+ closeBluetoothAdapter(...args: any[]): any;
107
+ /**
108
+ * Provides the closeSocket mini app capability.
109
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
110
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/close-socket
111
+ */
112
+ closeSocket(...args: any[]): any;
113
+ /**
114
+ * Provides the compressImage mini app capability.
115
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
116
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/compress-image
117
+ */
118
+ compressImage(...args: any[]): any;
119
+ /**
120
+ * Provides the connectSocket mini app capability.
121
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
122
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/connect-socket
123
+ */
124
+ connectSocket(...args: any[]): any;
125
+ /**
126
+ * Provides the createAnimation mini app capability.
127
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
128
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/create-animation
129
+ */
130
+ createAnimation(...args: any[]): any;
131
+ /**
132
+ * Provides the createAudioContext mini app capability.
133
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
134
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/create-audio-context
135
+ */
136
+ createAudioContext(...args: any[]): any;
137
+ /**
138
+ * Provides the createBLEConnection mini app capability.
139
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
140
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
141
+ */
142
+ createBLEConnection(...args: any[]): any;
143
+ /**
144
+ * Provides the createCameraContext mini app capability.
145
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
146
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/create-camera-context
147
+ */
148
+ createCameraContext(...args: any[]): any;
149
+ /**
150
+ * Provides the createCanvasContext mini app capability.
151
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
152
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/canvas/create-canvas-context
153
+ */
154
+ createCanvasContext(...args: any[]): any;
155
+ /**
156
+ * Provides the createContext mini app capability.
157
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
158
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
159
+ */
160
+ createContext(...args: any[]): any;
161
+ /**
162
+ * Provides the createIntersectionObserver mini app capability.
163
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
164
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/wxml/create-intersection-observer
165
+ */
166
+ createIntersectionObserver(...args: any[]): any;
167
+ /**
168
+ * Provides the createMapContext mini app capability.
169
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
170
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/map/create-map-context
171
+ */
172
+ createMapContext(...args: any[]): any;
173
+ /**
174
+ * Provides the createMediaQueryObserver mini app capability.
175
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
176
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
177
+ */
178
+ createMediaQueryObserver(...args: any[]): any;
179
+ /**
180
+ * Provides the createOffscreenCanvas mini app capability.
181
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
182
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/canvas/create-offscreen-canvas
183
+ */
184
+ createOffscreenCanvas(...args: any[]): any;
185
+ /**
186
+ * Provides the createSelectorQuery mini app capability.
187
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
188
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/wxml/create-selector-query
189
+ */
190
+ createSelectorQuery(...args: any[]): any;
191
+ /**
192
+ * Provides the createTCPSocket mini app capability.
193
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
194
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
195
+ */
196
+ createTCPSocket(...args: any[]): any;
197
+ /**
198
+ * Provides the createUDPSocket mini app capability.
199
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
200
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
201
+ */
202
+ createUDPSocket(...args: any[]): any;
203
+ /**
204
+ * Provides the createVideoContext mini app capability.
205
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
206
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/create-video-context
207
+ */
208
+ createVideoContext(...args: any[]): any;
209
+ /**
210
+ * Provides the disableAlertBeforeUnload mini app capability.
211
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
212
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/disable-alert-before-unload
213
+ */
214
+ disableAlertBeforeUnload(...args: any[]): any;
215
+ /**
216
+ * Provides the downloadFile mini app capability.
217
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
218
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/download-file
219
+ */
220
+ downloadFile(...args: any[]): any;
221
+ /**
222
+ * Provides the drawCanvas mini app capability.
223
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
224
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
225
+ */
226
+ drawCanvas(...args: any[]): any;
227
+ /**
228
+ * Provides the enableAlertBeforeUnload mini app capability.
229
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
230
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/enable-alert-before-unload
231
+ */
232
+ enableAlertBeforeUnload(...args: any[]): any;
233
+ /**
234
+ * Provides the exitMiniProgram mini app capability.
235
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
236
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/jump/exit-mini-program
237
+ */
238
+ exitMiniProgram(...args: any[]): any;
239
+ /**
240
+ * Provides the extBridge mini app capability.
241
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
242
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/ext-bridge
243
+ */
244
+ extBridge(...args: any[]): any;
245
+ /**
246
+ * Provides the extOffBridge mini app capability.
247
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
248
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/ext-off-bridge
249
+ */
250
+ extOffBridge(...args: any[]): any;
251
+ /**
252
+ * Provides the extOnBridge mini app capability.
253
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
254
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/ext-on-bridge
255
+ */
256
+ extOnBridge(...args: any[]): any;
257
+ /**
258
+ * Provides the flushAnalytics mini app capability.
259
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
260
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
261
+ */
262
+ flushAnalytics(...args: any[]): any;
263
+ /**
264
+ * Provides the generateQRCode mini app capability.
265
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
266
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
267
+ */
268
+ generateQRCode(...args: any[]): any;
269
+ /**
270
+ * Provides the getAccountInfoSync mini app capability.
271
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
272
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
273
+ */
274
+ getAccountInfoSync(...args: any[]): any;
275
+ /**
276
+ * Provides the getAppBaseInfo mini app capability.
277
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
278
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-app-base-info
279
+ */
280
+ getAppBaseInfo(...args: any[]): any;
281
+ /**
282
+ * Provides the getAuthCode mini app capability.
283
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
284
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
285
+ */
286
+ getAuthCode(...args: any[]): any;
287
+ /**
288
+ * Provides the getAuthList mini app capability.
289
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
290
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
291
+ */
292
+ getAuthList(...args: any[]): any;
293
+ /**
294
+ * Provides the getBLEDeviceCharacteristics mini app capability.
295
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
296
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
297
+ */
298
+ getBLEDeviceCharacteristics(...args: any[]): any;
299
+ /**
300
+ * Provides the getBLEDeviceRSSI mini app capability.
301
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
302
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
303
+ */
304
+ getBLEDeviceRSSI(...args: any[]): any;
305
+ /**
306
+ * Provides the getBLEDeviceServices mini app capability.
307
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
308
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
309
+ */
310
+ getBLEDeviceServices(...args: any[]): any;
311
+ /**
312
+ * Provides the getBLEMTU mini app capability.
313
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
314
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
315
+ */
316
+ getBLEMTU(...args: any[]): any;
317
+ /**
318
+ * Provides the getBackgroundAudioPlayerState mini app capability.
319
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
320
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
321
+ */
322
+ getBackgroundAudioPlayerState(...args: any[]): any;
323
+ /**
324
+ * Provides the getBluetoothAdapterState mini app capability.
325
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
326
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/get-bluetooth-adapter-state
327
+ */
328
+ getBluetoothAdapterState(...args: any[]): any;
329
+ /**
330
+ * Provides the getBluetoothDevices mini app capability.
331
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
332
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/get-bluetooth-devices
333
+ */
334
+ getBluetoothDevices(...args: any[]): any;
335
+ /**
336
+ * Reads text from the system clipboard.
337
+ * @param options success, fail, and complete callbacks.
338
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/get-clipboard-data
339
+ */
340
+ getClipboardData(options?: NeuxCallbackOptions): any;
341
+ /**
342
+ * Provides the getConnectedBluetoothDevices mini app capability.
343
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
344
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/get-connected-bluetooth-devices
345
+ */
346
+ getConnectedBluetoothDevices(...args: any[]): any;
347
+ /**
348
+ * Provides the getDeviceInfo mini app capability.
349
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
350
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-device-info
351
+ */
352
+ getDeviceInfo(...args: any[]): any;
353
+ /**
354
+ * Provides the getEmail mini app capability.
355
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
356
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
357
+ */
358
+ getEmail(...args: any[]): any;
359
+ /**
360
+ * Provides the getEnterOptionsSync mini app capability.
361
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
362
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
363
+ */
364
+ getEnterOptionsSync(...args: any[]): any;
365
+ /**
366
+ * Provides the getFileSystemManager mini app capability.
367
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
368
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/file/get-file-system-manager
369
+ */
370
+ getFileSystemManager(...args: any[]): any;
371
+ /**
372
+ * Provides the getHostAppConfig mini app capability.
373
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
374
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/get-host-app-config
375
+ */
376
+ getHostAppConfig(...args: any[]): any;
377
+ /**
378
+ * Provides the getHostFontSize mini app capability.
379
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
380
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
381
+ */
382
+ getHostFontSize(...args: any[]): any;
383
+ /**
384
+ * Provides the getHostLanguage mini app capability.
385
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
386
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
387
+ */
388
+ getHostLanguage(...args: any[]): any;
389
+ /**
390
+ * Provides the getLaunchOptionsSync mini app capability.
391
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
392
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
393
+ */
394
+ getLaunchOptionsSync(...args: any[]): any;
395
+ /**
396
+ * Reads the current device location after authorization.
397
+ * @param options type, altitude, isHighAccuracy, and lifecycle callbacks.
398
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/get-location
399
+ */
400
+ getLocation(options?: NeuxGetLocationOptions): any;
401
+ /**
402
+ * Provides the getMenuButtonBoundingClientRect mini app capability.
403
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
404
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/get-menu-button-bounding-client-rect
405
+ */
406
+ getMenuButtonBoundingClientRect(...args: any[]): any;
407
+ /**
408
+ * Provides the getNetworkType mini app capability.
409
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
410
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/get-network-type
411
+ */
412
+ getNetworkType(...args: any[]): any;
413
+ /**
414
+ * Provides the getPerformance mini app capability.
415
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
416
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-performance
417
+ */
418
+ getPerformance(...args: any[]): any;
419
+ /**
420
+ * Provides the getPhoneNumber mini app capability.
421
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
422
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
423
+ */
424
+ getPhoneNumber(...args: any[]): any;
425
+ /**
426
+ * Provides the getPrivacySetting mini app capability.
427
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
428
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
429
+ */
430
+ getPrivacySetting(...args: any[]): any;
431
+ /**
432
+ * Provides the getScreenBrightness mini app capability.
433
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
434
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
435
+ */
436
+ getScreenBrightness(...args: any[]): any;
437
+ /**
438
+ * Provides the getSetting mini app capability.
439
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
440
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
441
+ */
442
+ getSetting(...args: any[]): any;
443
+ /**
444
+ * Reads a value from the mini app storage namespace.
445
+ * @param options key and success, fail, and complete callbacks.
446
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/get-storage
447
+ */
448
+ getStorage(options?: NeuxGetStorageOptions): any;
449
+ /**
450
+ * Provides the getStorageInfo mini app capability.
451
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
452
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/get-storage-info
453
+ */
454
+ getStorageInfo(...args: any[]): any;
455
+ /**
456
+ * Provides the getStorageInfoSync mini app capability.
457
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
458
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/get-storage-info-sync
459
+ */
460
+ getStorageInfoSync(...args: any[]): any;
461
+ /**
462
+ * Provides the getStorageSync mini app capability.
463
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
464
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/get-storage-sync
465
+ */
466
+ getStorageSync(...args: any[]): any;
467
+ /**
468
+ * Provides the getSystemInfo mini app capability.
469
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
470
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-system-info
471
+ */
472
+ getSystemInfo(...args: any[]): any;
473
+ /**
474
+ * Provides the getSystemInfoAsync mini app capability.
475
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
476
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-system-info-async
477
+ */
478
+ getSystemInfoAsync(...args: any[]): any;
479
+ /**
480
+ * Provides the getSystemInfoSync mini app capability.
481
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
482
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-system-info-sync
483
+ */
484
+ getSystemInfoSync(...args: any[]): any;
485
+ /**
486
+ * Provides the getSystemSetting mini app capability.
487
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
488
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
489
+ */
490
+ getSystemSetting(...args: any[]): any;
491
+ /**
492
+ * Provides the getUpdateManager mini app capability.
493
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
494
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-update-manager
495
+ */
496
+ getUpdateManager(...args: any[]): any;
497
+ /**
498
+ * Provides the getUserInfo mini app capability.
499
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
500
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
501
+ */
502
+ getUserInfo(...args: any[]): any;
503
+ /**
504
+ * Provides the getUserProfile mini app capability.
505
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
506
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
507
+ */
508
+ getUserProfile(...args: any[]): any;
509
+ /**
510
+ * Provides the getWindowInfo mini app capability.
511
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
512
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/get-window-info
513
+ */
514
+ getWindowInfo(...args: any[]): any;
515
+ /**
516
+ * Provides the hideHomeButton mini app capability.
517
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
518
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
519
+ */
520
+ hideHomeButton(...args: any[]): any;
521
+ /**
522
+ * Provides the hideKeyboard mini app capability.
523
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
524
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/hide-keyboard
525
+ */
526
+ hideKeyboard(...args: any[]): any;
527
+ /**
528
+ * Provides the hideLoading mini app capability.
529
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
530
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/hide-loading
531
+ */
532
+ hideLoading(...args: any[]): any;
533
+ /**
534
+ * Provides the hideNavigationBarLoading mini app capability.
535
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
536
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/hide-navigation-bar-loading
537
+ */
538
+ hideNavigationBarLoading(...args: any[]): any;
539
+ /**
540
+ * Provides the hideShareMenu mini app capability.
541
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
542
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
543
+ */
544
+ hideShareMenu(...args: any[]): any;
545
+ /**
546
+ * Provides the hideTabBar mini app capability.
547
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
548
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/hide-tab-bar
549
+ */
550
+ hideTabBar(...args: any[]): any;
551
+ /**
552
+ * Provides the hideTabBarRedDot mini app capability.
553
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
554
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/hide-tab-bar-red-dot
555
+ */
556
+ hideTabBarRedDot(...args: any[]): any;
557
+ /**
558
+ * Provides the hideToast mini app capability.
559
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
560
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/hide-toast
561
+ */
562
+ hideToast(...args: any[]): any;
563
+ /**
564
+ * Provides the identifyAnalytics mini app capability.
565
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
566
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
567
+ */
568
+ identifyAnalytics(...args: any[]): any;
569
+ /**
570
+ * Provides the initAnalytics mini app capability.
571
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
572
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
573
+ */
574
+ initAnalytics(...args: any[]): any;
575
+ /**
576
+ * Provides the isBluetoothDevicePaired mini app capability.
577
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
578
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
579
+ */
580
+ isBluetoothDevicePaired(...args: any[]): any;
581
+ /**
582
+ * Provides the loadSubpackage mini app capability.
583
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
584
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
585
+ */
586
+ loadSubpackage(...args: any[]): any;
587
+ /**
588
+ * Requests a login code from the host application.
589
+ * @param options success, fail, and complete callbacks.
590
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/login
591
+ */
592
+ login(options?: NeuxCallbackOptions): any;
593
+ /**
594
+ * Provides the loginAnalytics mini app capability.
595
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
596
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
597
+ */
598
+ loginAnalytics(...args: any[]): any;
599
+ /**
600
+ * Provides the logoutAnalytics mini app capability.
601
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
602
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
603
+ */
604
+ logoutAnalytics(...args: any[]): any;
605
+ /**
606
+ * Provides the makeBluetoothPair mini app capability.
607
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
608
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
609
+ */
610
+ makeBluetoothPair(...args: any[]): any;
611
+ /**
612
+ * Provides the makePhoneCall mini app capability.
613
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
614
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/make-phone-call
615
+ */
616
+ makePhoneCall(...args: any[]): any;
617
+ /**
618
+ * Provides the navigateBack mini app capability.
619
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
620
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/routing/navigate-back
621
+ */
622
+ navigateBack(...args: any[]): any;
623
+ /**
624
+ * Provides the navigateBackMiniProgram mini app capability.
625
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
626
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/jump/navigate-back-mini-program
627
+ */
628
+ navigateBackMiniProgram(...args: any[]): any;
629
+ /**
630
+ * Opens a new page and keeps the current page in the navigation stack.
631
+ * @param options url, events, and success, fail, and complete callbacks.
632
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/routing/navigate-to
633
+ */
634
+ navigateTo(options?: NeuxNavigateOptions): any;
635
+ /**
636
+ * Provides the navigateToMiniProgram mini app capability.
637
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
638
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/jump/navigate-to-mini-program
639
+ */
640
+ navigateToMiniProgram(...args: any[]): any;
641
+ /**
642
+ * Provides the nextTick mini app capability.
643
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
644
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/next-tick
645
+ */
646
+ nextTick(...args: any[]): any;
647
+ /**
648
+ * Provides the offAppHide mini app capability.
649
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
650
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
651
+ */
652
+ offAppHide(...args: any[]): any;
653
+ /**
654
+ * Provides the offAppShow mini app capability.
655
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
656
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
657
+ */
658
+ offAppShow(...args: any[]): any;
659
+ /**
660
+ * Provides the offBLECharacteristicValueChange mini app capability.
661
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
662
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
663
+ */
664
+ offBLECharacteristicValueChange(...args: any[]): any;
665
+ /**
666
+ * Provides the offBLEConnectionStateChange mini app capability.
667
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
668
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
669
+ */
670
+ offBLEConnectionStateChange(...args: any[]): any;
671
+ /**
672
+ * Provides the offBLEMTUChange mini app capability.
673
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
674
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
675
+ */
676
+ offBLEMTUChange(...args: any[]): any;
677
+ /**
678
+ * Provides the offBluetoothAdapterStateChange mini app capability.
679
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
680
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/off-bluetooth-adapter-state-change
681
+ */
682
+ offBluetoothAdapterStateChange(...args: any[]): any;
683
+ /**
684
+ * Provides the offBluetoothDeviceFound mini app capability.
685
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
686
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/off-bluetooth-device-found
687
+ */
688
+ offBluetoothDeviceFound(...args: any[]): any;
689
+ /**
690
+ * Provides the offError mini app capability.
691
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
692
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
693
+ */
694
+ offError(...args: any[]): any;
695
+ /**
696
+ * Provides the offHostEvent mini app capability.
697
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
698
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
699
+ */
700
+ offHostEvent(...args: any[]): any;
701
+ /**
702
+ * Provides the offHostTest mini app capability.
703
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
704
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
705
+ */
706
+ offHostTest(...args: any[]): any;
707
+ /**
708
+ * Provides the offLocalServiceDiscoveryStop mini app capability.
709
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
710
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
711
+ */
712
+ offLocalServiceDiscoveryStop(...args: any[]): any;
713
+ /**
714
+ * Provides the offLocalServiceFound mini app capability.
715
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
716
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
717
+ */
718
+ offLocalServiceFound(...args: any[]): any;
719
+ /**
720
+ * Provides the offLocalServiceLost mini app capability.
721
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
722
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
723
+ */
724
+ offLocalServiceLost(...args: any[]): any;
725
+ /**
726
+ * Provides the offLocalServiceResolveFail mini app capability.
727
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
728
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
729
+ */
730
+ offLocalServiceResolveFail(...args: any[]): any;
731
+ /**
732
+ * Provides the offLocationChange mini app capability.
733
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
734
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/off-location-change
735
+ */
736
+ offLocationChange(...args: any[]): any;
737
+ /**
738
+ * Provides the offLoginStatusChanged mini app capability.
739
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
740
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
741
+ */
742
+ offLoginStatusChanged(...args: any[]): any;
743
+ /**
744
+ * Provides the offMemoryWarning mini app capability.
745
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
746
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
747
+ */
748
+ offMemoryWarning(...args: any[]): any;
749
+ /**
750
+ * Provides the offMenuButtonBoundingClientRectWeightChange mini app capability.
751
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
752
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
753
+ */
754
+ offMenuButtonBoundingClientRectWeightChange(...args: any[]): any;
755
+ /**
756
+ * Provides the offSocketClose mini app capability.
757
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
758
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/off-socket-close
759
+ */
760
+ offSocketClose(...args: any[]): any;
761
+ /**
762
+ * Provides the offSocketError mini app capability.
763
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
764
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/off-socket-error
765
+ */
766
+ offSocketError(...args: any[]): any;
767
+ /**
768
+ * Provides the offSocketMessage mini app capability.
769
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
770
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/off-socket-message
771
+ */
772
+ offSocketMessage(...args: any[]): any;
773
+ /**
774
+ * Provides the offSocketOpen mini app capability.
775
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
776
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/off-socket-open
777
+ */
778
+ offSocketOpen(...args: any[]): any;
779
+ /**
780
+ * Provides the offThemeChange mini app capability.
781
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
782
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
783
+ */
784
+ offThemeChange(...args: any[]): any;
785
+ /**
786
+ * Provides the offUserCaptureScreen mini app capability.
787
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
788
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
789
+ */
790
+ offUserCaptureScreen(...args: any[]): any;
791
+ /**
792
+ * Provides the onAppHide mini app capability.
793
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
794
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/on-app-hide
795
+ */
796
+ onAppHide(...args: any[]): any;
797
+ /**
798
+ * Provides the onAppRoute mini app capability.
799
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
800
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
801
+ */
802
+ onAppRoute(...args: any[]): any;
803
+ /**
804
+ * Provides the onAppShow mini app capability.
805
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
806
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/on-app-show
807
+ */
808
+ onAppShow(...args: any[]): any;
809
+ /**
810
+ * Provides the onBLECharacteristicValueChange mini app capability.
811
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
812
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
813
+ */
814
+ onBLECharacteristicValueChange(...args: any[]): any;
815
+ /**
816
+ * Provides the onBLEConnectionStateChange mini app capability.
817
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
818
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
819
+ */
820
+ onBLEConnectionStateChange(...args: any[]): any;
821
+ /**
822
+ * Provides the onBLEMTUChange mini app capability.
823
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
824
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
825
+ */
826
+ onBLEMTUChange(...args: any[]): any;
827
+ /**
828
+ * Provides the onBluetoothAdapterStateChange mini app capability.
829
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
830
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/on-bluetooth-adapter-state-change
831
+ */
832
+ onBluetoothAdapterStateChange(...args: any[]): any;
833
+ /**
834
+ * Provides the onBluetoothDeviceFound mini app capability.
835
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
836
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/on-bluetooth-device-found
837
+ */
838
+ onBluetoothDeviceFound(...args: any[]): any;
839
+ /**
840
+ * Provides the onError mini app capability.
841
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
842
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/on-error
843
+ */
844
+ onError(...args: any[]): any;
845
+ /**
846
+ * Provides the onHostEvent mini app capability.
847
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
848
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
849
+ */
850
+ onHostEvent(...args: any[]): any;
851
+ /**
852
+ * Provides the onHostTest mini app capability.
853
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
854
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
855
+ */
856
+ onHostTest(...args: any[]): any;
857
+ /**
858
+ * Provides the onLocalServiceDiscoveryStop mini app capability.
859
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
860
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
861
+ */
862
+ onLocalServiceDiscoveryStop(...args: any[]): any;
863
+ /**
864
+ * Provides the onLocalServiceFound mini app capability.
865
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
866
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
867
+ */
868
+ onLocalServiceFound(...args: any[]): any;
869
+ /**
870
+ * Provides the onLocalServiceLost mini app capability.
871
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
872
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
873
+ */
874
+ onLocalServiceLost(...args: any[]): any;
875
+ /**
876
+ * Provides the onLocalServiceResolveFail mini app capability.
877
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
878
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
879
+ */
880
+ onLocalServiceResolveFail(...args: any[]): any;
881
+ /**
882
+ * Provides the onLocationChange mini app capability.
883
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
884
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/on-location-change
885
+ */
886
+ onLocationChange(...args: any[]): any;
887
+ /**
888
+ * Provides the onLoginStatusChanged mini app capability.
889
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
890
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
891
+ */
892
+ onLoginStatusChanged(...args: any[]): any;
893
+ /**
894
+ * Provides the onMemoryWarning mini app capability.
895
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
896
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
897
+ */
898
+ onMemoryWarning(...args: any[]): any;
899
+ /**
900
+ * Provides the onMenuButtonBoundingClientRectWeightChange mini app capability.
901
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
902
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
903
+ */
904
+ onMenuButtonBoundingClientRectWeightChange(...args: any[]): any;
905
+ /**
906
+ * Provides the onPageNotFound mini app capability.
907
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
908
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
909
+ */
910
+ onPageNotFound(...args: any[]): any;
911
+ /**
912
+ * Provides the onSocketClose mini app capability.
913
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
914
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/on-socket-close
915
+ */
916
+ onSocketClose(...args: any[]): any;
917
+ /**
918
+ * Provides the onSocketError mini app capability.
919
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
920
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/on-socket-error
921
+ */
922
+ onSocketError(...args: any[]): any;
923
+ /**
924
+ * Provides the onSocketMessage mini app capability.
925
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
926
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/on-socket-message
927
+ */
928
+ onSocketMessage(...args: any[]): any;
929
+ /**
930
+ * Provides the onSocketOpen mini app capability.
931
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
932
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/on-socket-open
933
+ */
934
+ onSocketOpen(...args: any[]): any;
935
+ /**
936
+ * Provides the onThemeChange mini app capability.
937
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
938
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
939
+ */
940
+ onThemeChange(...args: any[]): any;
941
+ /**
942
+ * Provides the onUnhandledRejection mini app capability.
943
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
944
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
945
+ */
946
+ onUnhandledRejection(...args: any[]): any;
947
+ /**
948
+ * Provides the onUserCaptureScreen mini app capability.
949
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
950
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
951
+ */
952
+ onUserCaptureScreen(...args: any[]): any;
953
+ /**
954
+ * Provides the onWindowResize mini app capability.
955
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
956
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
957
+ */
958
+ onWindowResize(...args: any[]): any;
959
+ /**
960
+ * Provides the openAppAuthorizeSetting mini app capability.
961
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
962
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/open-app-authorize-setting
963
+ */
964
+ openAppAuthorizeSetting(...args: any[]): any;
965
+ /**
966
+ * Provides the openBluetoothAdapter mini app capability.
967
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
968
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/open-bluetooth-adapter
969
+ */
970
+ openBluetoothAdapter(...args: any[]): any;
971
+ /**
972
+ * Provides the openLocation mini app capability.
973
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
974
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/open-location
975
+ */
976
+ openLocation(...args: any[]): any;
977
+ /**
978
+ * Provides the openSetting mini app capability.
979
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
980
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
981
+ */
982
+ openSetting(...args: any[]): any;
983
+ /**
984
+ * Provides the openSystemBluetoothSetting mini app capability.
985
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
986
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/open-system-bluetooth-setting
987
+ */
988
+ openSystemBluetoothSetting(...args: any[]): any;
989
+ /**
990
+ * Provides the pageScrollTo mini app capability.
991
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
992
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/page-scroll-to
993
+ */
994
+ pageScrollTo(...args: any[]): any;
995
+ /**
996
+ * Provides the pauseBackgroundAudio mini app capability.
997
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
998
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
999
+ */
1000
+ pauseBackgroundAudio(...args: any[]): any;
1001
+ /**
1002
+ * Provides the playBackgroundAudio mini app capability.
1003
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1004
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1005
+ */
1006
+ playBackgroundAudio(...args: any[]): any;
1007
+ /**
1008
+ * Provides the preDownloadSubpackage mini app capability.
1009
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1010
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1011
+ */
1012
+ preDownloadSubpackage(...args: any[]): any;
1013
+ /**
1014
+ * Provides the previewImage mini app capability.
1015
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1016
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/preview-image
1017
+ */
1018
+ previewImage(...args: any[]): any;
1019
+ /**
1020
+ * Closes all pages and opens the target page.
1021
+ * @param options url and success, fail, and complete callbacks.
1022
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/routing/re-launch
1023
+ */
1024
+ reLaunch(options?: NeuxNavigateOptions): any;
1025
+ /**
1026
+ * Provides the readBLECharacteristicValue mini app capability.
1027
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1028
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1029
+ */
1030
+ readBLECharacteristicValue(...args: any[]): any;
1031
+ /**
1032
+ * Closes the current page and navigates to another page.
1033
+ * @param options url and success, fail, and complete callbacks.
1034
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/routing/redirect-to
1035
+ */
1036
+ redirectTo(options?: NeuxNavigateOptions): any;
1037
+ /**
1038
+ * Provides the registerAnalyticsDynamicSuperProperties mini app capability.
1039
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1040
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1041
+ */
1042
+ registerAnalyticsDynamicSuperProperties(...args: any[]): any;
1043
+ /**
1044
+ * Provides the registerAnalyticsSuperProperties mini app capability.
1045
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1046
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1047
+ */
1048
+ registerAnalyticsSuperProperties(...args: any[]): any;
1049
+ /**
1050
+ * Provides the removeStorage mini app capability.
1051
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1052
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/remove-storage
1053
+ */
1054
+ removeStorage(...args: any[]): any;
1055
+ /**
1056
+ * Provides the removeStorageSync mini app capability.
1057
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1058
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/remove-storage-sync
1059
+ */
1060
+ removeStorageSync(...args: any[]): any;
1061
+ /**
1062
+ * Provides the removeTabBarBadge mini app capability.
1063
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1064
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/remove-tab-bar-badge
1065
+ */
1066
+ removeTabBarBadge(...args: any[]): any;
1067
+ /**
1068
+ * Provides the reportAnalytics mini app capability.
1069
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1070
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1071
+ */
1072
+ reportAnalytics(...args: any[]): any;
1073
+ /**
1074
+ * Provides the reportEvent mini app capability.
1075
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1076
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1077
+ */
1078
+ reportEvent(...args: any[]): any;
1079
+ /**
1080
+ * Sends an HTTP request and invokes the success, fail, and complete callbacks.
1081
+ * @param options URL, method, headers, data, timeout, and lifecycle callbacks.
1082
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/request
1083
+ */
1084
+ request(options?: NeuxRequestOptions): any;
1085
+ /**
1086
+ * Provides the requestPayment mini app capability.
1087
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1088
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/other/request-payment
1089
+ */
1090
+ requestPayment(...args: any[]): any;
1091
+ /**
1092
+ * Provides the requirePrivacyAuthorize mini app capability.
1093
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1094
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1095
+ */
1096
+ requirePrivacyAuthorize(...args: any[]): any;
1097
+ /**
1098
+ * Provides the restartMiniProgram mini app capability.
1099
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1100
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/jump/restart-mini-program
1101
+ */
1102
+ restartMiniProgram(...args: any[]): any;
1103
+ /**
1104
+ * Provides the saveImageToPhotosAlbum mini app capability.
1105
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1106
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/media/save-image-to-photos-album
1107
+ */
1108
+ saveImageToPhotosAlbum(...args: any[]): any;
1109
+ /**
1110
+ * Provides the saveVideoToPhotosAlbum mini app capability.
1111
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1112
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1113
+ */
1114
+ saveVideoToPhotosAlbum(...args: any[]): any;
1115
+ /**
1116
+ * Scans a QR code or barcode using the host camera.
1117
+ * @param options onlyFromCamera, scanType, and lifecycle callbacks.
1118
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/scan-code
1119
+ */
1120
+ scanCode(options?: NeuxScanCodeOptions): any;
1121
+ /**
1122
+ * Provides the seekBackgroundAudio mini app capability.
1123
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1124
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1125
+ */
1126
+ seekBackgroundAudio(...args: any[]): any;
1127
+ /**
1128
+ * Provides the sendSocketMessage mini app capability.
1129
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1130
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/send-socket-message
1131
+ */
1132
+ sendSocketMessage(...args: any[]): any;
1133
+ /**
1134
+ * Provides the setAnalyticsPageProperties mini app capability.
1135
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1136
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1137
+ */
1138
+ setAnalyticsPageProperties(...args: any[]): any;
1139
+ /**
1140
+ * Provides the setBLEMTU mini app capability.
1141
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1142
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1143
+ */
1144
+ setBLEMTU(...args: any[]): any;
1145
+ /**
1146
+ * Provides the setBackgroundColor mini app capability.
1147
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1148
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1149
+ */
1150
+ setBackgroundColor(...args: any[]): any;
1151
+ /**
1152
+ * Provides the setBackgroundTextStyle mini app capability.
1153
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1154
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1155
+ */
1156
+ setBackgroundTextStyle(...args: any[]): any;
1157
+ /**
1158
+ * Writes text to the system clipboard.
1159
+ * @param options data and success, fail, and complete callbacks.
1160
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/set-clipboard-data
1161
+ */
1162
+ setClipboardData(options?: NeuxSetClipboardDataOptions): any;
1163
+ /**
1164
+ * Provides the setEnableDebug mini app capability.
1165
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1166
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/basics/set-enable-debug
1167
+ */
1168
+ setEnableDebug(...args: any[]): any;
1169
+ /**
1170
+ * Provides the setKeepScreenOn mini app capability.
1171
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1172
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1173
+ */
1174
+ setKeepScreenOn(...args: any[]): any;
1175
+ /**
1176
+ * Provides the setNavigationBarColor mini app capability.
1177
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1178
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/set-navigation-bar-color
1179
+ */
1180
+ setNavigationBarColor(...args: any[]): any;
1181
+ /**
1182
+ * Changes the title displayed in the current page navigation bar.
1183
+ * @param options title and success, fail, and complete callbacks.
1184
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/set-navigation-bar-title
1185
+ */
1186
+ setNavigationBarTitle(options?: NeuxSetNavigationBarTitleOptions): any;
1187
+ /**
1188
+ * Provides the setScreenBrightness mini app capability.
1189
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1190
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1191
+ */
1192
+ setScreenBrightness(...args: any[]): any;
1193
+ /**
1194
+ * Stores a value in the mini app storage namespace.
1195
+ * @param options key, data, and success, fail, and complete callbacks.
1196
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/set-storage
1197
+ */
1198
+ setStorage(options?: NeuxSetStorageOptions): any;
1199
+ /**
1200
+ * Provides the setStorageSync mini app capability.
1201
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1202
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/storage/set-storage-sync
1203
+ */
1204
+ setStorageSync(...args: any[]): any;
1205
+ /**
1206
+ * Provides the setTabBarBadge mini app capability.
1207
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1208
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/set-tab-bar-badge
1209
+ */
1210
+ setTabBarBadge(...args: any[]): any;
1211
+ /**
1212
+ * Provides the setTabBarItem mini app capability.
1213
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1214
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/set-tab-bar-item
1215
+ */
1216
+ setTabBarItem(...args: any[]): any;
1217
+ /**
1218
+ * Provides the setTabBarStyle mini app capability.
1219
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1220
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/set-tab-bar-style
1221
+ */
1222
+ setTabBarStyle(...args: any[]): any;
1223
+ /**
1224
+ * Provides the setVisualEffectOnCapture mini app capability.
1225
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1226
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1227
+ */
1228
+ setVisualEffectOnCapture(...args: any[]): any;
1229
+ /**
1230
+ * Provides the share mini app capability.
1231
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1232
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1233
+ */
1234
+ share(...args: any[]): any;
1235
+ /**
1236
+ * Provides the shareMiniAppMessage mini app capability.
1237
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1238
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1239
+ */
1240
+ shareMiniAppMessage(...args: any[]): any;
1241
+ /**
1242
+ * Provides the shareToApp mini app capability.
1243
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1244
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1245
+ */
1246
+ shareToApp(...args: any[]): any;
1247
+ /**
1248
+ * Provides the showActionSheet mini app capability.
1249
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1250
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-action-sheet
1251
+ */
1252
+ showActionSheet(...args: any[]): any;
1253
+ /**
1254
+ * Displays a loading indicator until hideLoading is called.
1255
+ * @param options title and mask.
1256
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-loading
1257
+ */
1258
+ showLoading(options?: NeuxShowLoadingOptions): any;
1259
+ /**
1260
+ * Displays a modal dialog with optional cancel and confirm actions.
1261
+ * @param options title, content, showCancel, cancelText, confirmText, and callbacks.
1262
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-modal
1263
+ */
1264
+ showModal(options?: NeuxShowModalOptions): any;
1265
+ /**
1266
+ * Provides the showNavigationBarLoading mini app capability.
1267
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1268
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-navigation-bar-loading
1269
+ */
1270
+ showNavigationBarLoading(...args: any[]): any;
1271
+ /**
1272
+ * Provides the showShareImageMenu mini app capability.
1273
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1274
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1275
+ */
1276
+ showShareImageMenu(...args: any[]): any;
1277
+ /**
1278
+ * Provides the showShareMenu mini app capability.
1279
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1280
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1281
+ */
1282
+ showShareMenu(...args: any[]): any;
1283
+ /**
1284
+ * Provides the showTabBar mini app capability.
1285
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1286
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-tab-bar
1287
+ */
1288
+ showTabBar(...args: any[]): any;
1289
+ /**
1290
+ * Provides the showTabBarRedDot mini app capability.
1291
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1292
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-tab-bar-red-dot
1293
+ */
1294
+ showTabBarRedDot(...args: any[]): any;
1295
+ /**
1296
+ * Displays a short feedback message to the user.
1297
+ * @param options title, icon, image, duration, and mask.
1298
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/ui/show-toast
1299
+ */
1300
+ showToast(options?: NeuxShowToastOptions): any;
1301
+ /**
1302
+ * Provides the startBluetoothDevicesDiscovery mini app capability.
1303
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1304
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/start-bluetooth-devices-discovery
1305
+ */
1306
+ startBluetoothDevicesDiscovery(...args: any[]): any;
1307
+ /**
1308
+ * Provides the startLocalServiceDiscovery mini app capability.
1309
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1310
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1311
+ */
1312
+ startLocalServiceDiscovery(...args: any[]): any;
1313
+ /**
1314
+ * Provides the startLocationUpdate mini app capability.
1315
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1316
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/start-location-update
1317
+ */
1318
+ startLocationUpdate(...args: any[]): any;
1319
+ /**
1320
+ * Provides the startPullDownRefresh mini app capability.
1321
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1322
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1323
+ */
1324
+ startPullDownRefresh(...args: any[]): any;
1325
+ /**
1326
+ * Provides the stopBackgroundAudio mini app capability.
1327
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1328
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1329
+ */
1330
+ stopBackgroundAudio(...args: any[]): any;
1331
+ /**
1332
+ * Provides the stopBluetoothDevicesDiscovery mini app capability.
1333
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1334
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/stop-bluetooth-devices-discovery
1335
+ */
1336
+ stopBluetoothDevicesDiscovery(...args: any[]): any;
1337
+ /**
1338
+ * Provides the stopLocalServiceDiscovery mini app capability.
1339
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1340
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1341
+ */
1342
+ stopLocalServiceDiscovery(...args: any[]): any;
1343
+ /**
1344
+ * Provides the stopLocationUpdate mini app capability.
1345
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1346
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/location/stop-location-update
1347
+ */
1348
+ stopLocationUpdate(...args: any[]): any;
1349
+ /**
1350
+ * Provides the stopPullDownRefresh mini app capability.
1351
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1352
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1353
+ */
1354
+ stopPullDownRefresh(...args: any[]): any;
1355
+ /**
1356
+ * Navigates to a tab bar page and closes other non-tab pages.
1357
+ * @param options url and success, fail, and complete callbacks.
1358
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/routing/switch-tab
1359
+ */
1360
+ switchTab(options?: NeuxNavigateOptions): any;
1361
+ /**
1362
+ * Provides the trackAnalytics mini app capability.
1363
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1364
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1365
+ */
1366
+ trackAnalytics(...args: any[]): any;
1367
+ /**
1368
+ * Provides the uploadFile mini app capability.
1369
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1370
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/network/upload-file
1371
+ */
1372
+ uploadFile(...args: any[]): any;
1373
+ /**
1374
+ * Provides the vibrateLong mini app capability.
1375
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1376
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/vibrate-long
1377
+ */
1378
+ vibrateLong(...args: any[]): any;
1379
+ /**
1380
+ * Provides the vibrateShort mini app capability.
1381
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1382
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference/device/vibrate-short
1383
+ */
1384
+ vibrateShort(...args: any[]): any;
1385
+ /**
1386
+ * Provides the writeBLECharacteristicValue mini app capability.
1387
+ * @param options API-specific arguments. See the linked API reference for the exact signature.
1388
+ * @see https://demo-c.paas.superapp.neuvision.cn/miniappdoc/en/api-reference
1389
+ */
1390
+ writeBLECharacteristicValue(...args: any[]): any;
1391
+ }
1392
+
1393
+ declare const wx: NeuxApi
1394
+ declare const nx: NeuxApi
1395
+ declare const custom: NeuxApi
1396
+
1397
+ declare function App<T extends Record<string, any> = Record<string, any>>(options: T): T
1398
+ declare function Page<T extends Record<string, any> = Record<string, any>>(options: T): T
1399
+ declare function Component<T extends Record<string, any> = Record<string, any>>(options: T): T
1400
+ declare function Behavior<T extends Record<string, any> = Record<string, any>>(options: T): T
1401
+ declare function getApp<T extends Record<string, any> = Record<string, any>>(): T
1402
+ declare function getCurrentPages<T extends Record<string, any> = Record<string, any>>(): T[]