API Reference Index
The MRZ Scanner library comes with a number of classes and interfaces which we will dive into in the API documentation. There are three main classes: MRZScanner, MRZScannerView, MRZResultView, and MRZResult. In terms of interfaces, the main ones are: MRZScannerConfig, MRZScannerViewConfig, and MRZResultViewConfig.
Please read through the full API reference, but you can find a summarized list of the classes, interfaces, and enums below.
Classes
-
MRZScanner - The main class of the MRZ Scanner, which is used to create and configure the MRZ Scanner instance.
-
MRZScannerView - Represents the main view of the MRZ Scanner where the scanning operation occurs.
-
MRZResultView - Displays the parsed MRZ result in human readable fields, along with a cropped image of the MRZ document.
Interfaces
-
MRZScannerConfig - The main configuration class of the MRZScanner. It is used to assign the supported MRTD formats of your application as well as the configurations of the MRZScannerView and the MRZResultView.
-
MRZScannerViewConfig - Configures the different UI elements of the MRZScannerView.
-
MRZResultViewConfig - Configures the different UI elements of the MRZResultView.
-
MRZResultViewToolbarButtonsConfig - Configures the toolbar buttons of the MRZResultView.
-
MRZResult - Represents a typical MRZ result along with all of the parsed fields that come with it.
-
MRZData - Represents the parsed MRZ data that is part of the
MRZResult. -
MRZDate - Represents a date in the MRZ fields - which is usually used for date of birth and the date of expiry.
Enumerations
All of the enumerations can be found here. Here is a summarized list of the available enumerations.
-
EnumMRZDocumentType - An enumeration to represent the different types of MRTD formats that the MRZScanner supports.
-
EnumResultStatus - An enumeration to represent the status of a MRZ result.
-
EnumMRZData - An enumeration to represent the different fields of the
MRZDatainterface.