Barcode Ar View Defaults

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

BarcodeArViewDefaults
class BarcodeArViewDefaults

Added in version 7.1.0

Contains the default values for BarcodeArView 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
BarcodeArAnnotationTrigger getDefaultPopoverAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeArAnnotationTrigger.HIGHLIGHT_TAP.

defaultIsEntirePopoverTappable
boolean getDefaultIsEntirePopoverTappable()

Added in version 7.1.0

Default is false.

defaultBarcodeArPopoverAnnotationButtonTextSize
float getDefaultBarcodeArPopoverAnnotationButtonTextSize()

Added in version 7.1.0

Default is 10 scale-independent pixels.

defaultBarcodeArPopoverAnnotationButtonTypeFace
@NonNull Typeface getDefaultBarcodeArPopoverAnnotationButtonTypeFace()

Added in version 7.1.0

Default is Typeface.DEFAULT.

defaultBarcodeArPopoverAnnotationButtonTextColor
int getDefaultBarcodeArPopoverAnnotationButtonTextColor()

Added in version 7.1.0

Default is dark grey color.

defaultBarcodeArPopoverAnnotationButtonEnabled
boolean getDefaultBarcodeArPopoverAnnotationButtonEnabled()

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
BarcodeArAnnotationTrigger getDefaultStatusIconAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeArAnnotationTrigger.HIGHLIGHT_TAP_AND_BARCODE_SCAN.

defaultInfoAnnotationTrigger
BarcodeArAnnotationTrigger getDefaultInfoAnnotationTrigger()

Added in version 7.1.0

Default is BarcodeArAnnotationTrigger.HIGHLIGHT_TAP_AND_BARCODE_SCAN.

defaultInfoAnnotationEntireAnnotationTappable
boolean getDefaultInfoAnnotationEntireAnnotationTappable()

Added in version 7.1.0

Default is false.

defaultInfoAnnotationWidth
BarcodeArInfoAnnotationWidthPreset getDefaultInfoAnnotationWidth()

Added in version 7.1.0

Default is BarcodeArInfoAnnotationWidthPreset.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
BarcodeArInfoAnnotationAnchor getDefaultInfoAnnotationAnchor()

Added in version 7.1.0

Default is BarcodeArInfoAnnotationAnchor.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(
        BarcodeArCircleHighlightPreset preset)

Added in version 7.1.0

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

getDefaultCircleHighlightSizeFromPreset(preset)
float getDefaultCircleHighlightSizeFromPreset(
        BarcodeArCircleHighlightPreset preset)

Added in version 7.1.0

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

defaultHighlightIsPulsing
boolean getDefaultHighlightIsPulsing()

Added in version 7.2.0

Default is false.

defaultStatusIconAnnotationAnchor
BarcodeArStatusIconAnnotationAnchor getDefaultStatusIconAnnotationAnchor()

Added in version 7.2.0

Default is BarcodeArStatusIconAnnotationAnchor.BOTTOM.

defaultPopoverAnnotationAnchor
BarcodeArPopoverAnnotationAnchor getDefaultPopoverAnnotationAnchor()

Added in version 7.2.0

Default is BarcodeArPopoverAnnotationAnchor.BOTTOM.