MLKitBarcodeScanning Framework Reference

  • BarcodeWifi objects store Wi-Fi network information like SSID, password, and encryption type extracted from QR codes.

  • These objects provide read-only access to the SSID, password, and encryption type of the Wi-Fi network.

  • The encryption type is represented by the MLKBarcodeWiFiEncryptionType enum.

  • Direct initialization of BarcodeWifi objects is not allowed.

BarcodeWifi

class BarcodeWifi : NSObject

Wi-Fi network parameters from a WIFI: or similar QR Code type.

  • A Wi-Fi access point SSID.

    Declaration

    Swift

    var ssid: String? { get }
  • A Wi-Fi access point password.

    Declaration

    Swift

    var password: String? { get }
  • A Wi-Fi access point encryption type.

    Declaration

    Swift

    var type: BarcodeWiFiEncryptionType { get }
  • Unavailable.