Documentation

Unity Engine

Unity Engine

GetStaticMethodID(nint, string, string)

Returns the method ID for a static method of a class.
Read time 1 minuteLast updated a month ago

Definition

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

GetStaticMethodID(IntPtr, string, string)

public static nint GetStaticMethodID(nint clazz, string name, string sig)

Parameters

clazz

The Java class to scan.

name

The name of the method, as declared in Java.

The JNI method signature.

Returns

Type

Description

IntPtrThe method ID, or zero if the method couldn't be found.

Remarks