| CLASS info |
| public final class BarCode.Builder |
| Assigns the BarCode value using the builder method. |
| Return type | Method name |
| BarCode.Builder | setText(String Text) (Optional) Sets the bar code text, an additional description displayed under the barcode (qrCode or codabar). |
| BarCode.Builder | setType(String type) (Optional) Sets the barcode type. Options: qrCode and codabar. If no barcode type is specified, qrCode will be used by default. |
| BarCode.Builder | setValue(String value) (Optional) Sets the barcode value. |
| BarCode | build() Obtains the BarCode object that has been assigned a value using the builder method. |
| Method |
public BarCode.Builder settext(String text) |
| (Optional) Sets the barcode text, an additional description displayed under the barcode (qrCode or codabar). |
Parameters
| Parameter name | Parameter desc |
| alternateText | Barcode text. |
Return
| Type | desc |
| BarCode.Builder | Builder object. |
| Method |
public BarCode.Builder setType (String type) |
| (Optional) Sets the barcode type. Options: qrCode and codabar. If no barcode type is specified, qrCode will be used by default. |
Parameters
| Parameter name | Parameter desc |
| type | Barcode type. |
Return
| Type | desc |
| BarCode.Builder | Builder object. |
| Method |
public BarCode.Builder setValue(String value) |
| (Optional) Sets the barcode value. |
Parameters
| Parameter name | Parameter desc |
| type | Barcode value. |
Return
| Type | desc |
| BarCode.Builder | Builder object. |
| Method |
public BarCode build() |
| Obtains the BarCode object that has been assigned a value using the builder method. |
Return
| Type | desc |
| BarCode | BarCode object. |