Language

MembershipKey Constructors

Definition

Overloads

Name Description
MembershipKey()

Initializes a new instance of this class.

MembershipKey(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

MembershipKey()

Initializes a new instance of this class.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)]
protected MembershipKey();
Attributes

Remarks

Initializes a new instance of this class.

Java documentation for java.nio.channels.MembershipKey.MembershipKey().

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

MembershipKey(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected MembershipKey(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.Channels.MembershipKey : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Channels.MembershipKey

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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