Enable South African Driving License parser
The South African Driver's License (SA-DL) defines the standard for driver’s license barcode data across South Africa.
To enable it, look at the example below;
// Enable PDF417 symbology and South African Driving License parser
barkoderView.setBarcodeTypeEnabled([
BarkoderConstants.DecoderType.PDF417
]);
barkoderView.setFormattingType(BarkoderConstants.FormattingType.SADL)
// Beta: Parsers for data in South African IDs and South African Vehicle License Discs
barkoderView.setCustomOption("SADL_decode_ID", 1)
barkoderView.setCustomOption("SADL_decode_vehicle_disk", 1)
// Get SADL image - called when Barkoder returns a scan result
const sadlImage = barkoderView.getSadlImageFromExtra(result.extra);