JniRuntime.JniValueManager.DisposePeerUnlessReferenced(IJavaPeerable) 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.
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.