EnsureLocalCapacity(int)
Ensures that at least a given number of local references can be created in the current thread.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
public static int EnsureLocalCapacity(int capacity)
Parameters
The minimum number of local references the current thread can hold.
Returns
Type | Description |
|---|---|
| int | Zero on success. A negative value on failure. |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)