toggle menu
Gamebase SDK for Android
2.63.0
androidJvm
switch theme
search in API
gamebase-sdk
/
com.toast.android.gamebase
/
Gamebase
/
Network
Network
class
Network
This class provides network status information.
Members
Constructors
Network
Link copied to clipboard
constructor
(
)
Functions
get
Type
Link copied to clipboard
open
fun
getType
(
)
:
Int
Reports the type of network to which the info in this NetworkInfo pertains.
get
Type
Name
Link copied to clipboard
open
fun
getTypeName
(
)
:
String
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".
is
Connected
Link copied to clipboard
open
fun
isConnected
(
)
:
Boolean
Indicates whether network connectivity exists and it is possible to establish connections and pass data.