androidx.xr.runtime


Annotations

ExperimentalXrDeviceLifecycleApi

Marks XrDevice lifecycle APIs that are experimental and likely to change or be removed in the future.

PreviewSpatialApi3

Marks declarations that are part of the unstable Spatial API Preview, version 3.

RequiresSpatialApi

Denotes that the annotated element should only be called on devices that support a given Spatial API version.

Classes

AnchorPersistenceMode

Feature that allows anchors to be persisted through sessions.

AugmentedObjectCategory

Contextual label describing the type of detected object.

Config

Defines a configuration state of all available features to be set at runtime.

Config.AnchorPersistenceMode

This class is deprecated. Use androidx.xr.runtime.AnchorPersistenceMode instead.

Config.ConfigMode

Describes a specific value used to set the configuration via Session.configure.

Config.DepthEstimationMode

This class is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Config.DeviceTrackingMode

This class is deprecated. Use androidx.xr.runtime.DeviceTrackingMode instead.

Config.FaceTrackingMode

This class is deprecated. Use androidx.xr.runtime.FaceTrackingMode instead.

Config.GeospatialMode

This class is deprecated. Use androidx.xr.runtime.GeospatialMode instead.

Config.HandTrackingMode

This class is deprecated. Use androidx.xr.runtime.HandTrackingMode instead.

Config.PlaneTrackingMode

This class is deprecated. Use androidx.xr.runtime.PlaneTrackingMode instead.

CoreState

Represents the state of the XR system at a specific point in time.

DepthEstimationMode

Feature that allows more accurate information about scene depth and meshes.

DeviceTrackingMode

Feature that allows tracking of the AR device.

DisplayBlendMode

A device capability that determines how virtual content is added to the real world.

FaceTrackingMode

Feature that allows tracking of human faces.

FieldOfView

Represents the field of view of a virtual (or rendering) camera.

GeospatialMode

Feature that allows Geospatial localization and tracking.

HandTrackingMode

Feature that allows tracking of the user's hands and hand joints.

PlaneTrackingMode

Feature that allows tracking of and provides information about scene planes.

RequiredCalibrationType

Represents the type of tracking calibration as indicated by SessionConfigureCalibrationRequired.

Session

A session is the main entrypoint to features provided by ARCore for Jetpack XR.

SessionConfigureCalibrationRequired

Result of an unsuccessful Session.configure call.

SessionConfigureGooglePlayServicesLocationLibraryNotLinked

Result of an unsuccessful Session.configure call.

SessionConfigureResult

Result of a Session.configure call.

SessionConfigureSuccess

Result of a successful Session.configure call.

SessionCreateApkRequired

Result of an unsuccessful Session.create call.

SessionCreateResult

Result of a Session.create call.

SessionCreateSuccess

Result of a successful Session.create call.

SessionCreateUnsupportedDevice

Result of an unsuccessful Session.create call.

SessionResumeResult

Result of a Session.resume call.

SessionResumeSuccess

Result of a successful Session.resume call.

TrackingState

Describes the state of the tracking performed.

VpsAvailabilityAvailable

Result of a successful Geospatial.checkVpsAvailability call.

VpsAvailabilityErrorInternal

Result of an unsuccessful Geospatial.checkVpsAvailability call.

VpsAvailabilityNetworkError

Result of an unsuccessful Geospatial.checkVpsAvailability call.

VpsAvailabilityNotAuthorized

Result of an unsuccessful Geospatial.checkVpsAvailability call.

VpsAvailabilityResourceExhausted

Result of an unsuccessful Geospatial.checkVpsAvailability call.

VpsAvailabilityResult

Result of a Geospatial.checkVpsAvailability call.

VpsAvailabilityUnavailable

Result of a successful Geospatial.checkVpsAvailability call.

XrDevice

Provides hardware capabilities of the device.

XrDevice.DisplayBlendMode

This class is deprecated. Use androidx.xr.runtime.DisplayBlendMode instead.

SpatialApiVersionHelper

Provides the Spatial API version that the device supports.

SpatialApiVersions

All the Spatial API versions supported by Android XR.