Config.FaceTrackingMode


class Config.FaceTrackingMode : Config.ConfigMode


Feature that allows tracking of human faces.

Setting this feature to FaceTrackingMode.USER requires that the FACE_TRACKING Android permission is granted by the calling application.

Setting this feature to FaceTrackingMode.MESHES requires the CAMERA Android permission to be granted and that CameraFacingDirection is set to CameraFacingDirection.USER.

Summary

Public companion properties

Config.FaceTrackingMode

Faces will not be tracked.

Config.FaceTrackingMode

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

Inherited functions

From androidx.xr.runtime.Config.ConfigMode
open Boolean
isSupported(session: Session)

Queries whether the ConfigMode is supported and is available to be configured for the session via Session.configure.

Public companion properties

DISABLED

val DISABLEDConfig.FaceTrackingMode

Faces will not be tracked.

USER

val USERConfig.FaceTrackingMode

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