JniRuntime.JniObjectReferenceManager.DeleteLocalReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a local JNI reference, clears its value, and updates the supplied count.
public virtual void DeleteLocalReference(ref Java.Interop.JniObjectReference reference, ref int localReferenceCount);
abstract member DeleteLocalReference : JniObjectReference * int -> unit
override this.DeleteLocalReference : JniObjectReference * int -> unit
Parameters
- reference
- JniObjectReference
The local reference to delete and invalidate. A zero handle requires no action.
- localReferenceCount
- Int32
The count to decrement when reference has a nonzero handle.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.