public class LollipopNetworkObservingStrategy extends java.lang.Object implements NetworkObservingStrategy
| Constructor and Description |
|---|
LollipopNetworkObservingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
<any> |
observeNetworkConnectivity(android.content.Context context)
Observes network connectivity
|
void |
onError(java.lang.String message,
java.lang.Exception exception)
Handles errors, which occurred during observing network connectivity
|
public <any> observeNetworkConnectivity(android.content.Context context)
NetworkObservingStrategyobserveNetworkConnectivity in interface NetworkObservingStrategycontext - of the Activity or an Applicationpublic void onError(java.lang.String message,
java.lang.Exception exception)
NetworkObservingStrategyonError in interface NetworkObservingStrategymessage - to be processedexception - which was thrown