FakeRuntimeEye


public final class FakeRuntimeEye


Fake implementation of Eye for testing purposes.

Summary

Public constructors

Public methods

@NonNull Pose

the Pose of the eye

@NonNull TrackingState

the TrackingState of the eye

boolean

a flag indicating whether or not the eye is open.

void
setOpen(boolean value)

a flag indicating whether or not the eye is open.

void

the Pose of the eye

void

the TrackingState of the eye

Public constructors

FakeRuntimeEye

Added in 1.0.0-alpha12
public FakeRuntimeEye()

Public methods

getPose

Added in 1.0.0-alpha12
public @NonNull Pose getPose()

the Pose of the eye

getTrackingState

Added in 1.0.0-alpha12
public @NonNull TrackingState getTrackingState()

the TrackingState of the eye

isOpen

Added in 1.0.0-alpha12
public boolean isOpen()

a flag indicating whether or not the eye is open. It's set to true if it's open, false if it's closed. *

setOpen

Added in 1.0.0-alpha12
public void setOpen(boolean value)

a flag indicating whether or not the eye is open. It's set to true if it's open, false if it's closed. *

setPose

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

the Pose of the eye

setTrackingState

Added in 1.0.0-alpha12
public void setTrackingState(@NonNull TrackingState value)

the TrackingState of the eye