timeout property

double? timeout

Allows you to set the time limit for document recognition (in seconds), beyond which the recognition does not continue regardless of its result. The countdown starts from the moment the scenario starts. Setting value to 0 means infinity.

Implementation

double? get timeout => _timeout;
void timeout=(double? val)

Implementation

set timeout(double? val) {
  _timeout = val;
  _set({"timeout": val});
}