public class WifiPlatform
- Object
- WifiPlatform
Platform-supplied implementation of the WiFi APIs.
Application code talks to the static facade in WiFi; that facade
fetches the active platform via Display.getInstance().getWifiPlatform()
and dispatches each call here. Codename One platform ports
(Android / iOS / JavaSE / future) supply a subclass; the no-op default
returned by CodenameOneImplementation keeps stub builds compiling.
This is part of the framework’s service-provider interface and not intended for application use.
Constructors
public WifiPlatform() |
Methods
Inherited methods
Constructor details
WifiPlatform
public WifiPlatform()Method details
isInfoSupported
public boolean isInfoSupported()isManagementSupported
public boolean isManagementSupported()getCurrentSSID
public String getCurrentSSID()getBSSID
public String getBSSID()getGateway
public String getGateway()getIp
public String getIp()scan
public void scan(WiFiScanCallback callback)connect
public void connect(String ssid, String password, WiFiSecurity security, WiFiConnectCallback callback)disconnect
public void disconnect(String ssid)