pub unsafe extern "C" fn OH_NativeArkWeb_RegisterJavaScriptProxy(
webTag: *const c_char,
objName: *const c_char,
methodList: *mut *const c_char,
callback: *mut NativeArkWeb_OnJavaScriptProxyCallback,
size: i32,
needRefresh: bool,
)Expand description
@brief Registers the JavaScript object and method list.
@param webTag The name of the web component. @param objName The name of the registered object. @param methodList The method of the application side JavaScript object participating in the registration. @param callback The callback function registered by developer is called back when HTML side uses. @param size The size of the callback. @param needRefresh if web need refresh.
@syscap SystemCapability.Web.Webview.Core @since 11