Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public class WifiDirectPlatform
- Object
- WifiDirectPlatform
Platform-supplied implementation of the WiFi-Direct API. Application
code talks to the static facade in WiFiDirect; that facade fetches
the active platform via Display.getInstance().getWifiDirectPlatform()
and dispatches each call here.
This is part of the framework’s service-provider interface and not intended for application use.
Constructors
public WifiDirectPlatform() |
Methods
Inherited methods
Constructor details
WifiDirectPlatform
public WifiDirectPlatform()Method details
isSupported
public boolean isSupported()startDiscovery
public void startDiscovery(WiFiDirectListener listener)stopDiscovery
public void stopDiscovery()connect
public void connect(WiFiDirectPeer peer, WiFiConnectCallback callback)disconnect
public void disconnect()