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

MethodDescription
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:

ParameterTypeDescription
contextandroid.content.Context
resultsBarCodeResult[]array of the recognized results. null - not recognized
settingsBarcodeSettings

Returns: boolean - need repeat