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
BKDView.SetBarcodeTypeEnabled(Plugin.Maui.Barkoder.Enums.BarcodeType.PDF417, true);
BKDView.SetFormattingType(FormattingType.SADL);
// Beta: Parsers for data in South African IDs and South African Vehicle License Discs
BKDView.SetCustomOption("SADL_decode_ID" , 1);
BKDView.SetCustomOption("SADL_decode_vehicle_disk" , 1);
// Get SADL image - called when Barkoder returns a scan result
var base64SadlImage = result[0].SadlImageAsBase64;