BarcodeRecognitionResultsHandler
public interface BarcodeRecognitionResultsHandler
Handler for processing the recognition results Use on recognition activity side. Implements Parcelable to return the userdata from recognition activity side.
Methods
Method | Description |
---|---|
processResult(Context context, BarCodeResult[] results, BarcodeSettings settings) | Process the recognition results. |
processResult(Context context, BarCodeResult[] results, BarcodeSettings settings)
public abstract boolean processResult(Context context, BarCodeResult[] results, BarcodeSettings settings)
Process the recognition results. If repeat flag = false, finishes the recognition process and closes recognition activity and the device camera
Parameters:
Parameter | Type | Description |
---|---|---|
context | android.content.Context | |
results | BarCodeResult[] | array of the recognized results. null - not recognized |
settings | BarcodeSettings |
Returns: boolean - need repeat