BarcodeManagerStartDecode Method (Int32) |
Call this method to start decoding.
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 StartDecode(
int timeout
)
Public Overridable Function StartDecode (
timeout As Integer
) As Integer
Parameters
- timeout
- Type: SystemInt32
- int representing the amount of time, in milliseconds,
to continue the attempt to acquire data. If data has not been
obtained after this time period, then the decoder is deactivated.
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
DecodeException error constants.
Exceptions Remarks Call this method to start decoding.
If the trigger is already active, the present timeout is reset to the new
value and the count starts again.
Example:
public int startDecodingForFiveSeconds(BarcodeManager decoder) {
  decoder.startDecode(5000);
}
[Android Documentation]
See Also