Click or drag to resize

VisualFormatterSetTimeout Method

Sets the Visual Formatter script execution timeout.

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 SetTimeout(
	int timeout
)

Parameters

timeout
Type: SystemInt32
- The timeout in milliseconds, with accepted values in range 10-1000.

Return Value

Type: Int32
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
ExceptionCondition
DecodeException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Sets the Visual Formatter script execution timeout. If during the execution of a script the timeout is reached, an error is returned.

[Android Documentation]

See Also