Package com.google.zxing.qrcode.decoder
Class QRCodeDecoderMetaData
- java.lang.Object
-
- com.google.zxing.qrcode.decoder.QRCodeDecoderMetaData
-
public final class QRCodeDecoderMetaData extends java.lang.Object
Meta-data container for QR Code decoding. Instances of this class may be used to convey information back to the decoding caller. Callers are expected to process this.- See Also:
DecoderResult.getOther()
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
mirrored
-
Constructor Summary
Constructors Constructor Description QRCodeDecoderMetaData(boolean mirrored)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyMirroredCorrection(ResultPoint[] points)
Apply the result points' order correction due to mirroring.boolean
isMirrored()
-
-
-
Method Detail
-
isMirrored
public boolean isMirrored()
- Returns:
- true if the QR Code was mirrored.
-
applyMirroredCorrection
public void applyMirroredCorrection(ResultPoint[] points)
Apply the result points' order correction due to mirroring.- Parameters:
points
- Array of points to apply mirror correction to.
-
-