Language

JniRuntime.JniValueManager.DisposePeerUnlessReferenced(IJavaPeerable) Method

Definition

Releases the peer reference unless the mapping still points to this managed 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