Barcode Pick Status Icon Settings

Note

Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.

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

BarcodePickStatusIconSettings
class BarcodePickStatusIconSettings

Added in version 6.25.0

Use this class to customize the status icons in styles that support it.

BarcodePickStatusIconSettings()
BarcodePickStatusIconSettings()

Added in version 6.25.0

Creates a new BarcodePickStatusIconSettings instance with default values.

ratioToHighlightSize
float getRatioToHighlightSize()
void setRatioToHighlightSize(float value)

Added in version 6.25.0

When a status icon is displayed its size will be determined using the size of the related highlight. The length of the shorter side of the highlight will be multiplied by this ratio to compute the size. For example, if the ratio is 0.6 and the shorter side of the highlight is 60dp then the status icon size will be 36dp.

Default is 0.5.

minSize
int getMinSize()
void setMinSize(int value)

Added in version 6.25.0

The minimum size to use for status icons.

Default is 20 dp.

maxSize
int getMaxSize()
void setMaxSize(int value)

Added in version 6.25.0

The maximum size to use for status icons.

Default is no maximum, INT_MAX.