# Print output for @column tags ?>
public
static
interface
ScannerFragment.Listener2
com.vuzix.sdk.barcode.ScannerFragment.Listener2 |
Public methods | |
---|---|
abstract
void
|
onError()
An irrecoverable error has occurred within the ScannerFragment. |
abstract
void
|
onScan2Result(Bitmap bitmap, ScanResult2[] results)
One or more barcodes have been identified. |
public abstract void onError ()
An irrecoverable error has occurred within the ScannerFragment. The fragment should be removed from your activity upon this method being invoked. This method will be invoked on the main application thread.
public abstract void onScan2Result (Bitmap bitmap, ScanResult2[] results)
One or more barcodes have been identified. Note that this method will be called repeatedly as a barcode remains in the scanning rect. If you only want to be notified once, you should unregister your listener during this method call. This method will be invoked on the main application thread.
Parameters | |
---|---|
bitmap |
Bitmap : the bitmap in which barcodes were found |
results |
ScanResult2 : an array of ScanResult
|