@docoi/mys-sdk 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/basic.d.ts +1 -1
- package/dist/bridge.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +119 -118
- package/package.json +1 -1
package/dist/api/basic.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ export declare function chooseMedia(params?: ChooseMediaParams): Promise<NativeR
|
|
|
171
171
|
* 批量串行上传 chooseMedia 返回的临时文件路径,成功后返回网络 URL。
|
|
172
172
|
*
|
|
173
173
|
* @note
|
|
174
|
-
* filePath 应为 chooseMedia 返回的临时文件路径,例如
|
|
174
|
+
* filePath 应为 chooseMedia 返回的临时文件路径,例如 mysFiles://temp/xxxx.png。
|
|
175
175
|
* cosDirPath 默认 multipleSource/common/。
|
|
176
176
|
*
|
|
177
177
|
* @app 4.3.0
|
package/dist/bridge.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { default as JSBridgeSdk, CallOptions, JSBridgeInterface } from '@docoi/jsbridge-sdk';
|
|
1
|
+
import { default as JSBridgeSdk, CallOptions, DebugOptions, JSBridgeInterface } from '@docoi/jsbridge-sdk';
|
|
2
2
|
import { Callbacks, NativeResponse } from './types';
|
|
3
3
|
export { JSBridgeSdk };
|
|
4
4
|
export type NativeHandler<TData = unknown, TResult = unknown> = (data: TData) => TResult | Promise<TResult>;
|
|
5
5
|
declare const bridge: JSBridgeInterface;
|
|
6
|
-
export declare const setDebug: (enabled: boolean) => JSBridgeInterface;
|
|
6
|
+
export declare const setDebug: (enabled: boolean, options?: Partial<DebugOptions>) => JSBridgeInterface;
|
|
7
7
|
export default bridge;
|
|
8
8
|
export declare function registerNativeHandler<TData = unknown, TResult = unknown>(name: string, handler: NativeHandler<TData, TResult>): JSBridgeInterface;
|
|
9
9
|
export declare function rejectParamError<T = void>(fnName: string, msg: string, options?: Callbacks<T>): Promise<never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as bridge, registerNativeHandler, setDebug, JSBridgeSdk } from './bridge';
|
|
2
|
+
import { DebugOptions, JSBridgeInterface } from '@docoi/jsbridge-sdk';
|
|
2
3
|
import { Callbacks, LoginResult, NativeResponse, GetTokenResult, GetCircleInfoResult, ShareWebCardParams, BindGameRoleParams, ShowAdParams, ShowToastParams, TriggerVibrateParams, KeyboardHeightChangeCallback, EventListenOptions, CommentPanelChangeCallback, PlayMediaParams, ChooseMediaParams, ChooseMediaResult, UploadFilesParams, UploadFilesResult, SaveImageToPhotosAlbumParams, SaveVideoToPhotosAlbumParams, StartRecordParams, SystemInfoResult, NetworkTypeResult, SetClipboardDataParams, GetClipboardDataResult, CheckPermissionParams, CheckPermissionResult, OpenPhoneSettingParams, OpenInExternalBrowserParams } from './types';
|
|
3
4
|
declare const mys: {
|
|
5
|
+
setDebug: (enabled: boolean, options?: Partial< DebugOptions>) => JSBridgeInterface;
|
|
4
6
|
registerNativeHandler: typeof registerNativeHandler;
|
|
5
7
|
login(params?: Callbacks<LoginResult>): Promise< NativeResponse<LoginResult>>;
|
|
6
8
|
getToken(params?: Callbacks<GetTokenResult>): Promise< NativeResponse<GetTokenResult>>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import A from "@docoi/jsbridge-sdk";
|
|
2
2
|
import { default as Ee } from "@docoi/jsbridge-sdk";
|
|
3
|
-
const S = 0, v = -1,
|
|
3
|
+
const S = 0, v = -1, Ce = 1001, I = 1002, Pe = 2002, be = 3002, qe = 4002, Se = 9002;
|
|
4
4
|
function N(e) {
|
|
5
5
|
return {
|
|
6
6
|
code: S,
|
|
@@ -28,8 +28,8 @@ function O(e, t) {
|
|
|
28
28
|
const u = A.init({
|
|
29
29
|
debug: !1,
|
|
30
30
|
timeout: 9e4
|
|
31
|
-
}),
|
|
32
|
-
function
|
|
31
|
+
}), H = (e, t) => u.setDebug(e, t);
|
|
32
|
+
function _(e, t) {
|
|
33
33
|
return u.register(e, async (r) => {
|
|
34
34
|
try {
|
|
35
35
|
const o = await t(r);
|
|
@@ -47,7 +47,7 @@ function i(e, t, r) {
|
|
|
47
47
|
};
|
|
48
48
|
return (f = r == null ? void 0 : r.fail) == null || f.call(r, o), (s = r == null ? void 0 : r.complete) == null || s.call(r, o), Promise.reject(o);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function D(e) {
|
|
51
51
|
return Object.fromEntries(
|
|
52
52
|
Object.entries(e).filter(([, r]) => typeof r != "function")
|
|
53
53
|
);
|
|
@@ -58,7 +58,7 @@ function h(e) {
|
|
|
58
58
|
function M(e) {
|
|
59
59
|
return h(e) && typeof e.code == "number";
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function m(e) {
|
|
62
62
|
if (typeof e != "string") return e;
|
|
63
63
|
try {
|
|
64
64
|
return JSON.parse(e);
|
|
@@ -78,7 +78,7 @@ function q(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
function n(e, t = {}, r, o) {
|
|
80
80
|
const f = String(e), { success: s, fail: y, complete: l } = r || {}, R = (a) => {
|
|
81
|
-
const d =
|
|
81
|
+
const d = m(a);
|
|
82
82
|
if (M(d) && d.code === S) {
|
|
83
83
|
const C = d;
|
|
84
84
|
return s == null || s(C), l == null || l(C), C;
|
|
@@ -88,10 +88,10 @@ function n(e, t = {}, r, o) {
|
|
|
88
88
|
const d = q(f, a);
|
|
89
89
|
throw y == null || y(d), l == null || l(d), d;
|
|
90
90
|
};
|
|
91
|
-
return u.callAsync(f,
|
|
91
|
+
return u.callAsync(f, D(t), o).then(R).catch(T);
|
|
92
92
|
}
|
|
93
93
|
var E = /* @__PURE__ */ ((e) => (e[e.Short = 0] = "Short", e[e.Long = 1] = "Long", e))(E || {});
|
|
94
|
-
function
|
|
94
|
+
function x(e) {
|
|
95
95
|
return e.text ? n(
|
|
96
96
|
"showToast",
|
|
97
97
|
{
|
|
@@ -101,7 +101,7 @@ function m(e) {
|
|
|
101
101
|
e
|
|
102
102
|
) : i("showToast", "text is required", e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function V(e = {}) {
|
|
105
105
|
return n("triggerVibrate", {
|
|
106
106
|
duration: e.duration,
|
|
107
107
|
intensity: e.intensity ?? 1,
|
|
@@ -109,21 +109,21 @@ function x(e = {}) {
|
|
|
109
109
|
repeat: e.repeat ?? !1
|
|
110
110
|
}, e, { queue: "serial" });
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function j(e) {
|
|
113
113
|
return n("stopVibrate", {}, e, { queue: "serial" });
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function F(e) {
|
|
116
116
|
return n("hideKeyboard", {}, e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function B() {
|
|
119
119
|
return typeof window > "u" ? 1 : window.devicePixelRatio || 1;
|
|
120
120
|
}
|
|
121
121
|
const c = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
122
|
-
function
|
|
122
|
+
function $(e, t) {
|
|
123
123
|
const r = c.get(e);
|
|
124
124
|
r && u.off("keyboardHeightChange", r);
|
|
125
125
|
const o = (f) => {
|
|
126
|
-
const s = f ? f /
|
|
126
|
+
const s = f ? f / B() : 0;
|
|
127
127
|
e(s), t != null && t.once && c.delete(e);
|
|
128
128
|
};
|
|
129
129
|
if (c.set(e, o), t != null && t.once) {
|
|
@@ -132,7 +132,7 @@ function B(e, t) {
|
|
|
132
132
|
}
|
|
133
133
|
u.on("keyboardHeightChange", o);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function k(e) {
|
|
136
136
|
if (!e) {
|
|
137
137
|
c.clear(), u.off("keyboardHeightChange");
|
|
138
138
|
return;
|
|
@@ -140,7 +140,7 @@ function $(e) {
|
|
|
140
140
|
const t = c.get(e);
|
|
141
141
|
c.delete(e), u.off("keyboardHeightChange", t || e);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function G(e, t) {
|
|
144
144
|
const r = g.get(e);
|
|
145
145
|
r && u.off("onCommentPanelChange", r);
|
|
146
146
|
const o = (f) => {
|
|
@@ -152,7 +152,7 @@ function k(e, t) {
|
|
|
152
152
|
}
|
|
153
153
|
u.on("onCommentPanelChange", o);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function W(e) {
|
|
156
156
|
if (!e) {
|
|
157
157
|
g.clear(), u.off("onCommentPanelChange");
|
|
158
158
|
return;
|
|
@@ -160,13 +160,13 @@ function G(e) {
|
|
|
160
160
|
const t = g.get(e);
|
|
161
161
|
g.delete(e), u.off("onCommentPanelChange", t || e);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function K(e) {
|
|
164
164
|
var r;
|
|
165
165
|
if (!((r = e.urls) != null && r.length))
|
|
166
|
-
return i("
|
|
166
|
+
return i("previewMedia", "urls is required", e);
|
|
167
167
|
const t = e.current ?? 0;
|
|
168
|
-
return !Number.isInteger(t) || t < 0 || t >= e.urls.length ? i("
|
|
169
|
-
"
|
|
168
|
+
return !Number.isInteger(t) || t < 0 || t >= e.urls.length ? i("previewMedia", "current is out of range", e) : n(
|
|
169
|
+
"previewMedia",
|
|
170
170
|
{
|
|
171
171
|
type: "image",
|
|
172
172
|
urls: e.urls,
|
|
@@ -175,13 +175,13 @@ function W(e) {
|
|
|
175
175
|
e
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function z(e) {
|
|
179
179
|
var r;
|
|
180
180
|
if (!((r = e.urls) != null && r.length))
|
|
181
181
|
return i("previewVideo", "urls is required", e);
|
|
182
182
|
const t = e.current ?? 0;
|
|
183
183
|
return !Number.isInteger(t) || t < 0 || t >= e.urls.length ? i("previewVideo", "current is out of range", e) : n(
|
|
184
|
-
"
|
|
184
|
+
"previewMedia",
|
|
185
185
|
{
|
|
186
186
|
type: "video",
|
|
187
187
|
urls: e.urls,
|
|
@@ -190,7 +190,7 @@ function K(e) {
|
|
|
190
190
|
e
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function J(e = {}) {
|
|
194
194
|
return e.count !== void 0 && (!Number.isInteger(e.count) || e.count <= 0) ? i("chooseMedia", "可选择照片数量范围为1-9张", e) : n(
|
|
195
195
|
"chooseMedia",
|
|
196
196
|
{
|
|
@@ -210,7 +210,7 @@ u.on("uploadFilesProgress", (e) => {
|
|
|
210
210
|
for (const t of b)
|
|
211
211
|
t(e);
|
|
212
212
|
});
|
|
213
|
-
function
|
|
213
|
+
function L(e) {
|
|
214
214
|
return !Array.isArray(e.files) || e.files.length === 0 ? i("uploadFiles", "files is required", e) : e.files.some((t) => !t) ? i("uploadFiles", "files[] is required", e) : P ? i("uploadFiles", "another uploadFiles request is in progress", e) : (P = !0, e.onProgress && b.add(e.onProgress), n(
|
|
215
215
|
"uploadFiles",
|
|
216
216
|
{
|
|
@@ -223,31 +223,31 @@ function J(e) {
|
|
|
223
223
|
P = !1, e.onProgress && b.delete(e.onProgress);
|
|
224
224
|
}));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function U(e) {
|
|
227
227
|
return e.filePath ? n("saveMediaToPhotosAlbum", { type: "image", file: e.filePath }, e, { queue: "serial" }) : i("saveImageToPhotosAlbum", "filePath is required", e);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function X(e) {
|
|
230
230
|
return e.filePath ? n("saveMediaToPhotosAlbum", { type: "video", file: e.filePath }, e, { queue: "serial" }) : i("saveVideoToPhotosAlbum", "filePath is required", e);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Y(e) {
|
|
233
233
|
return n("startRecord", e || {}, e, { queue: "serial" });
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Q(e) {
|
|
236
236
|
return n("stopRecord", {}, e, { queue: "serial" });
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Z(e) {
|
|
239
239
|
return n("getSystemInfo", {}, e);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function p(e) {
|
|
242
242
|
return n("getNetworkType", {}, e);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function ee(e) {
|
|
245
245
|
return e.data === void 0 ? i("setClipboardData", "data is required", e) : n("setClipboardData", { data: e.data }, e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function te(e) {
|
|
248
248
|
return n("getClipboardData", {}, e);
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function re(e) {
|
|
251
251
|
return e.permission ? n(
|
|
252
252
|
"checkPermission",
|
|
253
253
|
{
|
|
@@ -256,7 +256,7 @@ function te(e) {
|
|
|
256
256
|
e
|
|
257
257
|
) : i("checkPermission", "permission is required", e);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function ne(e) {
|
|
260
260
|
return e.type ? n(
|
|
261
261
|
"openPhoneSetting",
|
|
262
262
|
{
|
|
@@ -266,49 +266,49 @@ function re(e) {
|
|
|
266
266
|
{ queue: "serial" }
|
|
267
267
|
) : i("openPhoneSetting", "type is required", e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function ie(e) {
|
|
270
270
|
return n("closeWebView", {}, e, { queue: "serial" });
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function oe(e) {
|
|
273
273
|
return e.url ? n("openInExternalBrowser", { url: e.url }, e, { queue: "serial" }) : i("openInExternalBrowser", "url is required", e);
|
|
274
274
|
}
|
|
275
|
-
const
|
|
275
|
+
const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
276
276
|
__proto__: null,
|
|
277
|
-
checkPermission:
|
|
278
|
-
chooseMedia:
|
|
279
|
-
closeWebView:
|
|
280
|
-
getClipboardData:
|
|
281
|
-
getNetworkType:
|
|
282
|
-
getSystemInfo:
|
|
283
|
-
hideKeyboard:
|
|
284
|
-
offCommentPanelChange:
|
|
285
|
-
offKeyboardHeightChange:
|
|
286
|
-
onCommentPanelChange:
|
|
287
|
-
onKeyboardHeightChange:
|
|
288
|
-
openInExternalBrowser:
|
|
289
|
-
openPhoneSetting:
|
|
290
|
-
previewImage:
|
|
291
|
-
previewVideo:
|
|
292
|
-
saveImageToPhotosAlbum:
|
|
293
|
-
saveVideoToPhotosAlbum:
|
|
294
|
-
setClipboardData:
|
|
295
|
-
showToast:
|
|
296
|
-
startRecord:
|
|
297
|
-
stopRecord:
|
|
298
|
-
stopVibrate:
|
|
299
|
-
triggerVibrate:
|
|
300
|
-
uploadFiles:
|
|
277
|
+
checkPermission: re,
|
|
278
|
+
chooseMedia: J,
|
|
279
|
+
closeWebView: ie,
|
|
280
|
+
getClipboardData: te,
|
|
281
|
+
getNetworkType: p,
|
|
282
|
+
getSystemInfo: Z,
|
|
283
|
+
hideKeyboard: F,
|
|
284
|
+
offCommentPanelChange: W,
|
|
285
|
+
offKeyboardHeightChange: k,
|
|
286
|
+
onCommentPanelChange: G,
|
|
287
|
+
onKeyboardHeightChange: $,
|
|
288
|
+
openInExternalBrowser: oe,
|
|
289
|
+
openPhoneSetting: ne,
|
|
290
|
+
previewImage: K,
|
|
291
|
+
previewVideo: z,
|
|
292
|
+
saveImageToPhotosAlbum: U,
|
|
293
|
+
saveVideoToPhotosAlbum: X,
|
|
294
|
+
setClipboardData: ee,
|
|
295
|
+
showToast: x,
|
|
296
|
+
startRecord: Y,
|
|
297
|
+
stopRecord: Q,
|
|
298
|
+
stopVibrate: j,
|
|
299
|
+
triggerVibrate: V,
|
|
300
|
+
uploadFiles: L
|
|
301
301
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
302
|
-
function
|
|
302
|
+
function fe(e) {
|
|
303
303
|
return n("login", {}, e, { queue: "serial" });
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function se(e) {
|
|
306
306
|
return n("getToken", {}, e);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function de(e) {
|
|
309
309
|
return n("getCurrentCircleInfo", {}, e);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function le(e) {
|
|
312
312
|
return e.title ? n(
|
|
313
313
|
"shareWebCard",
|
|
314
314
|
{
|
|
@@ -319,73 +319,74 @@ function de(e) {
|
|
|
319
319
|
{ queue: "serial" }
|
|
320
320
|
) : i("shareWebCard", "title is required", e);
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function ce(e) {
|
|
323
323
|
return n("openAddCustomEmoji", {}, e, { queue: "serial" });
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function ge(e) {
|
|
326
326
|
return e.gameName ? e.serverId ? n("pointsMallBindGame", e, e, { queue: "serial" }) : i("toBindGameRole", "serverId is required", e) : i("toBindGameRole", "gameName is required", e);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function he(e) {
|
|
329
329
|
return e.type === void 0 ? i("showAd", "type is required", e) : n("showAdVideo", e, e, { queue: "serial" });
|
|
330
330
|
}
|
|
331
|
-
const
|
|
331
|
+
const ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
332
332
|
__proto__: null,
|
|
333
|
-
getCurrentCircleInfo:
|
|
334
|
-
getToken:
|
|
335
|
-
login:
|
|
336
|
-
openAddCustomEmoji:
|
|
337
|
-
shareWebCard:
|
|
338
|
-
showAd:
|
|
339
|
-
toBindGameRole:
|
|
333
|
+
getCurrentCircleInfo: de,
|
|
334
|
+
getToken: se,
|
|
335
|
+
login: fe,
|
|
336
|
+
openAddCustomEmoji: ce,
|
|
337
|
+
shareWebCard: le,
|
|
338
|
+
showAd: he,
|
|
339
|
+
toBindGameRole: ge
|
|
340
340
|
}, Symbol.toStringTag, { value: "Module" })), ve = {
|
|
341
|
-
...
|
|
342
|
-
...
|
|
343
|
-
|
|
341
|
+
...ue,
|
|
342
|
+
...ye,
|
|
343
|
+
setDebug: H,
|
|
344
|
+
registerNativeHandler: _
|
|
344
345
|
};
|
|
345
346
|
export {
|
|
346
|
-
|
|
347
|
+
Se as CUSTOM,
|
|
347
348
|
Ee as JSBridgeSdk,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
Ce as METHOD_NOT_FOUND,
|
|
350
|
+
qe as NETWORK_ERROR,
|
|
351
|
+
Pe as NOT_LOGGED_IN,
|
|
351
352
|
I as PARAMS_ERROR,
|
|
352
|
-
|
|
353
|
+
be as PERMISSION_DENIED,
|
|
353
354
|
S as SUCCESS,
|
|
354
355
|
v as SYSTEM_EXCEPTION,
|
|
355
356
|
E as ToastDuration,
|
|
356
357
|
u as bridge,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
re as checkPermission,
|
|
359
|
+
J as chooseMedia,
|
|
360
|
+
ie as closeWebView,
|
|
360
361
|
ve as default,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
362
|
+
te as getClipboardData,
|
|
363
|
+
de as getCurrentCircleInfo,
|
|
364
|
+
p as getNetworkType,
|
|
365
|
+
Z as getSystemInfo,
|
|
366
|
+
se as getToken,
|
|
367
|
+
F as hideKeyboard,
|
|
368
|
+
fe as login,
|
|
369
|
+
W as offCommentPanelChange,
|
|
370
|
+
k as offKeyboardHeightChange,
|
|
371
|
+
G as onCommentPanelChange,
|
|
372
|
+
$ as onKeyboardHeightChange,
|
|
373
|
+
ce as openAddCustomEmoji,
|
|
374
|
+
oe as openInExternalBrowser,
|
|
375
|
+
ne as openPhoneSetting,
|
|
376
|
+
K as previewImage,
|
|
377
|
+
z as previewVideo,
|
|
378
|
+
_ as registerNativeHandler,
|
|
379
|
+
U as saveImageToPhotosAlbum,
|
|
380
|
+
X as saveVideoToPhotosAlbum,
|
|
381
|
+
ee as setClipboardData,
|
|
382
|
+
H as setDebug,
|
|
383
|
+
le as shareWebCard,
|
|
384
|
+
he as showAd,
|
|
385
|
+
x as showToast,
|
|
386
|
+
Y as startRecord,
|
|
387
|
+
Q as stopRecord,
|
|
388
|
+
j as stopVibrate,
|
|
389
|
+
ge as toBindGameRole,
|
|
390
|
+
V as triggerVibrate,
|
|
391
|
+
L as uploadFiles
|
|
391
392
|
};
|