Sdílet prostřednictvím


AbstractSelectableChannel.KeyFor(Selector) Method

Definition

Gets this channel's selection key for the specified selector.

[Android.Runtime.Register("keyFor", "(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;", "")]
public override sealed Java.Nio.Channels.SelectionKey? KeyFor (Java.Nio.Channels.Selector? sel);
[<Android.Runtime.Register("keyFor", "(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;", "")>]
override this.KeyFor : Java.Nio.Channels.Selector -> Java.Nio.Channels.SelectionKey

Parameters

sel
Selector

Returns

Attributes

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