PopLocalFrame(nint)
Pops off the current local reference frame, frees all the local references, and returns a local reference in the previous local reference frame for the given \<tt\>result\</tt\> object.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
PopLocalFrame(IntPtr)
public static nint PopLocalFrame(nint ptr)
Parameters
The result object to return a local reference to, in the previous local reference frame.
Returns
Type | Description |
|---|---|
| IntPtr | A local reference to the given result object, valid in the previous local reference frame. |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)