C Specification
The xrSetGoogleCloudAuthAsyncANDROID function is defined as:
// Provided by XR_ANDROID_google_cloud_auth
XrResult xrSetGoogleCloudAuthAsyncANDROID(
XrSession session,
const XrGoogleCloudAuthInfoBaseHeaderANDROID* authInfo,
XrFutureEXT* future);
Parameters
Description
Set the credentials used to authenticate with Google Cloud. This operation is asynchronous. Call xrPollFutureEXT to check the ready state on the future. Once the future is in the ready state, call xrSetGoogleCloudAuthCompleteANDROID to retrieve the result.
The authInfo parameter must be a pointer to a struct whose
XrGoogleCloudAuthInfoBaseHeaderANDROID::type member identifies
the authentication method to be used, and which extends
XrGoogleCloudAuthInfoBaseHeaderANDROID (e.g.
XrGoogleCloudAuthInfoApiKeyANDROID).
The specific requirements, behaviors, and error conditions (both synchronous and asynchronous) for each authentication method are described in the documentation for their respective data structs.
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
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.