public class WifiManager extends Manager
| Modifier and Type | Class and Description |
|---|---|
class |
WifiManager.WifiDwellEvent
This event is posted as the device is dwelling in a given AP
|
class |
WifiManager.WifiEnterEvent
This event is posted when a monitored network is entered.
|
class |
WifiManager.WifiEvent
WifiEvent is the base class for all events posted by the WifiManager.
|
class |
WifiManager.WifiExitEvent
This event is posted when a monitored network is exited.
|
| Constructor and Description |
|---|
WifiManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(android.content.Context context,
EventBus bus,
java.util.concurrent.ScheduledExecutorService executor)
Called when the manager is created to provide its execution environment.
|
void |
onWifiChanged(Device.WifiChangedEvent event) |
void |
start()
Starts the manager.
|
void |
stop()
Stops the manager.
|
public void init(android.content.Context context,
EventBus bus,
java.util.concurrent.ScheduledExecutorService executor)
Managercontext - The application context to usebus - The EventBus that the manager is a member ofexecutor - The Executor to use and on which events are dispatchedpublic void start()
Managerpublic void stop()
Managerpublic void onWifiChanged(Device.WifiChangedEvent event)