|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkData
User: serso Date: 7/26/12 Time: 5:26 PM
| Method Summary | |
|---|---|
android.net.NetworkInfo |
getNetworkInfo()
Network connectivity information |
android.net.NetworkInfo |
getOtherNetworkInfo()
In case of a Disconnect, the connectivity manager may have already established, or may be attempting to establish, connectivity with another network. |
String |
getReason()
An optional reason for the connectivity state change may have been supplied. |
NetworkState |
getState()
|
boolean |
isFailover()
Returns true if the most recent event was for an attempt to switch over to a new network following loss of connectivity on another network. |
| Method Detail |
|---|
@Nonnull NetworkState getState()
@Nullable String getReason()
null
otherwise.boolean isFailover()
true if this was a failover attempt, false otherwise.@Nullable android.net.NetworkInfo getNetworkInfo()
@Nullable android.net.NetworkInfo getOtherNetworkInfo()
mOtherNetworkInfo will be non-null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||