public interface NetworkChangeDetector
Modifier and Type | Interface and Description |
---|---|
static class |
NetworkChangeDetector.ConnectionType |
static class |
NetworkChangeDetector.IPAddress |
static class |
NetworkChangeDetector.NetworkInformation
Java version of NetworkMonitor.NetworkInformation
|
static interface |
NetworkChangeDetector.Observer
Observer interface by which observer is notified of network changes.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.util.List<NetworkChangeDetector.NetworkInformation> |
getActiveNetworkList() |
NetworkChangeDetector.ConnectionType |
getCurrentConnectionType() |
boolean |
supportNetworkCallback() |
NetworkChangeDetector.ConnectionType getCurrentConnectionType()
boolean supportNetworkCallback()
@Nullable java.util.List<NetworkChangeDetector.NetworkInformation> getActiveNetworkList()
void destroy()
7.0.0