public class

ScanResult

extends Object
implements Parcelable
java.lang.Object
   ↳ com.vuzix.sdk.barcode.ScanResult

This class is deprecated.
As of Scanner 2

Class Overview

Represents a single barcode located within an image.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<ScanResult> CREATOR
Public Methods
int describeContents()
byte[] getBytes()
The raw data contained within the barcode.
Location getLocation()
The location of the barcode.
String getText()
The value of the barcode, as a String.
BarcodeType getType()
The type of barcode.
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<ScanResult> CREATOR

Public Methods

public int describeContents ()

Returns
int

public byte[] getBytes ()

The raw data contained within the barcode.

Returns
byte[] a byte[]

public Location getLocation ()

The location of the barcode.

Returns
Location a Location

public String getText ()

The value of the barcode, as a String.

Returns
String a String

public BarcodeType getType ()

The type of barcode.

Returns
BarcodeType a BarcodeType

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int