Label Capture Settings
Defined in package com.scandit.datacapture.label.capture
- LabelCaptureSettings
class LabelCaptureSettings
Added in version 6.0.0
- builder()
static @NonNull LabelCaptureSettingsBuilder builder()
Added in version 6.21.0
Create a Label Capture Settings Builder.
- locationSelection
@Nullable LocationSelection getLocationSelection()
void
setLocationSelection(@Nullable LocationSelection value)Added in version 6.9.0
Defines the strategy with which to select one out of many visible labels. By default, this property is null and label selection is disabled.
Currently only RectangularLocationSelection is supported.
- setProperty(key, value)
void
setProperty(@NonNull String key, @NonNull Object value)Added in version 6.3.0
Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may change in a future release.
- getProperty(key)
@NonNull Object getProperty(@NonNull String key)
Added in version 6.3.0
Retrieves the value of a previously set property. In case the property does not exist, null is returned. Use this method to get properties that are not yet part of a stable API. These properties may change in a future release.
- getSymbologySettings(symbology)
@NonNull SymbologySettings getSymbologySettings( Symbology symbology)
Added in version 7.4.0
Get SymbologySettings specific for the given Symbology.
Note that modifying the returned object doesn’t automatically apply the changes to LabelCapture. After you made changes to the symbology settings, call LabelCapture.applySettings() with these LabelCaptureSettings to apply them.