\ZxingResult

<p>Encapsulates the result of decoding a barcode within an image.</p>

Summary

Methods
Properties
Constants
__construct()
getText()
getRawBytes()
getResultPoints()
getBarcodeFormat()
getResultMetadata()
putMetadata()
putAllMetadata()
addResultPoints()
getTimestamp()
toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$text
$rawBytes
$resultPoints
$format
$resultMetadata
$timestamp
N/A

Properties

$text

$text

$rawBytes

$rawBytes

$resultPoints

$resultPoints

$format

$format

$resultMetadata

$resultMetadata

$timestamp

$timestamp

Methods

__construct()

__construct(mixed  $text, mixed  $rawBytes, mixed  $resultPoints, mixed  $format, mixed  $timestamp = '') : mixed

Parameters

mixed $text
mixed $rawBytes
mixed $resultPoints
mixed $format
mixed $timestamp

Returns

mixed —

getText()

getText() : \Zxing\raw

Returns

\Zxing\raw —

text encoded by the barcode

getRawBytes()

getRawBytes() : \Zxing\raw

Returns

\Zxing\raw —

bytes encoded by the barcode, if applicable, otherwise {@code null}

getResultPoints()

getResultPoints() : \Zxing\points

Returns

\Zxing\points —

related to the barcode in the image. These are typically points identifying finder patterns or the corners of the barcode. The exact meaning is specific to the type of barcode that was decoded.

getBarcodeFormat()

getBarcodeFormat() : mixed

Returns

mixed —

getResultMetadata()

getResultMetadata() : mixed

Returns

mixed —

putMetadata()

putMetadata(mixed  $type, mixed  $value) : mixed

Parameters

mixed $type
mixed $value

Returns

mixed —

putAllMetadata()

putAllMetadata(mixed  $metadata) : mixed

Parameters

mixed $metadata

Returns

mixed —

addResultPoints()

addResultPoints(mixed  $newPoints) : mixed

Parameters

mixed $newPoints

Returns

mixed —

getTimestamp()

getTimestamp() : mixed

Returns

mixed —

toString()

toString() : mixed

Returns

mixed —