XRGoogleCloudAuthResult
The authentication result from Google Cloud APIs.
Summary
Inheritance
Inherits from:IEquatable< XRGoogleCloudAuthResult >
Constructors and Destructors |
|
|---|---|
XRGoogleCloudAuthResult(OpenXRResultStatus status, XRGoogleCloudAuthError error)
Constructs auth result with OpenXRResultStatus and XRGoogleCloudAuthError.
|
|
XRGoogleCloudAuthResult(OpenXRResultStatus status)
Constructs auth result with OpenXRResultStatus.
|
|
XRGoogleCloudAuthResult(XRGoogleCloudAuthError error)
Constructs auth result with XRGoogleCloudAuthError.
|
Public attributes |
|
|---|---|
CloudAuthError
|
The cause of authentication error when invoking a Google Cloud API.
|
Status
|
OpenXRResultStatus
Represents the status of a completed OpenXR operation.
|
Public functions |
|
|---|---|
Equals(object obj)
|
override bool
|
Equals(XRGoogleCloudAuthResult other)
|
bool
|
GetHashCode()
|
override int
|
ToString()
|
override string
|
Public attributes
CloudAuthError
XRGoogleCloudAuthError Google::XR::Extensions::XRGoogleCloudAuthResult::CloudAuthError
The cause of authentication error when invoking a Google Cloud API.
Status
OpenXRResultStatusGoogle::XR::Extensions::XRGoogleCloudAuthResult::Status
Represents the status of a completed OpenXR operation.
Use OpenXRResultStatus.IsSuccess() to confirm if succeed. Otherwise, check OpenXRResultStatus.nativeStatusCode or CloudAuthError for more details.
Public functions
Equals
overrideboolGoogle::XR::Extensions::XRGoogleCloudAuthResult::Equals( objectobj )
Equals
boolGoogle::XR::Extensions::XRGoogleCloudAuthResult::Equals( XRGoogleCloudAuthResult other )
GetHashCode
overrideintGoogle::XR::Extensions::XRGoogleCloudAuthResult::GetHashCode()
ToString
overridestringGoogle::XR::Extensions::XRGoogleCloudAuthResult::ToString()
XRGoogleCloudAuthResult
Google::XR::Extensions::XRGoogleCloudAuthResult::XRGoogleCloudAuthResult( OpenXRResultStatusstatus, XRGoogleCloudAuthError error )
Constructs auth result with OpenXRResultStatus and XRGoogleCloudAuthError.
| Details | |
|---|---|
| Parameters |
status
The OpenXRResultStatus returned from relevant OpenXR APIs.
error
The XRGoogleCloudAuthError chained to the output.
|
XRGoogleCloudAuthResult
Google::XR::Extensions::XRGoogleCloudAuthResult::XRGoogleCloudAuthResult( OpenXRResultStatusstatus )
Constructs auth result with OpenXRResultStatus.
The OpenXR calls failed before accessing Google Cloud services, thus CloudAuthError defaults to XRGoogleCloudAuthError.None.
| Details | |
|---|---|
| Parameters |
status
The OpenXRResultStatus returned from relevant OpenXR APIs.
|
XRGoogleCloudAuthResult
Google::XR::Extensions::XRGoogleCloudAuthResult::XRGoogleCloudAuthResult( XRGoogleCloudAuthError error )
Constructs auth result with XRGoogleCloudAuthError.
The authentication setup failed, and the Status can be ignored.
| Details | |
|---|---|
| Parameters |
error
A XRGoogleCloudAuthError from dependent features.
|