Class MrtdSpecification

  • public class MrtdSpecification
    extends Specification
    Class representing specification of MRTD (Machine Readable Travel Document) that can be detected with MRTDDetector.
    • Constructor Detail

      • MrtdSpecification

        public MrtdSpecification​(long nativeContext)
        Constructor from native object. For internal use only. For creating specification, please use createFromPreset(MrtdSpecificationPreset).
        nativeContext - Pointer to native object.
    • Method Detail

      • getNativeContext

        public long getNativeContext()
      • createFromPreset

        public static MrtdSpecification createFromPreset​(@NonNull
                                                         MrtdSpecificationPreset preset)
        Creates a new MRTD (Machine Readable Travel Document) specification from the predefined preset.
        preset - Preset defining which MRTD detection settings should be used.
        MRTD specification created from given preset