GoodReadOverlayManagerAdd Method |
Adds a new good read overlay image by specifying a png file.
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 Add (string path, Com.Datalogic.Decode.GoodReadOverlayManager.PersistenceType persistenceType);
Public Virtual Integer Add (String path, Com.Datalogic.Decode.GoodReadOverlayManager.PersistenceType persistenceType);
Parameters
- path
- Type: System.String
The full path to a png file of the image. - persistenceType
- Type: Com.Datalogic.Decode.GoodReadOverlayManager+PersistenceType
The type of persistence required for this overlay. Can only be reboot or enterprise reset persistent.
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
Adds a new good read overlay image by specifying a png file.
If the image share the same filename of another image already installed the second image will be overwritten.
The image to be installed must not be located within an application's internal storage.
[Android Documentation]
See Also