MCPcopy Index your code

hub / github.com/751496032/DSBridge-HarmonyOS / functions

Functions55 in github.com/751496032/DSBridge-HarmonyOS

↓ 9 callersMethodcall
* @param methodName JS实际调用原生的方法 * @param params JS携带过来的参数,有一个callbackID参数 * @returns
library/src/main/ets/entity/Entity.ts:20
↓ 9 callersMethodhandlerError
(result: CallResult, err: string)
library/src/main/ets/entity/BaseBridge.ts:192
↓ 6 callersMethodisNotEmpty
(val: Object)
library/src/main/ets/entity/BaseBridge.ts:81
↓ 4 callersFunctionJavaScriptInterface
(asyncCall: boolean = true)
library/src/main/ets/entity/Entity.ts:59
↓ 4 callersMethodd
(msg: any)
library/src/main/ets/utils/LogUtils.ts:19
↓ 4 callersMethodisEmpty
(val: Object)
library/src/main/ets/entity/BaseBridge.ts:89
↓ 4 callersMethodrunJavaScript
(script: string)
library/src/main/ets/entity/WebViewInterface.ts:10
↓ 3 callersMethodcallJs
(method: string, args?: any[], jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/BaseBridge.ts:240
↓ 3 callersMethodcheckIfDS2
()
library/src/main/ets/entity/BaseBridge.ts:380
↓ 3 callersMethode
(msg: any)
library/src/main/ets/utils/LogUtils.ts:30
↓ 2 callersFunctioncallAsync
(f, ob)
entry/src/main/resources/rawfile/dsBridge.js:70
↓ 2 callersFunctioncallSyn
(f, ob)
entry/src/main/resources/rawfile/dsBridge.js:66
↓ 2 callersMethodparseNamespace
(method: string)
library/src/main/ets/entity/BaseBridge.ts:201
↓ 2 callersMethodsafeParse
(json: string)
library/src/main/ets/entity/BaseBridge.ts:211
↓ 1 callersMethodcallHandler
(method: string, args?: any[], jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/BaseBridge.ts:267
↓ 1 callersMethoddTag
(tag: string, msg: any)
library/src/main/ets/utils/LogUtils.ts:11
↓ 1 callersMethoddestroy
()
library/src/main/ets/entity/BaseBridge.ts:388
↓ 1 callersMethodeTag
(tag: string, msg: any)
library/src/main/ets/utils/LogUtils.ts:23
↓ 1 callersFunctiongetJsBridge
()
entry/src/main/resources/rawfile/dsbridge2.0.js:1
↓ 1 callersMethodisObject
(val: Object)
library/src/main/ets/entity/BaseBridge.ts:77
↓ 1 callersMethodrefresh
()
library/src/main/ets/entity/WebViewInterface.ts:20
↓ 1 callersMethodregisterJavaScriptProxy
* @deprecated * @param object * @param name * @param methodList
library/src/main/ets/entity/WebViewInterface.ts:18
↓ 1 callersMethodshow
(msg: string)
library/src/main/ets/utils/ToastUtils.ts:4
FunctionaddAbilityMonitorCallback
(err: any)
entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts:12
MethodcallHandler
(method: string, args?: Args[], jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/WebViewInterface.ts:44
MethodcallHandlerNoParam
(method: string, jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/WebViewInterface.ts:46
MethodcallHandlerNoParam
(method: string, jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/BaseBridge.ts:271
MethodcallJs
(method: string, args?: Args[], jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/WebViewInterface.ts:36
MethodcallJsNoParam
(method: string, jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/WebViewInterface.ts:38
MethodcallJsNoParam
(method: string, jsReturnValueHandler?: OnReturnValue)
library/src/main/ets/entity/BaseBridge.ts:263
MethodclosePage
(param: any)
library/src/main/ets/entity/BaseBridge.ts:370
Methodcomplete
* 只能使用一次 * @param value
library/src/main/ets/entity/Entity.ts:42
Methodconstructor
()
entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts:17
Methoddestroy
()
library/src/main/ets/entity/WebViewInterface.ts:34
Methoddsinit
(param: string)
library/src/main/ets/entity/BaseBridge.ts:316
Methodhandler
(has: boolean)
library/src/main/ets/entity/BaseBridge.ts:280
MethodhasJavascriptMethod
(method: string)
library/src/main/ets/entity/WebViewInterface.ts:42
MethodhasJavascriptMethod
(method: string)
library/src/main/ets/entity/BaseBridge.ts:275
MethodhasNativeMethod
(param: string)
library/src/main/ets/entity/BaseBridge.ts:321
MethodinjectDS2Js
()
library/src/main/ets/entity/BaseBridge.ts:396
MethodisSupportDS2
()
library/src/main/ets/entity/BaseBridge.ts:41
MethodjavaScriptProxy
()
library/src/main/ets/entity/BaseBridge.ts:54
MethodlogEnable
(enabled: boolean)
library/src/main/ets/utils/LogUtils.ts:7
FunctiononAbilityCreateCallback
()
entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts:8
MethodonPrepare
()
entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts:20
MethodonRun
()
entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts:24
MethodreturnValue
(param: string, value?: string)
library/src/main/ets/entity/BaseBridge.ts:289
MethodsetClosePageListener
(listener: OnCloseWindowListener)
library/src/main/ets/entity/WebViewInterface.ts:40
MethodsetClosePageListener
(listener: OnCloseWindowListener)
library/src/main/ets/entity/BaseBridge.ts:365
MethodsetGlobalErrorMessageListener
(listener: OnErrorMessageListener)
library/src/main/ets/entity/WebViewInterface.ts:48
MethodsetGlobalErrorMessageListener
(listener: OnErrorMessageListener)
library/src/main/ets/entity/BaseBridge.ts:49
MethodsetProgressData
* 可以使用多次 * @param value
library/src/main/ets/entity/Entity.ts:47
MethodsetWebViewControllerProxy
(controller: IWebViewControllerProxy)
library/src/main/ets/entity/BaseBridge.ts:45
MethodsupportDS2
* 是否支持DSBridge2.0脚本 * @param enable true:使用2.0脚本,false: 3.0脚本是默认的
library/src/main/ets/entity/WebViewInterface.ts:32
MethodsupportDS2
(enable: boolean)
library/src/main/ets/entity/BaseBridge.ts:37