BarcodeAnalysisFragment

A prebuilt screen for starting barcode analysis.

Supports customization through buildWorkflowSettings, buildFragmentArguments, nav graph arguments, and XML overrides.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Sets the condition for when to navigate to the barcode review action. Supported conditions are:

Link copied to clipboard
@Serializable
data class WorkflowSettings @JvmOverloads constructor(@DrawableRes val guideViewDrawableId: Int? = null, val guideViewAlignedScalePercentage: Float? = null, val guideViewUnalignedScalePercentage: Float? = null, val guideViewShowVignette: Boolean? = null, @DrawableRes val manualButtonDrawableId: Int? = null, @DrawableRes val torchViewOnDrawableId: Int? = null, @DrawableRes val torchViewOffDrawableId: Int? = null, @DrawableRes val recordingIconDrawableId: Int? = null, @AnimRes val recordingIconAnimationId: Int? = null, @DrawableRes val helpButtonDrawableId: Int? = null, @DrawableRes val successViewMessageDrawableId: Int? = null, @AnimRes val successViewMessageAnimationId: Int? = null, @DrawableRes val successViewBackgroundDrawableId: Int? = null, val successViewShouldVibrate: Boolean? = null, val successViewSoundUri: String? = null, val reviewCondition: BarcodeAnalysisFragment.ReviewCondition? = null, val handleOrientation: Boolean? = null, val shouldShowCancelButton: Boolean? = null, @DrawableRes val cancelButtonDrawableId: Int? = null, val shouldShowBarcodeLabel: Boolean? = null, @StringRes val barcodeLabelStringId: Int? = null)

Describes the available settings for this fragment.