Skip to main content

OH_ArkWeb_GetNativeAPI

Function OH_ArkWeb_GetNativeAPI 

Source
pub unsafe extern "C" fn OH_ArkWeb_GetNativeAPI(
    type_: ArkWeb_NativeAPIVariantKind,
) -> *mut ArkWeb_AnyNativeAPI
Available on crate features api-11 and api-12 only.
Expand description

Obtains the native API set of a specified type.

§Arguments

  • type - Indicates the type of the native API set provided by ArkWeb.

§Returns

  • Return the pointer to the native API abstract object that carries the size. If the type is incorrect, a null pointer is returned.

Required System Capabilities: SystemCapability.Web.Webview.Core

Available since API-level: 12