# CallStaticCharMethodUnsafe(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\>).

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AndroidJNIModule

## CallStaticCharMethodUnsafe(IntPtr, IntPtr, jvalue\*)

```csharp
public static char CallStaticCharMethodUnsafe(nint clazz, nint methodID, jvalue* args)
```

### Parameters

**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)): The Java class on which to call the static method.**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)): The ID of the method to call.**** (jvalue\*): An array of arguments to pass to the method.

### Returns

| Type                                                       | Description                            |
| ---------------------------------------------------------- | -------------------------------------- |
| [char](https://learn.microsoft.com/dotnet/api/system.char) | The value returned by the Java method. |

### Remarks

Additional Resources: [Java Native Interface Specification (Oracle)](http://download.oracle.com/javase/1.5.0/docs/guide/jni/spec/jniTOC.html)
