Interface DecoderFactory

  • All Known Implementing Classes:
    DefaultDecoderFactory

    public interface DecoderFactory
    Factory to create Decoder instances. Typically one instance will be created per DecoderThread.
    See Also:
    DefaultDecoderFactory
    • Method Detail

      • createDecoder

        Decoder createDecoder​(Map<com.google.zxing.DecodeHintType,​?> baseHints)
        Create a new Decoder. While this method will only be called from a single thread, the created Decoder will be used from a different thread. Each decoder will only be used from a single thread.
        Parameters:
        baseHints - default hints. Typically specifies DecodeHintType.NEED_RESULT_POINT_CALLBACK.
        Returns:
        a new Decoder