MessageQueueEventType Enum

Definition

Defines message queue event type values used by the Android OS API.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum MessageQueueEventType
[<System.Flags>]
type MessageQueueEventType = 
Inheritance
MessageQueueEventType
Attributes

Fields

Name Value Description
Input 1

File descriptor event: Indicates that the file descriptor is ready for input operations, such as reading.

Output 2

File descriptor event: Indicates that the file descriptor is ready for output operations, such as writing.

Error 4

File descriptor event: Indicates that the file descriptor encountered a fatal error. File descriptor errors can occur for various reasons. One common error is when the remote peer of a socket or pipe closes its end of the connection. This event may be generated at any time regardless of whether the EVENT_ERROR event mask was specified when the listener was added.

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.

Java documentation for android.os.MessageQueue.OnFileDescriptorEventListener.

Applies to