setWiFiAPPreSharedKey static method
Set WiFi AP password
Implementation
@Deprecated("This is will only work with < Android SDK 26.")
static setWiFiAPPreSharedKey(String psPreSharedKey) async {
final Map<String, String> htArguments = Map();
htArguments["preSharedKey"] = psPreSharedKey;
try {
await _channel.invokeMethod('setWiFiAPPreSharedKey', htArguments);
} on MissingPluginException catch (e) {
print("MissingPluginException : ${e.toString()}");
}
}