Language

JniRuntime.JniObjectReferenceManager.CreatedLocalReference Method

Definition

Records a local reference that has already been created, without creating another reference.

public virtual void CreatedLocalReference(Java.Interop.JniObjectReference reference, ref int localReferenceCount);
abstract member CreatedLocalReference : Java.Interop.JniObjectReference * int -> unit
override this.CreatedLocalReference : Java.Interop.JniObjectReference * int -> unit

Parameters

reference
JniObjectReference

An existing local reference to include in accounting.

localReferenceCount
Int32

The count to increment 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.

Applies to