# Print output for @column tags ?> ScanResult | Android Developers

Most visited

Recently visited

ScanResult

public class ScanResult
extends Object implements Parcelable

java.lang.Object
   ↳ com.vuzix.sdk.barcode.ScanResult


This class is deprecated.
As of Scanner 2

Represents a single barcode located within an image.

Summary

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)

Fields

CREATOR

public static final Creator<ScanResult> CREATOR

Public methods

describeContents

public int describeContents ()

Returns
int

getBytes

public byte[] getBytes ()

The raw data contained within the barcode.

Returns
byte[] a byte[]

getLocation

public Location getLocation ()

The location of the barcode.

Returns
Location a Location

getText

public String getText ()

The value of the barcode, as a String.

Returns
String a String

getType

public BarcodeType getType ()

The type of barcode.

Returns
BarcodeType a BarcodeType

writeToParcel

public void writeToParcel (Parcel out, 
                int flags)

Parameters
out Parcel

flags int