harmony 鸿蒙ArkWeb_ProxyMethod

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

ArkWeb_ProxyMethod

Overview

Defines a proxy method.

Since: 12

Related module: Web

Summary

Member Variables

Name Description
const char * methodName Pointer to the method name to be injected.
ArkWeb_OnJavaScriptProxyCallback callback Callback used when a proxy method is invoked.
void * userData Pointer to the user data used in a callback.

Member Variable Description

callback

ArkWeb_OnJavaScriptProxyCallback ArkWeb_ProxyMethod::callback

Description

Callback used when a proxy method is invoked.

methodName

const char* ArkWeb_ProxyMethod::methodName

Description

Pointer to the method name to be injected.

userData

void* ArkWeb_ProxyMethod::userData

Description

Pointer to the user data used in a callback.

你可能感兴趣的鸿蒙文章

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_ProxyMethodWithResult

harmony 鸿蒙ArkWeb_ProxyObject

0  赞