Package com.journeyapps.barcodescanner
Interface DecoderFactory
-
- All Known Implementing Classes:
DefaultDecoderFactory
public interface DecoderFactoryFactory to create Decoder instances. Typically one instance will be created per DecoderThread.- See Also:
DefaultDecoderFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecodercreateDecoder(Map<com.google.zxing.DecodeHintType,?> baseHints)Create a new Decoder.
-
-
-
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
-
-