hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
Result[] results = null;
try {
MultiFormatReader multiFormatReader = new MultiFormatReader();
// Result result = multiFormatReader.decode(bitmap, hints);
GenericMultipleBarcodeReader reader = new GenericMultipleBarcodeReader(multiFormatReader);
results = reader.decodeMultiple(bitmap, hints);
}
catch (NotFoundException exception) {
// Ignore.
}
return results;