Barcode Check View Defaults

Defined in package com.scandit.datacapture.barcode.check.ui

BarcodeCheckViewDefaults
class BarcodeCheckViewDefaults

Added in version 7.1.0

Contains the default values for BarcodeCheckView properties.

defaultCameraPosition
CameraPosition getDefaultCameraPosition()

Added in version 7.1.0

Default is CameraPosition.WORLD_FACING.

defaultSoundEnabled
boolean getDefaultSoundEnabled()

Added in version 7.1.0

Default is true.

defaultHapticsEnabled
boolean getDefaultHapticsEnabled()

Added in version 7.1.0

Default is false.

defaultTorchControlPosition
Anchor getDefaultTorchControlPosition()

Added in version 7.1.0

Default is Anchor.TOP_LEFT.

defaultZoomControlPosition
Anchor getDefaultZoomControlPosition()

Added in version 7.1.0

Default is Anchor.BOTTOM_RIGHT.

defaultCameraSwitchControlPosition
Anchor getDefaultCameraSwitchControlPosition()

Added in version 7.1.0

Default is Anchor.TOP_RIGHT.

defaultShouldShowTorchControl
boolean getDefaultShouldShowTorchControl()

Added in version 7.1.0

Default is false.

defaultShouldShowZoomControl
boolean getDefaultShouldShowZoomControl()

Added in version 7.1.0

Default is false.

defaultShouldShowCameraSwitchControl
boolean getDefaultShouldShowCameraSwitchControl()

Added in version 7.1.0

Default is false.

defaultRectangleHighlightBrush
@NonNull Brush getDefaultRectangleHighlightBrush()

Added in version 7.1.0

Default is a brush with blue fill color with 45% alpha, blue stroke and a stroke width of 3

defaultHighlightIcon
@Nullable ScanditIcon getDefaultHighlightIcon()

Added in version 7.1.0

Default is null.

defaultPopoverAnnotationTrigger
BarcodeCheckAnnotationTrigger getDefaultPopoverAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeCheckAnnotationTrigger.HIGHLIGHT_TAP.

defaultIsEntirePopoverTappable
boolean getDefaultIsEntirePopoverTappable()

Added in version 7.1.0

Default is false.

defaultBarcodeCheckPopoverAnnotationButtonTextSize
float getDefaultBarcodeCheckPopoverAnnotationButtonTextSize()

Added in version 7.1.0

Default is 10 scale-independent pixels.

defaultBarcodeCheckPopoverAnnotationButtonTypeFace
@NonNull Typeface getDefaultBarcodeCheckPopoverAnnotationButtonTypeFace()

Added in version 7.1.0

Default is Typeface.DEFAULT.

defaultBarcodeCheckPopoverAnnotationButtonTextColor
int getDefaultBarcodeCheckPopoverAnnotationButtonTextColor()

Added in version 7.1.0

Default is dark grey color.

defaultBarcodeCheckPopoverAnnotationButtonEnabled
boolean getDefaultBarcodeCheckPopoverAnnotationButtonEnabled()

Added in version 7.1.0

Default is true.

defaultStatusIconAnnotationHasTip
boolean getDefaultStatusIconAnnotationHasTip()

Added in version 7.1.0

Default is false.

defaultStatusIconAnnotationIcon
@NonNull ScanditIcon getDefaultStatusIconAnnotationIcon()

Added in version 7.1.0

Default is ScanditIconType.EXCLAMATION_MARK.

defaultStatusIconAnnotationText
@Nullable String getDefaultStatusIconAnnotationText()

Added in version 7.1.0

Default is null.

defaultStatusIconAnnotationTextColor
int getDefaultStatusIconAnnotationTextColor()

Added in version 7.1.0

Default is #121619.

defaultStatusIconAnnotationBackgroundColor
int getDefaultStatusIconAnnotationBackgroundColor()

Added in version 7.1.0

Default is #FFFFFF.

defaultStatusIconAnnotationTrigger
BarcodeCheckAnnotationTrigger getDefaultStatusIconAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeCheckAnnotationTrigger.HIGHLIGHT_TAP_AND_BARCODE_SCAN.

defaultInfoAnnotationTrigger
BarcodeCheckAnnotationTrigger getDefaultInfoAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeCheckAnnotationTrigger.HIGHLIGHT_TAP_AND_BARCODE_SCAN.

defaultInfoAnnotationEntireAnnotationTappable
boolean getDefaultInfoAnnotationEntireAnnotationTappable()

Added in version 7.1.0

Default is false.

defaultInfoAnnotationWidth
BarcodeCheckInfoAnnotationWidthPreset getDefaultInfoAnnotationWidth()

Added in version 7.1.0

Default is BarcodeCheckInfoAnnotationWidthPreset.SMALL.

defaultInfoAnnotationBackgroundColor
int getDefaultInfoAnnotationBackgroundColor()

Added in version 7.1.0

Default is #CCFFFFFF.

defaultInfoAnnotationHasTip
boolean getDefaultInfoAnnotationHasTip()

Added in version 7.1.0

Default is true.

