C Specification

The XrEyeTrackingModeANDROID enumeration identifies the different state of tracked eyes.

// Provided by XR_ANDROID_eye_tracking
typedef enum XrEyeTrackingModeANDROID {
    XR_EYE_TRACKING_MODE_NOT_TRACKING_ANDROID = 0,
    XR_EYE_TRACKING_MODE_RIGHT_ANDROID = 1,
    XR_EYE_TRACKING_MODE_LEFT_ANDROID = 2,
    XR_EYE_TRACKING_MODE_BOTH_ANDROID = 3,
    XR_EYE_TRACKING_MODE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrEyeTrackingModeANDROID;

Description

The enums have the following meanings:

Enum Description

XR_EYE_TRACKING_MODE_NOT_TRACKING_ANDROID

Indicates that eye tracking is not currently active.

XR_EYE_TRACKING_MODE_RIGHT_ANDROID

Indicates that only the right eye is tracking.

XR_EYE_TRACKING_MODE_LEFT_ANDROID

Indicates that only the left eye is tracking.

XR_EYE_TRACKING_MODE_BOTH_ANDROID

Indicates that both the left and right eyes are tracking.

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.