DVXR class abstract final

Where DV.Window gets its XR runtime.

Nothing is installed by default, and that is the honest default: until a target registers xr.capability.query and reports a headset, capability.spatial is null and every volume or immersive request presents as a page and says so.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

capability → DVSpatialCapability?
DV.Window.capability.spatial.
no setter
lastBindingFailure → String?
The binding that last failed in refresh, for a doctor to name.
no setter
runtime → DVXRRuntime
The runtime, created on first use from what was installed.
no setter

Static Methods

clear() → void
Forgets everything installed without waiting for sessions to close. DVWindowManager.reset calls this.
install({required DVSpatialCapability? capability, DVXRDevice? device, DVCapturePermissions? permissions, DVSpatialConsent? consent, DVSpatialAnchorStore? anchorStore, double? targetFps}) → void
Installs what this target can do in space and the device behind it.
refresh({DVSpatialConvention convention = DVSpatialConvention.openXR}) → Future<DVSpatialCapability?>
Asks xr.capability.query what this target is, and installs the answer with the binding device behind it.
reset() → Future<void>
Ends every session, then forgets everything installed.