MessageQueue.IOnFileDescriptorEventListener.OnFileDescriptorEvents 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.
Called when a file descriptor receives events.
[Android.Runtime.Register("onFileDescriptorEvents", "(Ljava/io/FileDescriptor;I)I", "GetOnFileDescriptorEvents_Ljava_io_FileDescriptor_IHandler:Android.OS.MessageQueue/IOnFileDescriptorEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public int OnFileDescriptorEvents (Java.IO.FileDescriptor fd, Android.OS.MessageQueueEventType events);
[<Android.Runtime.Register("onFileDescriptorEvents", "(Ljava/io/FileDescriptor;I)I", "GetOnFileDescriptorEvents_Ljava_io_FileDescriptor_IHandler:Android.OS.MessageQueue/IOnFileDescriptorEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnFileDescriptorEvents : Java.IO.FileDescriptor * Android.OS.MessageQueueEventType -> int
Parameters
The file descriptor.
- events
- MessageQueueEventType
The set of events that occurred: a combination of the
#EVENT_INPUT
, #EVENT_OUTPUT
, and #EVENT_ERROR
event masks.
Returns
The new set of events to watch, or 0 to unregister the listener.
- Attributes
Remarks
Called when a file descriptor receives events.
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.