public final class DecoderResult extends Object
Encapsulates the result of decoding a matrix of bits. This typically applies to 2D barcode formats. For now it contains the raw bytes obtained, as well as a String interpretation of those bytes, if applicable.
| Constructor and Description |
|---|
DecoderResult(byte[] rawBytes,
String text,
Vector byteSegments,
ErrorCorrectionLevel ecLevel) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
getByteSegments() |
ErrorCorrectionLevel |
getECLevel() |
byte[] |
getRawBytes() |
String |
getText() |
public DecoderResult(byte[] rawBytes,
String text,
Vector byteSegments,
ErrorCorrectionLevel ecLevel)
public byte[] getRawBytes()
public String getText()
public Vector getByteSegments()
public ErrorCorrectionLevel getECLevel()
Copyright © 2016. All Rights Reserved.