XrDeviceTestRule


class XrDeviceTestRule : ExternalResource


JUnit Rule containing properties that affect the results of XrDevice capability APIs.

Summary

Public constructors

Protected functions

open Unit
open Unit

Inherited functions

From org.junit.rules.TestRule
open Statement
apply(base: Statement, description: Description)

Public constructors

XrDeviceTestRule

Added in 1.0.0-alpha14
XrDeviceTestRule()

Protected functions

after

protected open fun after(): Unit

before

Added in 1.0.0-alpha14
protected open fun before(): Unit

Public properties

preferredDisplayBlendMode

Added in 1.0.0-alpha14
var preferredDisplayBlendModeDisplayBlendMode

The result of XrDevice.getPreferredDisplayBlendMode.

Tests can set this property to control the value returned by XrDevice.getPreferredDisplayBlendMode during the test execution.

supportedDepthEstimationModes

Added in 1.0.0-alpha14
var supportedDepthEstimationModesSet<DepthEstimationMode>

The set of DepthEstimationMode instances supported by the XrDevice.

Tests can modify this set to control the value returned by XrDevice.isDepthEstimationModeSupported during the test execution.

supportedEyeTrackingModes

Added in 1.0.0-alpha14
var supportedEyeTrackingModesSet<EyeTrackingMode>

The set of EyeTrackingMode instances supported by the XrDevice.

Tests can modify this set to control the value returned by XrDevice.isEyeTrackingModeSupported during the test execution.

supportedGeospatialModes

Added in 1.0.0-alpha14
var supportedGeospatialModesSet<GeospatialMode>

The set of GeospatialMode instances supported by the XrDevice.

Tests can modify this set to control the value returned by XrDevice.isGeospatialModeSupported during the test execution.

supportedHandTrackingModes

Added in 1.0.0-alpha14
var supportedHandTrackingModesSet<HandTrackingMode>

The set of HandTrackingMode instances supported by the XrDevice.

Tests can modify this set to control the value returned by XrDevice.isHandTrackingModeSupported during the test execution.

supportedRenderingModes

Added in 1.0.0-alpha14
var supportedRenderingModesSet<RenderingMode>

The set of RenderingMode instances supported by the XrDevice.

Tests can modify this set to control the value returned by XrDevice.isRenderingModeSupported during the test execution.