ArDeviceTester


public final class ArDeviceTester


An object that allows for controlling a simulation of the user's device in an ARCore unit test environment.

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-alpha15
public final @NonNull Pose getPose()

the current pose of the device

isCameraTracking

Added in 1.0.0-alpha15
public final boolean isCameraTracking()

whether the AR Device is currently tracking the environment

setCameraTracking

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

whether the AR Device is currently tracking the environment

setPose

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

the current pose of the device