# Class Barcode

java.lang.Object
com.codename1.ai.vision.Barcode

public final class Barcode extends Object
Portable barcode observation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Barcode(String value, String format, byte[] rawBytes, VisionRect bounds, VisionPoint[] corners)`
  `Barcode(String value, String format, byte[] rawBytes, VisionRect bounds, VisionPoint[] corners, VisionMetadata metadata)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VisionRect`
  `getBounds()`
  `VisionPoint[]`
  `getCorners()`
  `String`
  `getFormat()`
  `VisionMetadata`
  `getMetadata()`
  `byte[]`
  `getRawBytes()`
  `String`
  `getValue()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Barcode

    public Barcode(String value, String format, byte[] rawBytes, VisionRect bounds, VisionPoint[] corners)

  - ### Barcode

    public Barcode(String value, String format, byte[] rawBytes, VisionRect bounds, VisionPoint[] corners, VisionMetadata metadata)

- ## Method Details

  - ### getValue

    public String getValue()

  - ### getFormat

    public String getFormat()

  - ### getRawBytes

    public byte[] getRawBytes()

  - ### getBounds

    public VisionRect getBounds()

  - ### getCorners

    public VisionPoint[] getCorners()

  - ### getMetadata

    public VisionMetadata getMetadata()