Jump to top

VisionBarcodeWifi

interface

Wifi network parameters from a 'WIFI:' 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.WIFI) {
  console.log(barcode.wifi);
}

Properties

encryptionType

</>

The encryption type of the WIFI. e.g. VisionBarcodeWifiEncryptionType.WPA

encryptionType: number;

password

</>

The password for this WIFI.

password: string | null;

ssid

</>

The SSID for this WIFI.

ssid: string | null;