IJavaPeerable.UnregisterFromRuntime Method

Definition

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

public void UnregisterFromRuntime();
abstract member UnregisterFromRuntime : unit -> unit

Remarks

Call this method when you would like to prevent this instance from being returned by future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

<block subset="none" type="overrides">

The proscribed implementation template is:

[JniTypeSignature ("my/Example")]
partial class ExampleBinding : IJavaPeerable {

	public void UnregisterFromRuntime ()
	{
        JniEnvironment.Runtime.ValueManager.UnRegisterObject (this);
	}
}

</block>

Applies to