public final class FaceTester


An object which allows for testing a simulation of the user's face in an ARCore unit test environment. If isValid is false, the blendShapeValues will be ignored and tracking will be TrackingState.PAUSED.

Summary

Public methods

final @NonNull List<@NonNull Float>

a list of normalized blend shape values of facial features

final @NonNull List<@NonNull Float>

a list of normalized values describing the confidence of blend shape values in a specific region of the face

final boolean

whether the blendShapeValues are valid

final void

a list of normalized blend shape values of facial features

final void

a list of normalized values describing the confidence of blend shape values in a specific region of the face

final void
setValid(boolean value)

whether the blendShapeValues are valid

Public methods

getBlendShapeValues

Added in 1.0.0-alpha15
public final @NonNull List<@NonNull FloatgetBlendShapeValues()

a list of normalized blend shape values of facial features

getConfidenceValues

Added in 1.0.0-alpha15
public final @NonNull List<@NonNull FloatgetConfidenceValues()

a list of normalized values describing the confidence of blend shape values in a specific region of the face

isValid

Added in 1.0.0-alpha15
public final boolean isValid()

whether the blendShapeValues are valid

setBlendShapeValues

Added in 1.0.0-alpha15
public final void setBlendShapeValues(@NonNull List<@NonNull Float> value)

a list of normalized blend shape values of facial features

setConfidenceValues

Added in 1.0.0-alpha15
public final void setConfidenceValues(@NonNull List<@NonNull Float> value)

a list of normalized values describing the confidence of blend shape values in a specific region of the face

setValid

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

whether the blendShapeValues are valid