Gamebase SDK for Android
1.8.0
Toast Gamebase Platform
|
This class provides network status information. More...
Static Public Member Functions | |
static boolean | isConnected () |
Indicates whether network connectivity exists and it is possible to establish connections and pass data. More... | |
static int | getType () |
Reports the type of network to which the info in this NetworkInfo pertains. More... | |
static String | getTypeName () |
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE". More... | |
static boolean | addOnChangedStatusListener (final NetworkManager.OnChangedStatusListener listener) |
Add the listener to be called when the network status is changed. More... | |
static boolean | removeOnChangedStatusListener (final NetworkManager.OnChangedStatusListener listener) |
Remove the listener. More... | |
This class provides network status information.
|
static |
Add the listener to be called when the network status is changed.
listener | The listener to be invoked when the network status is changed. |
|
static |
Reports the type of network to which the info in this NetworkInfo pertains.
|
static |
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".
|
static |
Indicates whether network connectivity exists and it is possible to establish connections and pass data.
|
static |
Remove the listener.
listener | The listener to be removed. |