# FaceTester

Artifact: [androidx.xr.arcore:arcore-testing](https://developer.android.com/jetpack/androidx/releases/xr-arcore) [View Source](https://cs.android.com/search?q=file:androidx/xr/arcore/testing/FaceTester.kt+class:androidx.xr.arcore.testing.FaceTester) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

*** ** * ** ***


```
class FaceTester
```

<br />

*** ** * ** ***

Controls a simulated `https://developer.android.com/reference/kotlin/androidx/xr/arcore/Face` in unit tests. If `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#isValid()` is `false`, the `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#blendShapeValues()` will be ignored and tracking will be .

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#blendShapeValues()` a list of normalized blend shape values of facial features |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#confidenceValues()` a list of normalized values describing the confidence of blend shape values in a specific region of the face |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#isValid()` whether the `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#blendShapeValues()` are valid |

## Public properties

### blendShapeValues

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var blendShapeValues: List<Float>
```

a list of normalized blend shape values of facial features

### confidenceValues

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var confidenceValues: List<Float>
```

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](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
var isValid: Boolean
```

whether the `https://developer.android.com/reference/kotlin/androidx/xr/arcore/testing/FaceTester#blendShapeValues()` are valid