GeospatialTester


class GeospatialTester


Tests Geospatial operations in unit tests.

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

Geospatial.GeospatialTrackingState

the Geospatial.GeospatialTrackingState device's Geospatial communication

Public properties

allowedAnchorLatitudeRange

Added in 1.0.0-beta02
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-beta02
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-beta02
var expectedGeospatialPoseGeospatialPose

the GeospatialPose that would be created by Geospatial.createGeospatialPoseFromPose

expectedHorizontalAccuracy

Added in 1.0.0-beta02
var expectedHorizontalAccuracyDouble

the horizontal accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedOrientationYawAccuracy

Added in 1.0.0-beta02
var expectedOrientationYawAccuracyDouble

the yaw accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedPose

Added in 1.0.0-beta02
var expectedPosePose

the Pose that would be created by Geospatial.createPoseFromGeospatialPose

expectedVerticalAccuracy

Added in 1.0.0-beta02
var expectedVerticalAccuracyDouble

the vertical accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedVpsResult

Added in 1.0.0-beta02
var expectedVpsResultVpsAvailabilityResult

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

state

Added in 1.0.0-beta02
var stateGeospatial.GeospatialTrackingState

the Geospatial.GeospatialTrackingState device's Geospatial communication