Gets the barcode selected by the user or the barcode with the specified identifier.

<void> BarcodeCollection.getItem(<RequestBarcodeFrameCallback> callback, [<ErrorCallback> errorCallback], [<number> id])

Parameters

Parameter Description
callback Receives the requested barcode or null if there is no barcode at the current input position / with the specified identifier.
errorCallback Optional. Is called when the operation failed with an error.
id Optional. The barcode's identifier.