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-rc01
var allowedAnchorLatitudeRange: Range<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-rc01
var expectedAnchorPose: Pose?

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

expectedGeospatialPose

Added in 1.0.0-rc01
var expectedGeospatialPose: GeospatialPose

the GeospatialPose that would be created by Geospatial.createGeospatialPoseFromPose

expectedHorizontalAccuracy

Added in 1.0.0-rc01
var expectedHorizontalAccuracy: Double

the horizontal accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedOrientationYawAccuracy

Added in 1.0.0-rc01
var expectedOrientationYawAccuracy: Double

the yaw accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedPose

Added in 1.0.0-rc01
var expectedPose: Pose

the Pose that would be created by Geospatial.createPoseFromGeospatialPose

expectedVerticalAccuracy

Added in 1.0.0-rc01
var expectedVerticalAccuracy: Double

the vertical accuracy of the value returned by Geospatial.createGeospatialPoseFromPose

expectedVpsResult

Added in 1.0.0-rc01
var expectedVpsResult: VpsAvailabilityResult

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

state

Added in 1.0.0-rc01
var state: Geospatial.GeospatialTrackingState

the Geospatial.GeospatialTrackingState device's Geospatial communication