-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.Platform.scanBarCodeRequiredLength
rescocrm edited this page May 15, 2023
·
3 revisions
Activates the bar-code scanning.
If the current platform does not support the bar-code scanning, the failed handler is called with error "Unsupported".
Argument | Type | Description |
---|---|---|
requiredLength | Number | Set required length of scanned barcode. |
success | function(result) | A callback function for successful asynchronous result. The result will carry an array of strings with scanned codes. |
failed | function(error) | A callback function for command failure. The error argument will carry the error message. |
scope | A scope for calling the callbacks; set "null" to call the callbacks in global scope. |