GetStringLength(IntPtr)
Returns the length (the count of Unicode characters) of a Java string.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static int GetStringLength(IntPtr str)
Parameters
Returns
Type | Description |
|---|---|
| int |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)