Language

JavaObject.IJavaPeerable.SetPeerReference(JniObjectReference) Method

Definition

Updates the peer reference and releases a disposed peer's control block when the reference is invalid.

void IJavaPeerable.SetPeerReference(Java.Interop.JniObjectReference reference);
abstract member Java.Interop.IJavaPeerable.SetPeerReference : Java.Interop.JniObjectReference -> unit
override this.Java.Interop.IJavaPeerable.SetPeerReference : Java.Interop.JniObjectReference -> unit

Parameters

reference
JniObjectReference

The reference value to store without creating another JNI reference.

Implements

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