-
public final class DecodeFormatManager解码格式管理器
将常见的一些解码配置已根据条形码类型进行了几大划分,可根据需要找到符合的划分配置类型直接使用。
-
-
Field Summary
Fields Modifier and Type Field Description public final static Map<DecodeHintType, Object>ALL_HINTSpublic final static Map<DecodeHintType, Object>CODE_128_HINTSpublic final static Map<DecodeHintType, Object>QR_CODE_HINTSpublic final static Map<DecodeHintType, Object>ONE_DIMENSIONAL_HINTSpublic final static Map<DecodeHintType, Object>TWO_DIMENSIONAL_HINTSpublic final static Map<DecodeHintType, Object>DEFAULT_HINTS
-
Method Summary
Modifier and Type Method Description static Map<DecodeHintType, Object>createDecodeHints(@NonNull() Array<BarcodeFormat> barcodeFormats)支持解码的格式 static Map<DecodeHintType, Object>createDecodeHint(@NonNull() BarcodeFormat barcodeFormat)支持解码的格式 -
-
Method Detail
-
createDecodeHints
static Map<DecodeHintType, Object> createDecodeHints(@NonNull() Array<BarcodeFormat> barcodeFormats)
支持解码的格式
- Parameters:
barcodeFormats- BarcodeFormat
-
createDecodeHint
static Map<DecodeHintType, Object> createDecodeHint(@NonNull() BarcodeFormat barcodeFormat)
支持解码的格式
- Parameters:
barcodeFormat- BarcodeFormat
-
-
-
-