SelectionKey.Channel 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.
Returns the channel for which this key was created.
[Android.Runtime.Register("channel", "()Ljava/nio/channels/SelectableChannel;", "GetChannelHandler")]
public abstract Java.Nio.Channels.SelectableChannel? Channel ();
[<Android.Runtime.Register("channel", "()Ljava/nio/channels/SelectableChannel;", "GetChannelHandler")>]
abstract member Channel : unit -> Java.Nio.Channels.SelectableChannel
Returns
This key's channel
- Attributes
Remarks
Returns the channel for which this key was created. This method will continue to return the channel even after the key is cancelled.
Java documentation for java.nio.channels.SelectionKey.channel()
.
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.