MessageQueue.FileDescriptorEventHandler Delegate

Definition

Handles events received by a file descriptor.

public delegate int MessageQueue.FileDescriptorEventHandler(FileDescriptor fd, MessageQueueEventType events);
type MessageQueue.FileDescriptorEventHandler = delegate of FileDescriptor * MessageQueueEventType -> int

Parameters

fd
FileDescriptor

The file descriptor that received events.

events
MessageQueueEventType

The set of input, output, or error events that occurred.

Return Value

The new set of events to watch, or zero to unregister the listener.

Remarks

Return a combination of input, output, and error event masks to continue watching those events, or zero to unregister the listener.

Java documentation for android.os.MessageQueue.OnFileDescriptorEventListener.onFileDescriptorEvents(java.io.FileDescriptor, int).

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