FakeRuntimeFace


class FakeRuntimeFace


Fake implementation of androidx.xr.arcore.internal.Face for testing purposes.

Summary

Public constructors

FakeRuntimeFace(
    trackingState: TrackingState,
    isValid: Boolean,
    blendShapeValues: FloatArray,
    confidenceValues: FloatArray
)

Public properties

open FloatArray

The array of blend shape values.

open FloatArray

The array of confidence values.

open Boolean

Indicates whether the face is valid.

open TrackingState

The current tracking state of the face.

Public constructors

FakeRuntimeFace

Added in 1.0.0-alpha06
FakeRuntimeFace(
    trackingState: TrackingState = TrackingState.PAUSED,
    isValid: Boolean = true,
    blendShapeValues: FloatArray = FloatArray(0),
    confidenceValues: FloatArray = FloatArray(0)
)

Public properties

blendShapeValues

Added in 1.0.0-alpha06
open var blendShapeValuesFloatArray

The array of blend shape values.

confidenceValues

Added in 1.0.0-alpha06
open var confidenceValuesFloatArray

The array of confidence values.

isValid

Added in 1.0.0-alpha06
open var isValidBoolean

Indicates whether the face is valid.

trackingState

Added in 1.0.0-alpha06
open var trackingStateTrackingState

The current tracking state of the face.