Click or drag to resize

BarcodeManagerPressTrigger Method

Call this method to simulate a trigger button pressure.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public virtual int PressTrigger ();

Return Value

Type: System.Int32
int DecodeException.SUCCESS in case of success, otherwise a possible error code, matching one of the DecodeException error constants.

Exceptions
Exception Condition
DecodeException in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks
Call this method to simulate a trigger button pressure.
The method does not always start immediately a capture, instead it behaves like pressing scan button.

[Android Documentation]

See Also

Reference