Returns the name (SSID) of the current network the user is connected with.
app.GetSSID() → String
If WiFi is disabled “” is returned.
See Also: IsWifiEnabled, SetWifiEnabled, WifiConnect
Example - Show SSID
function OnStart()
{
var ssid = app.GetSSID();
app.Alert( ssid );
}
from native import app
def OnStart():
ssid = app.GetSSID()
app.Alert(ssid)