extractWifiCredentials

fun extractWifiCredentials(qrCode: String): ERROR CLASS: Symbol not found for Pair<kotlin/String?, kotlin/String?>(source)

Extracts WIFI SSID and password from a QR code string. Expected format: WIFI:S:SSID;P:PASSWORD;;

Return

A pair of (SSID, Password), or (null, null) if not found.

Parameters

qrCode

The string content of the QR code.