Share via


SelectableChannel.ValidOps Method

Definition

Returns an operation set identifying this channel's supported operations.

[Android.Runtime.Register("validOps", "()I", "GetValidOpsHandler")]
public abstract Java.Nio.Channels.Operations ValidOps ();
[<Android.Runtime.Register("validOps", "()I", "GetValidOpsHandler")>]
abstract member ValidOps : unit -> Java.Nio.Channels.Operations

Returns

The valid-operation set

Attributes

Remarks

Returns an operation set identifying this channel's supported operations. The bits that are set in this integer value denote exactly the operations that are valid for this channel. This method always returns the same value for a given concrete channel class.

Java documentation for java.nio.channels.SelectableChannel.validOps().

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