defaultInfoAnnotationAnchor
BarcodeCheckInfoAnnotationAnchor getDefaultInfoAnnotationAnchor()

Added in version 7.1.0

Default is BarcodeCheckInfoAnnotationAnchor.BOTTOM.

defaultInfoAnnotationHeaderBackgroundColor
int getDefaultInfoAnnotationHeaderBackgroundColor()

Added in version 7.1.0

Default is #2EC1CE.

defaultInfoAnnotationHeaderIcon
@Nullable ScanditIcon getDefaultInfoAnnotationHeaderIcon()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationHeaderText
@Nullable String getDefaultInfoAnnotationHeaderText()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationHeaderTypeface
@NonNull Typeface getDefaultInfoAnnotationHeaderTypeface()

Added in version 7.1.0

Default is Typeface.DEFAULT.

defaultInfoAnnotationHeaderTextSize
float getDefaultInfoAnnotationHeaderTextSize()

Added in version 7.1.0

Default is 16 scale-independent pixels.

defaultInfoAnnotationHeaderTextColor
int getDefaultInfoAnnotationHeaderTextColor()

Added in version 7.1.0

Default is #FFFFFF.

defaultInfoAnnotationFooterBackgroundColor
int getDefaultInfoAnnotationFooterBackgroundColor()

Added in version 7.1.0

Default is #000000.

defaultInfoAnnotationFooterIcon
@Nullable ScanditIcon getDefaultInfoAnnotationFooterIcon()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationFooterText
@Nullable String getDefaultInfoAnnotationFooterText()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationFooterTypeface
@NonNull Typeface getDefaultInfoAnnotationFooterTypeface()

Added in version 7.1.0

Default is Typeface.DEFAULT.

defaultInfoAnnotationFooterTextSize
float getDefaultInfoAnnotationFooterTextSize()

Added in version 7.1.0

Default is 16 scale-independent pixels.

defaultInfoAnnotationFooterTextColor
int getDefaultInfoAnnotationFooterTextColor()

Added in version 7.1.0

Default is #FFFFFF.

defaultInfoAnnotationBodyElementText
@Nullable String getDefaultInfoAnnotationBodyElementText()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationBodyElementTypeface
@NonNull Typeface getDefaultInfoAnnotationBodyElementTypeface()

Added in version 7.1.0

Default is Typeface.DEFAULT.

defaultInfoAnnotationBodyElementTextSize
float getDefaultInfoAnnotationBodyElementTextSize()

Added in version 7.1.0

Default is 14 scale-independent pixels.

defaultInfoAnnotationBodyElementTextColor
int getDefaultInfoAnnotationBodyElementTextColor()

Added in version 7.1.0

Default is #121619.

defaultInfoAnnotationBodyElementStyledText
@Nullable CharSequence getDefaultInfoAnnotationBodyElementStyledText()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationBodyElementLeftIconTappable
boolean getDefaultInfoAnnotationBodyElementLeftIconTappable()

Added in version 7.1.0

Default is true.

defaultInfoAnnotationBodyElementLeftIcon
@Nullable ScanditIcon getDefaultInfoAnnotationBodyElementLeftIcon()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationBodyElementRightIconTappable
boolean getDefaultInfoAnnotationBodyElementRightIconTappable()

Added in version 7.1.0

Default is true.

defaultInfoAnnotationBodyElementRightIcon
@Nullable ScanditIcon getDefaultInfoAnnotationBodyElementRightIcon()

Added in version 7.1.0

Default is null.

defaultInfoAnnotationBodyElementTextAlignment
int getDefaultInfoAnnotationBodyElementTextAlignment()

Added in version 7.1.0

Default is TextView.TEXT_ALIGNMENT_CENTER.

getDefaultCircleHighlightBrushFromPreset(preset)
@NonNull Brush getDefaultCircleHighlightBrushFromPreset(
        BarcodeCheckCircleHighlightPreset preset)

Added in version 7.1.0

Returns the default brush used in BarcodeCheckCircleHighlight for the given preset.

getDefaultCircleHighlightSizeFromPreset(preset)
float getDefaultCircleHighlightSizeFromPreset(
        BarcodeCheckCircleHighlightPreset preset)

Added in version 7.1.0

Returns the default size in device-independent pixels for BarcodeCheckCircleHighlight for the given preset. Default size for BarcodeCheckCircleHighlightPreset.DOT is 18. Default size for BarcodeCheckCircleHighlightPreset.ICON is 32.

defaultHighlightIsPulsing
boolean getDefaultHighlightIsPulsing()

Added in version 7.2.0

Default is false.

defaultStatusIconAnnotationAnchor
BarcodeCheckStatusIconAnnotationAnchor getDefaultStatusIconAnnotationAnchor()

Added in version 7.2.0

Default is BarcodeCheckStatusIconAnnotationAnchor.BOTTOM.

defaultPopoverAnnotationAnchor
BarcodeCheckPopoverAnnotationAnchor getDefaultPopoverAnnotationAnchor()

Added in version 7.2.0

Default is BarcodeCheckPopoverAnnotationAnchor.BOTTOM.