Config.HeadTrackingMode


class Config.HeadTrackingMode


Feature that allows tracking of the user's head pose.

Setting this feature to HeadTrackingMode.LAST_KNOWN requires that the HEAD_TRACKING Android permission is granted by the calling application.

Summary

Public companion properties

Config.HeadTrackingMode

The head pose is not updated.

Config.HeadTrackingMode

Head pose will be tracked and the last known pose from the system at the time of runtime update will be provided.

Public functions

open String

Public companion properties

DISABLED

val DISABLEDConfig.HeadTrackingMode

The head pose is not updated. It remains at the origin (an identity pose).

LAST_KNOWN

val LAST_KNOWNConfig.HeadTrackingMode

Head pose will be tracked and the last known pose from the system at the time of runtime update will be provided. Note that there is generally a delay between the actual head pose and the pose provided by the system by the time of the update.

Public functions

toString

open fun toString(): String