Class WifiPlatform
java.lang.Object
com.codename1.io.wifi.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect(String ssid, String password, WiFiSecurity security, WiFiConnectCallback callback) voiddisconnect(String ssid) getBSSID()getIp()booleanbooleanvoidscan(WiFiScanCallback callback)
-
Constructor Details
-
WifiPlatform
public WifiPlatform()
-
-
Method Details
-
isInfoSupported
public boolean isInfoSupported() -
isManagementSupported
public boolean isManagementSupported() -
getCurrentSSID
-
getBSSID
-
getGateway
-
getIp
-
scan
-
connect
public void connect(String ssid, String password, WiFiSecurity security, WiFiConnectCallback callback) -
disconnect
-