Companion

object Companion

Functions

Link copied to clipboard
fun buildFragmentArguments(@DrawableRes scanInstructionsSearchingDrawableId: Int? = null, @DrawableRes scanInstructionsReadingDrawableId: Int? = null, @DrawableRes scanInstructionsSuccessDrawableId: Int? = null, @DrawableRes scanInstructionsFailureDrawableId: Int? = null, @StringRes scanInstructionsTextId: Int? = null, shouldShowFailoverPopup: Boolean? = null, skipVisibilityTimeout: Int? = null, handleOrientation: Boolean? = null): Bundle

Formats an arguments object for this fragment to use with Fragment.setArguments.

Link copied to clipboard
fun buildWorkflowSettings(@DrawableRes scanInstructionsSearchingDrawableId: Int? = null, @DrawableRes scanInstructionsReadingDrawableId: Int? = null, @DrawableRes scanInstructionsSuccessDrawableId: Int? = null, @DrawableRes scanInstructionsFailureDrawableId: Int? = null, @StringRes scanInstructionsTextId: Int? = null, shouldShowFailoverPopup: Boolean? = null, skipVisibilityTimeout: Int? = null, handleOrientation: Boolean? = null): String

Formats an encoded workflow settings JSON string for this fragment to use with MiSnapSettings.Workflow.add.

Link copied to clipboard

Gets the default values used as workflow params on this fragment.

Properties

Link copied to clipboard

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.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the nfc failure step.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the nfc reading step.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the nfc searching step.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the nfc success step.

Link copied to clipboard

Integer attribute for providing the string resource id for the nfc instructions text.

Link copied to clipboard

Boolean attribute for providing the whether or not the failover pop up should be displayed when there's an error.

Link copied to clipboard

Integer attribute for providing the duration of the reading session until showing the skip button in milliseconds.