C Specification

// Provided by XR_ANDROID_spatial_object_tracking
typedef enum XrSpatialObjectSemanticLabelANDROID {
    XR_SPATIAL_OBJECT_SEMANTIC_LABEL_UNCATEGORIZED_ANDROID = 0,
    XR_SPATIAL_OBJECT_SEMANTIC_LABEL_KEYBOARD_ANDROID = 1,
    XR_SPATIAL_OBJECT_SEMANTIC_LABEL_MOUSE_ANDROID = 2,
    XR_SPATIAL_OBJECT_SEMANTIC_LABEL_LAPTOP_BASE_ANDROID = 3,
    XR_SPATIAL_OBJECT_SEMANTIC_LABEL_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrSpatialObjectSemanticLabelANDROID;

Description

The XrSpatialObjectSemanticLabelANDROID enumeration describes a set of semantic labels for a object.

Enum Description

XR_SPATIAL_OBJECT_SEMANTIC_LABEL_UNCATEGORIZED_ANDROID

The runtime was unable to classify this entity.

XR_SPATIAL_OBJECT_SEMANTIC_LABEL_KEYBOARD_ANDROID

The entity is a keyboard.

XR_SPATIAL_OBJECT_SEMANTIC_LABEL_MOUSE_ANDROID

The entity is a mouse.

XR_SPATIAL_OBJECT_SEMANTIC_LABEL_LAPTOP_BASE_ANDROID

The entity is a laptop.

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.