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 string resource id for the barcode label.
Integer attribute for providing the drawable resource id for the cancel button.
Float attribute for providing the percentage of the screen width that the guide view takes up. This value is for when the barcode and the device are aligned, use GUIDE_VIEW_UNALIGNED_SCALE_PERCENTAGE for specifying the width when they are opposite.
Integer attribute for providing the drawable resource id for the guide view.
Boolean attribute for displaying a vignette around the guide view.
Float attribute for providing the percentage of the screen width that the guide view takes up. This value is for when the barcode and the device are not aligned, use GUIDE_VIEW_ALIGNED_SCALE_PERCENTAGE for specifying the width when they are the same.
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 drawable resource id for the manual button.
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 barcode label. When turned on a text view will be displayed on the screen to indicate the barcode type that is expected during the session, e.g. "QR Code".
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.
Integer attribute for providing the drawable resource id for the success view's background. If not provided the success view will use the final 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 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.