# FaceTrackingMode

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

*** ** * ** ***


```
class FaceTrackingMode
```

<br />

*** ** * ** ***

Feature that allows tracking of human faces.

Setting this feature to `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode#BLEND_SHAPES()` requires that the `FACE_TRACKING` Android permission is granted by the calling application.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode#BLEND_SHAPES()` Blend shapes of the user's face will be tracked. |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode#DISABLED()` Faces will not be tracked. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode#toString()()` Returns a string representation of `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode` for debugging. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode#mode()` |

## Public companion properties

### BLEND_SHAPES

```
val BLEND_SHAPES: FaceTrackingMode
```

Blend shapes of the user's face will be tracked.

Supported runtimes:

- OpenXR

Required permissions:

- `https://developer.android.com/reference/kotlin/androidx/xr/runtime/manifest/package-summary#FACE_TRACKING()`

### DISABLED

```
val DISABLED: FaceTrackingMode
```

Faces will not be tracked.

## Public functions

### toString

```
open fun toString(): String
```

Returns a string representation of `https://developer.android.com/reference/kotlin/androidx/xr/runtime/FaceTrackingMode` for debugging.

Note: Not intended for production use.

## Public properties

### mode

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

```
val mode: Int
```