From 8fad1c3276a7300e13306528f73aefafe8462fe0 Mon Sep 17 00:00:00 2001 From: j00466033 Date: Fri, 27 Dec 2024 20:01:22 +0800 Subject: [PATCH] javascript head ready Signed-off-by: j00466033 Change-Id: Ib4970d1e1f73a372e3048d51310e1efc6dc10384 --- ohos_nweb/src/capi/arkweb_type.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ohos_nweb/src/capi/arkweb_type.h b/ohos_nweb/src/capi/arkweb_type.h index 2a648a1df2..f8296028da 100644 --- a/ohos_nweb/src/capi/arkweb_type.h +++ b/ohos_nweb/src/capi/arkweb_type.h @@ -71,7 +71,7 @@ typedef enum ArkWeb_WebMessageType { /** * @brief Defines the data type carried in a ArkWeb_JavaScriptValue. * - * @since 14 + * @since 16 */ typedef enum ArkWeb_JavaScriptValueType { /** Represent error data */ @@ -92,7 +92,7 @@ typedef struct ArkWeb_WebMessage* ArkWeb_WebMessagePtr; /** * @brief Defines the ArkWeb_JavaScriptValuePtr. * - * @since 14 + * @since 16 */ typedef struct ArkWeb_JavaScriptValue* ArkWeb_JavaScriptValuePtr; @@ -120,7 +120,7 @@ typedef void (*ArkWeb_OnJavaScriptProxyCallback)( * @param arraySize The number of elements in the array. * @param userData The data set by user. * - * @since 14 + * @since 16 */ typedef ArkWeb_JavaScriptValuePtr (*ArkWeb_OnJavaScriptProxyCallbackWithResult)( const char* webTag, const ArkWeb_JavaScriptBridgeData* dataArray, size_t arraySize, void* userData); @@ -185,7 +185,7 @@ typedef struct { /** * @brief Defines the JavaScript proxy method with a return value. * - * @since 14 + * @since 16 */ typedef struct { /** The method of the application side JavaScript object participating in the registration. */ @@ -213,7 +213,7 @@ typedef struct { /** * @brief Defines the JavaScript proxy registered object with methodList that has a return value. * - * @since 14 + * @since 16 */ typedef struct { /** The name of the registered object. */ @@ -294,7 +294,7 @@ typedef struct { * @param permission The JSON string, which defaults to null, is used to configure the permission control for * JSBridge, allowing for the definition of URL whitelists at the object and method levels. * - * @since 14 + * @since 16 */ void (*registerJavaScriptProxyEx)(const char* webTag, const ArkWeb_ProxyObjectWithResult* proxyObject, const char* permission); @@ -307,7 +307,7 @@ typedef struct { * @param permission The JSON string, which defaults to null, is used to configure the permission control * for JSBridge, allowing for the definition of URL whitelists at the object and method levels. * - * @since 14 + * @since 16 */ void (*registerAsyncJavaScriptProxyEx)(const char* webTag, const ArkWeb_ProxyObject* proxyObject, const char* permission); @@ -502,7 +502,7 @@ typedef struct { * whether the function structure has a corresponding function pointer to avoid crash * caused by mismatch between the SDK and the device ROM. * - * @since 14 + * @since 16 */ typedef struct { /** The ArkWeb_JavaScriptValueAPI struct size. */ -- Gitee