public final class EyeTester


Controls a simulated androidx.xr.arcore.Eye in unit tests.

Summary

Public methods

final @NonNull Pose

Pose of the eye within the testing environment.

final boolean

Flag indicating the eye is open and thus visible to the runtime.

final void
setOpen(boolean value)

Flag indicating the eye is open and thus visible to the runtime.

final void

Pose of the eye within the testing environment.

Public methods

getPose

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

Pose of the eye within the testing environment.

isOpen

Added in 1.0.0-beta02
public final boolean isOpen()

Flag indicating the eye is open and thus visible to the runtime.

setOpen

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

Flag indicating the eye is open and thus visible to the runtime.

setPose

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

Pose of the eye within the testing environment.