Class ThreeLineMrzFinderLayoutPreset
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ThreeLineMrzFinderLayoutPreset extends MrzFinderLayoutPreset implements Parcelable
A ready-to-use preset 3-line text to be displayed.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private String
mrzTextLine1
private String
mrzTextLine2
private String
mrzTextLine3
private final Double
adjustedFinderAspectRatio
-
Constructor Summary
Constructors Constructor Description ThreeLineMrzFinderLayoutPreset(Map<String, Object> source)
ThreeLineMrzFinderLayoutPreset(JSONObject json)
ThreeLineMrzFinderLayoutPreset(String mrzTextLine1, String mrzTextLine2, String mrzTextLine3, Double adjustedFinderAspectRatio)
-
Method Summary
Modifier and Type Method Description String
get_type()
final String
getMrzTextLine1()
The first line of the MRZ text. final Unit
setMrzTextLine1(String mrzTextLine1)
The first line of the MRZ text. final String
getMrzTextLine2()
The second line of the MRZ text. final Unit
setMrzTextLine2(String mrzTextLine2)
The second line of the MRZ text. final String
getMrzTextLine3()
The third line of the MRZ text. final Unit
setMrzTextLine3(String mrzTextLine3)
The third line of the MRZ text. final Double
getAdjustedFinderAspectRatio()
Aspect ratio of the finder adjusted to the 3-line MRZ text. JSONObject
toJson(ToJsonConfiguration config)
ThreeLineMrzFinderLayoutPreset
clone()
final static ThreeLineMrzFinderLayoutPreset
default()
-
-
Constructor Detail
-
ThreeLineMrzFinderLayoutPreset
ThreeLineMrzFinderLayoutPreset(JSONObject json)
-
-
Method Detail
-
getMrzTextLine1
final String getMrzTextLine1()
The first line of the MRZ text.
Default is "I<USA2342353464<<<<<<<<<<<<<<<"
-
setMrzTextLine1
final Unit setMrzTextLine1(String mrzTextLine1)
The first line of the MRZ text.
Default is "I<USA2342353464<<<<<<<<<<<<<<<"
-
getMrzTextLine2
final String getMrzTextLine2()
The second line of the MRZ text.
Default is "9602300M2904076USA<<<<<<<<<<<2"
-
setMrzTextLine2
final Unit setMrzTextLine2(String mrzTextLine2)
The second line of the MRZ text.
Default is "9602300M2904076USA<<<<<<<<<<<2"
-
getMrzTextLine3
final String getMrzTextLine3()
The third line of the MRZ text.
Default is "SMITH<<JACK<<<<<<<<<<<<<<<<<<<"
-
setMrzTextLine3
final Unit setMrzTextLine3(String mrzTextLine3)
The third line of the MRZ text.
Default is "SMITH<<JACK<<<<<<<<<<<<<<<<<<<"
-
getAdjustedFinderAspectRatio
final Double getAdjustedFinderAspectRatio()
Aspect ratio of the finder adjusted to the 3-line MRZ text. Not editable. To override, please use 'aspectRatio' parameter in 'viewFinder' field in MRZ screen configuration.
Default is 4.3125
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
clone
ThreeLineMrzFinderLayoutPreset clone()
-
default
final static ThreeLineMrzFinderLayoutPreset default()
-
-
-
-