CallStaticStringMethodUnsafe(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 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
CallStaticStringMethodUnsafe(IntPtr, IntPtr, jvalue*)
public static string CallStaticStringMethodUnsafe(nint clazz, nint methodID, jvalue* args)
Parameters
Returns
Type | Description |
|---|---|
| string |
Remarks
This is a convenience function that calls CallStaticObjectMethod() with the same parameters, but creates a managed string from the result.
Additional Resources: AndroidJNI.CallStaticObjectMethodUnsafe