Language

AsynchronousChannelGroup Constructors

Definition

Overloads

Name Description
AsynchronousChannelGroup(AsynchronousChannelProvider)

Initialize a new instance of this class.

AsynchronousChannelGroup(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

AsynchronousChannelGroup(AsynchronousChannelProvider)

Initialize a new instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)]
protected AsynchronousChannelGroup(Java.Nio.Channels.Spi.AsynchronousChannelProvider? provider);
[<Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)>]
new Java.Nio.Channels.AsynchronousChannelGroup : Java.Nio.Channels.Spi.AsynchronousChannelProvider -> Java.Nio.Channels.AsynchronousChannelGroup

Parameters

provider
AsynchronousChannelProvider

The asynchronous channel provider for this group

Attributes

Remarks

Initialize a new instance of this class.

Java documentation for java.nio.channels.AsynchronousChannelGroup.AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider).

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

AsynchronousChannelGroup(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

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