The Android XR SDK has reached Developer Preview 4, and we want your feedback! Try things out, and visit our support page to reach out.
SampleDebugUtils
Utilities to debug Android XR samples.
Summary
Public static functions |
|
|---|---|
CheckFeatureAvailability(OpenXRFeature feature, bool? isExtensionEnabled, StringBuilder stringBuilder)
|
bool
Check whether the given feature is available to use based on its extension status.
|
CheckSubsystemReady(Type targetType, SubsystemWithProvider subsystem, StringBuilder stringBuilder)
|
bool
Check if the given subsystem is running.
|
Public static functions
CheckFeatureAvailability
boolCheckFeatureAvailability( OpenXRFeaturefeature, bool?isExtensionEnabled, StringBuilderstringBuilder )
Check whether the given feature is available to use based on its extension status.
| Details | |
|---|---|
| Parameters |
feature
The OpenXRFeature instance.
isExtensionEnabled
The nullable property that represents extensions status at runtime.
stringBuilder
The optional string builder to append debug information.
|
| Returns |
True if the feature is ready to use.
|
CheckSubsystemReady
boolCheckSubsystemReady( TypetargetType, SubsystemWithProvidersubsystem, StringBuilderstringBuilder )
Check if the given subsystem is running.
| Details | |
|---|---|
| Parameters |
targetType
The target type of a SubsystemWithProvider.
subsystem
The nullable SubsystemLifecycleManager.subsystem property.
stringBuilder
The optional string builder to append debug information.
|
| Returns |
True if the subsystem is ready to use.
|