Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CallStaticBooleanMethod

Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
Read time 1 minuteLast updated 8 hours ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

CallStaticBooleanMethod(IntPtr, IntPtr, jvalue[])

Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
public static bool CallStaticBooleanMethod(nint clazz, nint methodID, jvalue[] args)

Parameters

clazz


methodID


args

jvalue[]

Returns

Type

Description

bool

Remarks

CallStaticBooleanMethod(IntPtr, IntPtr, Span<jvalue>)

Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
public static bool CallStaticBooleanMethod(nint clazz, nint methodID, Span<jvalue> args)

Parameters

clazz


methodID


Returns

Type

Description

bool

Remarks