java.lang.Object | |
↳ | com.datalogic.decode.CameraWedgePreviewManager |
CameraWedgePreviewManager
is a class used to setup a preview that will be shown
when the camera wedge feature is running, but only when no barcode is shown. It can be
useful in case the user wants to show a custom message or logo.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the installed camera wedge preview image.
| |||||||||||
Gets an instance of the CameraWedgePreviewManager, if it is supported by the platform.
| |||||||||||
Install a preview image to show during camera wedge when no barcode is shown.
| |||||||||||
Install a preview image to show during camera wedge when no barcode is shown.
| |||||||||||
Install a preview image to show during camera wedge when no barcode is shown.
| |||||||||||
Install a preview image to show during camera wedge when no barcode is shown.
| |||||||||||
Remove the camera wedge preview image previously installed, if found.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the installed camera wedge preview image.
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|
Gets an instance of the CameraWedgePreviewManager, if it is supported by the platform.
Install a preview image to show during camera wedge when no barcode is shown. The input image will be centered into a 1080x1920 frame, applying scaling only if the specified parameter is set to true.
bmp | The image to install. |
---|---|
scalingEnabled | True if the image should be scaled after being centered into a frame of size 1080x1920. The scaling will preserve the aspect ratio. |
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|
Install a preview image to show during camera wedge when no barcode is shown. Performs no scaling of the input image, which will be centered into a 1080x1920 frame.
bmp | The image to install. If the image doesn't fit the 1080x1920 frame, it will only be centered. |
---|
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|
Install a preview image to show during camera wedge when no barcode is shown. Performs no scaling of the input image, which will be centered into a 1080x1920 frame.
path | The path to the file containing the image. In order to be used, the file must be accessible by the application itself. If the image doesn't fit the 1080x1920 frame, it will only be centered. |
---|
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|
Install a preview image to show during camera wedge when no barcode is shown. The input image will be centered into a 1080x1920 frame, applying scaling only if the specified parameter is set to true.
path | The path to the file containing the image. In order to be used, the file must be accessible by the application itself. |
---|---|
scalingEnabled | True if the image should be scaled after being centered into a frame of size 1080x1920. The scaling will preserve the aspect ratio. |
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|
Remove the camera wedge preview image previously installed, if found.
DecodeException | in case of error, when exceptions are enabled through the ErrorManager singleton.
|
---|