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_typeprivate StringmrzTextLine1private StringmrzTextLine2private StringmrzTextLine3private final DoubleadjustedFinderAspectRatio
-
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 Stringget_type()final StringgetMrzTextLine1()The first line of the MRZ text. final UnitsetMrzTextLine1(String mrzTextLine1)The first line of the MRZ text. final StringgetMrzTextLine2()The second line of the MRZ text. final UnitsetMrzTextLine2(String mrzTextLine2)The second line of the MRZ text. final StringgetMrzTextLine3()The third line of the MRZ text. final UnitsetMrzTextLine3(String mrzTextLine3)The third line of the MRZ text. final DoublegetAdjustedFinderAspectRatio()Aspect ratio of the finder adjusted to the 3-line MRZ text. JSONObjecttoJson(ToJsonConfiguration config)ThreeLineMrzFinderLayoutPresetclone()final static ThreeLineMrzFinderLayoutPresetdefault()-
-
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()
-
-
-
-