Jump to top

VisionBarcodeUrl

interface

A URL and title from a 'MEBKM:' or similar QRCode type.

Example
import vision, { VisionBarcodeValueType } from '@react-native-firebase/ml-vision';

const [barcode, ...otherBarcodes] = await vision().barcodeDetectorProcessImage(filePath);

if (barcode && barcode.valueType === VisionBarcodeValueType.URL) {
  console.log(barcode.url);
}

Properties

title

</>

The title for this url.

title: string | null;

url

</>

The URL.

url: string | null;