AbstractSelectableChannel.KeyFor(Selector) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The selector.
Returns
The key returned when this channel was last registered with sel, or null if this channel is not currently registered with that selector.
- 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.