public final class TestQrCode extends TestTrackable


Represents a QR code in the test environment.

Summary

Public constructors

Public methods

final @NonNull Pose

Pose at the center of the augmented image

final @NonNull String

the data of the QR code

final @NonNull FloatSize2d

the FloatSize2d extents used to determine the size of the image

boolean

indicates whether the trackable object is currently in view of the runtime

final void

Pose at the center of the augmented image

final void

the data of the QR code

final void

the FloatSize2d extents used to determine the size of the image

void
setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime

Public constructors

TestQrCode

Added in 1.0.0-alpha15
public TestQrCode(@NonNull String data)

Public methods

getCenterPose

Added in 1.0.0-alpha15
public final @NonNull Pose getCenterPose()

Pose at the center of the augmented image

getData

Added in 1.0.0-alpha15
public final @NonNull String getData()

the data of the QR code

getExtents

Added in 1.0.0-alpha15
public final @NonNull FloatSize2d getExtents()

the FloatSize2d extents used to determine the size of the image

isVisible

public boolean isVisible()

indicates whether the trackable object is currently in view of the runtime

setCenterPose

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

Pose at the center of the augmented image

setData

Added in 1.0.0-alpha15
public final void setData(@NonNull String value)

the data of the QR code

setExtents

Added in 1.0.0-alpha15
public final void setExtents(@NonNull FloatSize2d value)

the FloatSize2d extents used to determine the size of the image

setVisible

public void setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime