Extension Function Kt
Properties
Get the resource id for the string for an active capture state name
Set of states that should show center face message based on the current head pose (if the pose is not normal)
Get the resource id for the string for a head pose
Set of states where the user is expected to center their face and have their face in a normal pose in the center of the camera, and at an appropriate distance from the camera
Set of states that should show center face message based on the current head pose (regardless of the pose)
Map of animation resources for each active face capture state
Functions
Get the resource id for the string for an active capture state name
Set of states that should show center face message based on the current head pose (if the pose is not normal)
Get the resource id for the string for a head pose
Slight adjustment to the margin top for tablets
Get the screen height in pixels
Get the screen width in pixels
Get serializable extra from intent
Set of states where the user is expected to center their face and have their face in a normal pose in the center of the camera, and at an appropriate distance from the camera
Set of states that should show center face message based on the current head pose (regardless of the pose)
Map of animation resources for each active face capture state
Apply window insets ignoring the top inset
Navigate to main activity
Convert string to sentence case
Underline the text