C Specification

The XrSenseDataProviderStateBD enumeration identifies the various states of the sense data provider.

// Provided by XR_BD_spatial_sensing
typedef enum XrSenseDataProviderStateBD {
    XR_SENSE_DATA_PROVIDER_STATE_INITIALIZED_BD = 0,
    XR_SENSE_DATA_PROVIDER_STATE_RUNNING_BD = 1,
    XR_SENSE_DATA_PROVIDER_STATE_STOPPED_BD = 2,
    XR_SENSE_DATA_PROVIDER_STATE_MAX_ENUM_BD = 0x7FFFFFFF
} XrSenseDataProviderStateBD;

Description

Enum Description

XR_SENSE_DATA_PROVIDER_STATE_INITIALIZED_BD

The state after the provider is successfully created, which means the provider is ready to start.

XR_SENSE_DATA_PROVIDER_STATE_RUNNING_BD

The state when the provider is running normally.

XR_SENSE_DATA_PROVIDER_STATE_STOPPED_BD

The state after the provider is successfully stopped, or when an unexpected error occurs.

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-2025 The Khronos Group Inc.