目录

CLASS info
public final class BarCode implements Parcelable
Barcode object of the current pass. Options: qrCode and codabar.

Nested Class Summary

TypeNameDesc
classBarCode.BuilderAssigns the BarCode value using the builder method.

Field Summary

TypeNameDesc
public static final Creator<BarCode> CREATORCREATORInstantiates the static object to implement Parcelable.Creator.

Public Method Summary

Return typeMethod name
String

getText()

Obtains the barcode text, an additional description displayed under the barcode (qrCode or codabar).

String

getType()

Obtains the barcode type, which can be qrCode or codabar. If no barcode type is specified, qrCode will be used by default.

String

getValue()

Obtains the barcode value.

BarCode.Builder

getBuilder()

Obtains the Builder object.

Public Method

Method
public String getText()
Obtains the barcode text, an additional description displayed under the barcode (qrCode or codabar).

Return

Typedesc
StringBarcode text.
Method


public String getType()

Obtains the barcode type, which can be qrCode or codabar. If no barcode type is specified, qrCode will be used by default.

Return

Typedesc
StringBarcode type.


Method
public String getValue()
Obtains the barcode value.

Return

Typedesc
StringBarcode value.
Method
public static BarCode .Builder getBuilder()
Obtains the Builder object.

Return

Typedesc
BarCode .BuilderBuilder object.