Language

JniRuntime.JniValueManager.DisposePeer(IJavaPeerable) Method

Definition

In the base implementation, notifies a peer with a valid JNI reference and removes its mapping. If the reference is still valid after those calls, it disposes the reference.

public virtual void DisposePeer(Java.Interop.IJavaPeerable value);
abstract member DisposePeer : Java.Interop.IJavaPeerable -> unit
override this.DisposePeer : Java.Interop.IJavaPeerable -> unit

Parameters

value
IJavaPeerable

The non-null managed peer to dispose.

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