CameraWedgePreviewManagerInstall Method |
Install a preview image to show during camera wedge when no barcode is shown.
Namespace:
Com.Datalogic.Decode
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0
(1.0.0.0)
Syntax
public virtual int Install (string path, bool scalingEnabled);
Public Virtual Integer Install (String path, Boolean scalingEnabled);
Parameters
- path
- Type: System.String
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. - scalingEnabled
- Type: System.Boolean
No description available.
Return Value
Type: System.Int32
DecodeException.SUCCESS in case it succeeds, otherwise it returns an error code if the
exceptions are disabled or throws a DecodeException in case the exceptions are enabled.
Exceptions
Exception |
Condition |
DecodeException |
in case of error, when exceptions are enabled through the ErrorManager singleton. |
Remarks
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.
[Android Documentation]
See Also