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;