public final class TestArDevice


An object which represents the user's device in the simulated environment of an ARCore unit test.

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

the current pose of the device

isCameraTracking

Added in 1.0.0-alpha14
public final boolean isCameraTracking()

whether the AR Device is currently tracking the environment

setCameraTracking

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

whether the AR Device is currently tracking the environment

setPose

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

the current pose of the device