ThrowNew(nint, string)
Constructs an exception object from the specified class with the \<tt\>message\</tt\> specified by message and causes that exception to be thrown.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
ThrowNew(IntPtr, string)
public static int ThrowNew(nint clazz, string message)
Parameters
Returns
Type | Description |
|---|---|
| int |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)