Language

JniRuntime.JniValueManager.DisposePeerUnlessReferenced(IJavaPeerable) Method

Definition

In the base implementation, starts disposal when the peer has a valid reference and is not mapped to the same instance.

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

Parameters

value
IJavaPeerable

The non-null managed peer whose mapping is inspected.

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