public class SoftApManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SoftApManager.Listener
Listener for soft AP state changes.
|
Constructor and Description |
---|
SoftApManager(Looper looper,
WifiNative wifiNative,
INetworkManagementService nmService,
String countryCode,
ArrayList<Integer> allowed2GChannels,
SoftApManager.Listener listener) |
Modifier and Type | Method and Description |
---|---|
void |
start(WifiConfiguration config)
Start soft AP with given configuration.
|
void |
stop()
Stop soft AP.
|
public SoftApManager(Looper looper, WifiNative wifiNative, INetworkManagementService nmService, String countryCode, ArrayList<Integer> allowed2GChannels, SoftApManager.Listener listener)
public void start(WifiConfiguration config)
config
- AP configurationpublic void stop()