C Specification

The XrEventDataColocationDiscoveryResultMETA structure is defined as:

// Provided by XR_META_colocation_discovery
typedef struct XrEventDataColocationDiscoveryResultMETA {
    XrStructureType       type;
    const void*           next;
    XrAsyncRequestIdFB    discoveryRequestId;
    XrUuid                advertisementUuid;
    uint32_t              bufferSize;
    uint8_t               buffer[XR_MAX_COLOCATION_DISCOVERY_BUFFER_SIZE_META];
} XrEventDataColocationDiscoveryResultMETA;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR.

  • discoveryRequestId is an XrAsyncRequestIdFB specifying the original start discovery async request id. The runtime must return a value which matches a previously returned discoveryRequestId value from an xrStartColocationDiscoveryMETA request.

  • advertisementUuid is an XrUuid of the discovered colocated application.

  • bufferSize is the count of bytes used in the buffer array.

  • buffer is a byte array which is the application may set when the application starts the advertisement.

Description

advertisementUuid and buffer are both considered the payload of colocated advertisements. The value of advertisementUuid matches the value returned in XrEventDataStartColocationAdvertisementCompleteMETA::advertisementUuid on the advertising device.

Valid Usage (Implicit)

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.