Class TwoLineMrzFinderLayoutPreset
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class TwoLineMrzFinderLayoutPreset extends MrzFinderLayoutPreset implements Parcelable
A ready-to-use preset 2-line text to be displayed.
-
-
Field Summary
Fields Modifier and Type Field Description private final String_typeprivate StringmrzTextLine1private StringmrzTextLine2private final DoubleadjustedFinderAspectRatio
-
Constructor Summary
Constructors Constructor Description TwoLineMrzFinderLayoutPreset(Map<String, Object> source)TwoLineMrzFinderLayoutPreset(JSONObject json)TwoLineMrzFinderLayoutPreset(String mrzTextLine1, String mrzTextLine2, 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 DoublegetAdjustedFinderAspectRatio()Aspect ratio of the finder adjusted to the 2-line MRZ text. JSONObjecttoJson(ToJsonConfiguration config)TwoLineMrzFinderLayoutPresetclone()final static TwoLineMrzFinderLayoutPresetdefault()-
-
Constructor Detail
-
TwoLineMrzFinderLayoutPreset
TwoLineMrzFinderLayoutPreset(JSONObject json)
-
-
Method Detail
-
getMrzTextLine1
final String getMrzTextLine1()
The first line of the MRZ text.
Default is "I<USASMITH<<JACK<<<<<<<<<<<<<<<<<<<<"
-
setMrzTextLine1
final Unit setMrzTextLine1(String mrzTextLine1)
The first line of the MRZ text.
Default is "I<USASMITH<<JACK<<<<<<<<<<<<<<<<<<<<"
-
getMrzTextLine2
final String getMrzTextLine2()
The second line of the MRZ text.
Default is "2342353464USA9602300M2904076<<<<<<<2"
-
setMrzTextLine2
final Unit setMrzTextLine2(String mrzTextLine2)
The second line of the MRZ text.
Default is "2342353464USA9602300M2904076<<<<<<<2"
-
getAdjustedFinderAspectRatio
final Double getAdjustedFinderAspectRatio()
Aspect ratio of the finder adjusted to the 2-line MRZ text. Not editable. To override, please use 'aspectRatio' parameter in 'viewFinder' field in MRZ screen configuration.
Default is 5.390625
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
clone
TwoLineMrzFinderLayoutPreset clone()
-
default
final static TwoLineMrzFinderLayoutPreset default()
-
-
-
-