MLKitBarcodeScanning フレームワーク リファレンス
BarcodeWifi
class BarcodeWifi : NSObject
WIFI:
またはそれに類似した QR コードタイプの Wi-Fi ネットワーク パラメータ。
-
宣言
Swift
var ssid: String? { get }
-
宣言
Swift
var password: String? { get }
-
-
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["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."]]],["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"]]