public final class ReactiveNetwork
extends java.lang.Object
| Constructor and Description |
|---|
ReactiveNetwork() |
| Modifier and Type | Method and Description |
|---|---|
ReactiveNetwork |
enableInternetCheck()
enables Internet connection check
When it's called WIFI_CONNECTED_HAS_INTERNET and WIFI_CONNECTED_HAS_NO_INTERNET statuses
can be emitted by observeConnectivity(context) method.
|
<any> |
observeConnectivity(android.content.Context context)
Observes ConnectivityStatus,
which can be WIFI_CONNECTED, MOBILE_CONNECTED or OFFLINE
|
<any> |
observeWifiAccessPoints(android.content.Context context)
Observes WiFi Access Points.
|
public ReactiveNetwork enableInternetCheck()
public <any> observeConnectivity(android.content.Context context)
context - Context of the activity or an applicationpublic <any> observeWifiAccessPoints(android.content.Context context)
context - Context of the activity or an application