Skip to main content

OH_ArkWeb_ClearSchemeHandlers

Function OH_ArkWeb_ClearSchemeHandlers 

Source
pub unsafe extern "C" fn OH_ArkWeb_ClearSchemeHandlers(
    webTag: *const c_char,
) -> i32
Available on crate features api-11 and api-12 only.
Expand description

Clear the handler registered on the specified web.

§Arguments

  • webTag - The name of the web component.

§Returns

  • [ARKWEB_NET_OK] 0 - Success. [ARKWEB_INVALID_PARAM] 17100101 - Invalid param.

Required System Capabilities: SystemCapability.Web.Webview.Core

Available since API-level: 12