onSuccess


Purpose

Invoked when the scan has been successful. A JSON object passed as a parameter specifies the scanned data and its format.

Signature

onSuccess( {data, format} )

Returns

This method does not return anything.

Parameter

Name Description Type Use
data Contains the scanned barcode data. string required
format Contains the format of the scanned barcode. int required

Related topics

Public API reference
scan
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...