1# arkweb_interface.h
2
3
4## Overview
5
6Declares ArkWeb APIs for obtaining native APIs and the basic native API types.
7
8**Library**: libohweb.so
9
10**File to include**: <web/arkweb_interface.h>
11
12**System capability**: SystemCapability.Web.Webview.Core
13
14**Since**: 12
15
16**Related module**: [Web](_web.md)
17
18
19## Summary
20
21
22### Structs
23
24| Name| Description|
25| -------- | -------- |
26| struct&nbsp;&nbsp;[ArkWeb_AnyNativeAPI](_ark_web___any_native_a_p_i.md) | Defines the basic native API types. |
27
28
29### Enums
30
31| Name| Description|
32| -------- | -------- |
33| [ArkWeb_NativeAPIVariantKind](_web.md#arkweb_nativeapivariantkind) {<br/>[ARKWEB_NATIVE_COMPONENT](_web.md), [ARKWEB_NATIVE_CONTROLLER](_web.md), [ARKWEB_NATIVE_WEB_MESSAGE_PORT](_web.md), [ARKWEB_NATIVE_WEB_MESSAGE](_web.md),<br/>[ARKWEB_NATIVE_COOKIE_MANAGER](_web.md)<br/>} | Enumerates the native API types. |
34
35
36### Functions
37
38| Name| Description|
39| -------- | -------- |
40| [ArkWeb_AnyNativeAPI](_ark_web___any_native_a_p_i.md) \* [OH_ArkWeb_GetNativeAPI](_web.md#oh_arkweb_getnativeapi) ([ArkWeb_NativeAPIVariantKind](_web.md#arkweb_nativeapivariantkind) type) | Obtains the native API struct corresponding to the API type passed in. |
41