ArDeviceTester


public final class ArDeviceTester


Controls simulated device in unit tests.

Summary

Public methods

final @NonNull Pose

the current pose of the device

final boolean

whether the AR Device is currently tracking the environment

final void
setCameraTracking(boolean value)

whether the AR Device is currently tracking the environment

final void

the current pose of the device

Public methods

getPose

Added in 1.0.0-beta02
public final @NonNull Pose getPose()

the current pose of the device

isCameraTracking

Added in 1.0.0-beta02
public final boolean isCameraTracking()

whether the AR Device is currently tracking the environment

setCameraTracking

Added in 1.0.0-beta02
public final void setCameraTracking(boolean value)

whether the AR Device is currently tracking the environment

setPose

Added in 1.0.0-beta02
public final void setPose(@NonNull Pose value)

the current pose of the device