| java.lang.Object | ||
| ↳ | com.datalogic.device.configuration.PropertyGroup | |
| ↳ | com.datalogic.decode.configuration.ScanningPreview | |
ScanningPreview is the class that allows to configure a preview source to
be activated in several different conditions:
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| activationByDecoding | activationByDecoding represents if the preview will be turned on during decoding. |
||||||||||
| activationByIntent | activationByIntent represents if the preview will be turned on using the specific intent actions
in a broadcast intent (ACTION_START_SCANNING_PREVIEW and
ACTION_STOP_SCANNING_PREVIEW). |
||||||||||
| activationByProximity | activationByProximity represents if the preview will be turned on using a ToF range. |
||||||||||
| activationByProximityHighThreshold | activationByProximityHighThreshold represents the high threshold of the ToF range (in mm) when the preview
can be turned on by the ToF. |
||||||||||
| activationByProximityLowThreshold | activationByProximityLowThreshold represents the low threshold of the ToF range (in mm) when the preview
can be turned on by the ToF. |
||||||||||
| activationBySdk | activationBySdk represents if the preview will be turned on using the specific SDK methods
(startScanningPreview() and stopScanningPreview()). |
||||||||||
| displayMode | displayMode indicates the display mode in which to show the scanning preview. |
||||||||||
| displayModeManualLandscapeHeight | displayModeManualLandscapeHeight indicates the height of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. |
||||||||||
| displayModeManualLandscapeWidth | displayModeManualLandscapeWidth indicates the width of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. |
||||||||||
| displayModeManualLandscapeX | displayModeManualLandscapeX indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. |
||||||||||
| displayModeManualLandscapeY | displayModeManualLandscapeY indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. |
||||||||||
| displayModeManualPortraitHeight | displayModeManualPortraitHeight indicates the height of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. |
||||||||||
| displayModeManualPortraitWidth | displayModeManualPortraitWidth indicates the width of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. |
||||||||||
| displayModeManualPortraitX | displayModeManualPortraitX indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. |
||||||||||
| displayModeManualPortraitY | displayModeManualPortraitY indicates the Y coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. |
||||||||||
| hideDelay | hideDelay represents the amount of time (in ms) the preview will be shown after
a barcode has been successfully decoded. |
||||||||||
| illuminationSource | illuminationSource indicates the illumination source used in the scanning preview. |
||||||||||
| source | source represents the source of the preview (where the frames come from). |
||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This is the constructor of ScanningPreview.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.PropertyGroup
| |||||||||||
From class
java.lang.Object
| |||||||||||
activationByDecoding represents if the preview will be turned on during decoding.
activationByIntent represents if the preview will be turned on using the specific intent actions
in a broadcast intent (ACTION_START_SCANNING_PREVIEW and
ACTION_STOP_SCANNING_PREVIEW).
activationByProximity represents if the preview will be turned on using a ToF range.
activationByProximityHighThreshold represents the high threshold of the ToF range (in mm) when the preview
can be turned on by the ToF.
activationByProximityLowThreshold represents the low threshold of the ToF range (in mm) when the preview
can be turned on by the ToF.
activationBySdk represents if the preview will be turned on using the specific SDK methods
(startScanningPreview() and stopScanningPreview()).
displayMode indicates the display mode in which to show the scanning preview.
displayModeManualLandscapeHeight indicates the height of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. The camera frames will retain their
original aspect ratio but they will resize in order to fit inside the
preview box specified by the width and height parameters.
displayModeManualLandscapeWidth indicates the width of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape. The camera frames will retain their
original aspect ratio but they will resize in order to fit inside the
preview box specified by the width and height parameters.
displayModeManualLandscapeX indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape.
displayModeManualLandscapeY indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in landscape.
displayModeManualPortraitHeight indicates the height of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. The camera frames will retain their
original aspect ratio but they will resize in order to fit inside the
preview box specified by the width and height parameters.
displayModeManualPortraitWidth indicates the width of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait. The camera frames will retain their
original aspect ratio but they will resize in order to fit inside the
preview box specified by the width and height parameters.
displayModeManualPortraitX indicates the X coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait.
displayModeManualPortraitY indicates the Y coordinate of the preview shown
in case of manual display mode for the scanning preview, when the
device is positioned in portrait.
hideDelay represents the amount of time (in ms) the preview will be shown after
a barcode has been successfully decoded.
illuminationSource indicates the illumination source used in the scanning preview.
The source selected will be turned on only when the scanning preview is activated during decoding and
only if the ILLUMINATION_ENABLE parameter is enabled.
source represents the source of the preview (where the frames come from).
This is the constructor of ScanningPreview. All options are initialized by editor.
| editor | A PropertyGetter used to load the current configuration.
|
|---|