harmony 鸿蒙arkweb_error_code.h

  • 2025-06-12
  • 浏览 (5)

arkweb_error_code.h

Overview

Declares the error code of the ArkWeb NDK APIs.

Library: libohweb.so

File to include:

System capability: SystemCapability.Web.Webview.Core

Since: 12

Related module: Web

Summary

Types

Name Description
typedef enum ArkWeb_ErrorCode ArkWeb_ErrorCode Defines an enum for the error codes of ArkWeb NDK APIs.

Enums

Name Description
ArkWeb_ErrorCode {
ARKWEB_SUCCESS = 0, ARKWEB_INIT_ERROR = 17100001, ARKWEB_ERROR_UNKNOWN = 17100100, ARKWEB_INVALID_PARAM = 17100101,
ARKWEB_SCHEME_REGISTER_FAILED = 17100102, ARKWEB_INVALID_URL = 17100103, ARKWEB_INVALID_COOKIE_VALUE = 17100104
}
Enumerates the error codes of ArkWeb NDK APIs.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkWeb API Reference

harmony 鸿蒙ArkWeb_AnyNativeAPI

harmony 鸿蒙ArkWeb_ComponentAPI

harmony 鸿蒙ArkWeb_ControllerAPI

harmony 鸿蒙ArkWeb_CookieManagerAPI

harmony 鸿蒙ArkWeb_JavaScriptBridgeData

harmony 鸿蒙ArkWeb_JavaScriptObject

harmony 鸿蒙ArkWeb_JavaScriptValueAPI

harmony 鸿蒙ArkWeb_ProxyMethod

harmony 鸿蒙ArkWeb_ProxyMethodWithResult

0  赞