Companion
Functions
Formats an arguments object for this fragment to use with Fragment.setArguments.
Formats an encoded workflow settings JSON string for this fragment to use with MiSnapSettings.Workflow.add.
Gets the default values used as workflow params on this fragment.
Properties
Integer attribute for providing the drawable resource id for the cancel button.
Boolean attribute for enabling the GuideView internal drawable to change between two states (enabled/disabled) depending on the feedback received from the frame analysis. By default the drawable changes between colorFaceSessionGuideViewOnError and colorFaceSessionGuideViewOnSuccess when all IQAs are good.
Integer attribute for providing the animation resource id for showing the countdown.
Integer attribute for providing the duration in milliseconds of the countdown timer.
Integer attribute for providing the labels resource id to display in the countdown.
Integer attribute for providing the drawable resource id for the guide view.
Float attribute for providing the percentage of the screen width that the guide view takes up.
Boolean attribute for displaying a vignette around the guide view.
Boolean attribute for toggling the orientation handling on this fragment. When turned on the fragment will do its best to adjust the parent activity to the configured orientation while it's being used and revert it back to the original orientation once its gone.
Integer attribute for providing the drawable resource id for the help button.
Integer attribute for providing the animation resource id for showing hint messages.
Integer attribute for providing the duration of each hint to the user in milliseconds.
Integer attribute for providing an initial hint delay time in milliseconds for the HintView, no hint messages are displayed while the delay is active.
Boolean attribute for showing a background color for hint messages
Boolean attribute for enabling the fragment to increase the screen brightness and to change the GuideView vignette to white color to improve the face detection in a dark environment. NOTE: This feature is only available when using the default GUIDE_VIEW_DRAWABLE_ID drawable and when GUIDE_VIEW_SHOW_VIGNETTE value is true.
Integer attribute for providing the drawable resource id for the manual button.
Boolean attribute for if the camera should display on screen the detected bounding box of the face or not.
Integer attribute for providing the animation resource id for the recording icon.
Integer attribute for providing the drawable resource id for the for the recording icon.
ReviewCondition attribute for controlling when to navigate to the review screen.
Boolean attribute for toggling the visibility of the cancel button. When turned on a cancel button will be displayed, pressing this button is equivalent to pressing the back button in the device.
Boolean attribute to control if the countdown view is shown or not.
Integer attribute for providing the drawable resource id for the success view's background. If not provided the success view will use the returned image as background.
Integer attribute for providing the animation resource id for the success view's message.
Integer attribute for providing the drawable resource id for the success view's message.
Boolean attribute for if the device should vibrate when the success view starts.
String attribute for providing the URI path to a sound file that the success view will play when starting. Null will play the default camera shutter sound, while an empty string will play no sound.
Integer attribute for providing the duration of the session until timeout in milliseconds.
Integer attribute for providing the drawable resource id for the for the torch view when its state is OFF.
Integer attribute for providing the drawable resource id for the torch view when its state is ON.