/** * Overrides the default charset by supplying a {@link com.google.zxing.EncodeHintType#CHARACTER_SET} hint to {@link * com.google.zxing.qrcode.QRCodeWriter#encode} * * @return the current QRCode object */ public QRCode withCharset(String charset) { return withHint(EncodeHintType.CHARACTER_SET, charset); }
/** * Overrides the default error correction by supplying a {@link com.google.zxing.EncodeHintType#ERROR_CORRECTION} hint to * {@link com.google.zxing.qrcode.QRCodeWriter#encode} * * @return the current QRCode object */ public QRCode withErrorCorrection(ErrorCorrectionLevel level) { return withHint(EncodeHintType.ERROR_CORRECTION, level); }