Skip to main content

OH_NativeArkWeb_SetJavaScriptProxyValidCallback

Function OH_NativeArkWeb_SetJavaScriptProxyValidCallback 

Source
pub unsafe extern "C" fn OH_NativeArkWeb_SetJavaScriptProxyValidCallback(
    webTag: *const c_char,
    callback: NativeArkWeb_OnValidCallback,
)
Expand description

@brief Registers the valid callback.

@param webTag The name of the web component. @param callback The callback in which we can register object.

@syscap SystemCapability.Web.Webview.Core @since 11