SelectorProvider.OpenSelector Method

Definition

Opens a selector.

[Android.Runtime.Register("openSelector", "()Ljava/nio/channels/spi/AbstractSelector;", "GetOpenSelectorHandler")]
public abstract Java.Nio.Channels.Spi.AbstractSelector? OpenSelector ();
[<Android.Runtime.Register("openSelector", "()Ljava/nio/channels/spi/AbstractSelector;", "GetOpenSelectorHandler")>]
abstract member OpenSelector : unit -> Java.Nio.Channels.Spi.AbstractSelector

Returns

The new selector

Attributes

Exceptions

if an I/O error occurs.

Remarks

Opens a selector.

Java documentation for java.nio.channels.spi.SelectorProvider.openSelector().

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