setWiFiAPSSID static method

  1. @Deprecated("This is will only work with < Android SDK 26.")
dynamic setWiFiAPSSID(
  1. String psSSID
)

Set WiFi AP SSID

Implementation

@Deprecated("This is will only work with < Android SDK 26.")
static setWiFiAPSSID(String psSSID) async {
  final Map<String, String> htArguments = Map();
  htArguments["ssid"] = psSSID;
  try {
    await _channel.invokeMethod('setWiFiAPSSID', htArguments);
  } on MissingPluginException catch (e) {
    print("MissingPluginException : ${e.toString()}");
  }
}