setHints

fun setHints(hints: Map<DecodeHintType, Any>?): DecodeConfig

设置解码 Hint。

内置的一些解码配置可参见: DecodeFormatManager.DEFAULT_HINTS DecodeFormatManager.CODE_128_HINTS DecodeFormatManager.ONE_DIMENSIONAL_HINTS

如果不满足需求,也可以通过 DecodeFormatManager.createDecodeHints 自行配置支持的格式。