harmony 鸿蒙ArkWeb_ProxyMethodWithResult

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

ArkWeb_ProxyMethodWithResult

Overview

Defines a proxy method.

Since: 14

Related module: Web

Summary

Member Variables

Name Description
const char * methodName Pointer to the method name to be injected.
ArkWeb_OnJavaScriptProxyCallbackWithResult 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_OnJavaScriptProxyCallbackWithResult ArkWeb_ProxyMethodWithResult::callback

Description

Callback used when a proxy method is invoked.

methodName

const char* ArkWeb_ProxyMethodWithResult::methodName

Description

Pointer to the method name to be injected.

userData

void* ArkWeb_ProxyMethodWithResult::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_ProxyMethod

harmony 鸿蒙ArkWeb_ProxyObject

0  赞