Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CallStaticObjectMethodUnsafe(nint, nint, jvalue*)

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 5 days ago

Definition

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

CallStaticObjectMethodUnsafe(IntPtr, IntPtr, jvalue*)

public static nint CallStaticObjectMethodUnsafe(nint clazz, nint methodID, jvalue* args)

Parameters

clazz


methodID


args

jvalue*

Returns

Type

Description

IntPtr

Remarks

This method returns a reference to a \<tt\>java.lang.Object\</tt\>, or a subclass thereof.