GeospatialTester


class GeospatialTester


An object which allows for testing the overall condition of Geospatial operations in an ARCore unit test environment.

Summary

Public properties

Range<Double>

the acceptable range of latitude values that Geospatial can use when creating Anchors, with a default of -90..90 (inclusive)

Pose?

the Pose of the androidx.xr.arcore.Anchor that will be returned by Geospatial.createAnchor or Geospatial.createAnchorOnSurface

GeospatialPose

the GeospatialPose that would be created by Geospatial.createGeospatialPoseFromPose

Double

the horizontal accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

Double

the yaw accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

Pose

the Pose that would be created by Geospatial.createPoseFromGeospatialPose

Double

the vertical accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

VpsAvailabilityResult

VpsAvailabilityResult that will be returned when checking for VPS availability if not null

GeospatialState

the GeospatialState device's Geospatial communication

Public properties

allowedAnchorLatitudeRange

Added in 1.0.0-alpha15
var allowedAnchorLatitudeRangeRange<Double>

the acceptable range of latitude values that Geospatial can use when creating Anchors, with a default of -90..90 (inclusive)

expectedAnchorPose

Added in 1.0.0-alpha15
var expectedAnchorPosePose?

the Pose of the androidx.xr.arcore.Anchor that will be returned by Geospatial.createAnchor or Geospatial.createAnchorOnSurface

expectedGeospatialPose

Added in 1.0.0-alpha15
var expectedGeospatialPoseGeospatialPose

the GeospatialPose that would be created by Geospatial.createGeospatialPoseFromPose

expectedHorizontalAccuracy

Added in 1.0.0-alpha15
var expectedHorizontalAccuracyDouble

the horizontal accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedOrientationYawAccuracy

Added in 1.0.0-alpha15
var expectedOrientationYawAccuracyDouble

the yaw accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedPose

Added in 1.0.0-alpha15
var expectedPosePose

the Pose that would be created by Geospatial.createPoseFromGeospatialPose

expectedVerticalAccuracy

Added in 1.0.0-alpha15
var expectedVerticalAccuracyDouble

the vertical accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedVpsResult

Added in 1.0.0-alpha15
var expectedVpsResultVpsAvailabilityResult

VpsAvailabilityResult that will be returned when checking for VPS availability if not null

state

Added in 1.0.0-alpha15
var stateGeospatialState

the GeospatialState device's Geospatial communication