Package com.codename1.io.wifi
package com.codename1.io.wifi
WiFi inspection, scanning, connection and peer-to-peer (WiFi Direct).
WiFi exposes the current connection's SSID/BSSID/IP plus APIs to scan
for and connect to nearby networks (WiFiNetwork, WiFiSecurity,
WiFiScanCallback, WiFiConnectCallback).
WiFiDirect covers Android-style WiFi Direct peer discovery and
session setup via WiFiDirectPeer and WiFiDirectListener.
WifiPlatform / WifiDirectPlatform are the SPIs the active port
implements; on modern Android (10+) and iOS, the SSID/BSSID queries
require runtime permissions or entitlements that the build pipeline
injects automatically based on classpath scanning.
-
ClassDescriptionEntry point for inspecting, scanning and connecting to WiFi networks.Callback for
WiFi.connect(...).WiFi Direct (Wi-Fi P2P) discovery and grouping.Listener for WiFi Direct peer discovery.One peer discovered byWiFiDirect.startDiscovery(...).Platform-supplied implementation of the WiFi-Direct API.One entry in a WiFi scan result.Platform-supplied implementation of the WiFi APIs.Callback forWiFi.scan(...).Security mode advertised by an access point.