C Specification

The XrEyeStateANDROID enumeration identifies the different state of tracked eyes.

// Provided by XR_ANDROID_eye_tracking
typedef enum XrEyeStateANDROID {
    XR_EYE_STATE_INVALID_ANDROID = 0,
    XR_EYE_STATE_GAZING_ANDROID = 1,
    XR_EYE_STATE_SHUT_ANDROID = 2,
    XR_EYE_STATE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrEyeStateANDROID;

Description

The enums have the following meanings:

Enum Description

XR_EYE_STATE_INVALID_ANDROID

Indicates that the eye is in an error state or not present.

XR_EYE_STATE_GAZING_ANDROID

Indicates that the eye is currently gazing.

XR_EYE_STATE_SHUT_ANDROID

Indicates that the eye is currently shut due to a wink or a blink.

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2026 The Khronos Group Inc.