Class WrapperSessionScanViewConfigOptionSegmentConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class WrapperSessionScanViewConfigOptionSegmentConfig implements Serializable
WrapperSessionScanViewConfigOptionSegmentConfig
Multi-mode segment control allowing users to switch between different scanning configurations (e.g., MRZ, Barcode, License Plate modes). Requires equal numbers of titles and viewConfigs.
-
-
Constructor Summary
Constructors Constructor Description WrapperSessionScanViewConfigOptionSegmentConfig()
-
Method Summary
Modifier and Type Method Description List<String>
getViewConfigs()
Array of ScanView configuration filenames located in the assets folder. void
setViewConfigs(List<String> viewConfigs)
Array of ScanView configuration filenames located in the assets folder. List<String>
getTitles()
Array of display names for each scanning mode shown to users in the segment control. void
setTitles(List<String> titles)
Array of display names for each scanning mode shown to users in the segment control. Integer
getTitleIndex()
Zero-based index indicating which segment should be initially selected. void
setTitleIndex(Integer titleIndex)
Zero-based index indicating which segment should be initially selected. String
getTintColor()
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting. void
setTintColor(String tintColor)
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting. Double
getOffsetX()
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. void
setOffsetX(Double offsetX)
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. Double
getOffsetY()
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. void
setOffsetY(Double offsetY)
WrapperSessionScanViewConfigOptionOffsetConfig Float pixel offset for fine-tuning UI element position. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getViewConfigs
List<String> getViewConfigs()
Array of ScanView configuration filenames located in the assets folder. Each file defines a complete scanning mode configuration.
-
setViewConfigs
void setViewConfigs(List<String> viewConfigs)
Array of ScanView configuration filenames located in the assets folder. Each file defines a complete scanning mode configuration.
-
getTitles
List<String> getTitles()
Array of display names for each scanning mode shown to users in the segment control.
-
setTitles
void setTitles(List<String> titles)
Array of display names for each scanning mode shown to users in the segment control.
-
getTitleIndex
Integer getTitleIndex()
Zero-based index indicating which segment should be initially selected. Must be within the bounds of the titles array.
-
setTitleIndex
void setTitleIndex(Integer titleIndex)
Zero-based index indicating which segment should be initially selected. Must be within the bounds of the titles array.
-
getTintColor
String getTintColor()
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting.
-
setTintColor
void setTintColor(String tintColor)
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting.
-
getOffsetX
Double getOffsetX()
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
setOffsetX
void setOffsetX(Double offsetX)
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
getOffsetY
Double getOffsetY()
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
setOffsetY
void setOffsetY(Double offsetY)
WrapperSessionScanViewConfigOptionOffsetConfig
Float pixel offset for fine-tuning UI element position.
-
hashCode
int hashCode()
-
-
-
-