Skip to main content

Native Invokes JS Function (NativeCallJS)

AndroidiOSWindows
If you are using Unreal Engine, see Unreal Engine SDK's NativeCallJS.

Interface for Interaction between Native and Webpage JS.

Function Definition

public static void CallJS(string jsonJsParam);

Parameter Instructions

ParametersTypeExplanation
jsonJsParamstringJavaScript to be Executed

Code Sample

INTLAPI.CallJS("alert(navigator.userAgent);");