MLKitBarcodeScanning Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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.
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eBarcodeWifi objects store Wi-Fi network information like SSID, password, and encryption type extracted from QR codes.\u003c/p\u003e\n"],["\u003cp\u003eThese objects provide read-only access to the SSID, password, and encryption type of the Wi-Fi network.\u003c/p\u003e\n"],["\u003cp\u003eThe encryption type is represented by the MLKBarcodeWiFiEncryptionType enum.\u003c/p\u003e\n"],["\u003cp\u003eDirect initialization of BarcodeWifi objects is not allowed.\u003c/p\u003e\n"]]],["The `BarcodeWifi` class extracts Wi-Fi network details from a QR code. It provides three key properties: `ssid` (the Wi-Fi network name), `password` (the network password), and `type` (the network's encryption type). These properties are read-only (get). The class's initializer, `-init`, is marked as unavailable, indicating instances are created differently, likely through parsing a QR code.\n"],null,["BarcodeWifi \n\n class BarcodeWifi : NSObject\n\nWi-Fi network parameters from a `WIFI:` or similar QR Code type.\n- `\n ``\n ``\n `\n\n [ssid](#/c:objc(cs)MLKBarcodeWiFi(py)ssid)`\n ` \n A Wi-Fi access point SSID. \n\n Declaration \n Swift \n\n var ssid: String? { get }\n\n- `\n ``\n ``\n `\n\n [password](#/c:objc(cs)MLKBarcodeWiFi(py)password)`\n ` \n A Wi-Fi access point password. \n\n Declaration \n Swift \n\n var password: String? { get }\n\n- `\n ``\n ``\n `\n\n [type](#/c:objc(cs)MLKBarcodeWiFi(py)type)`\n ` \n A Wi-Fi access point encryption type. \n\n Declaration \n Swift \n\n var type: ../Type-Definitions.html#/c:MLKBarcode.h@T@MLKBarcodeWiFiEncryptionType { get }\n\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)MLKBarcodeWiFi(im)init)`\n ` \n Unavailable."]]