# Network

class Network

This class provides network status information.

## Constructors

Network
Link copied to clipboard
constructor()

## Functions

getType
Link copied to clipboard
open fun getType(): Int
Reports the type of network to which the info in this NetworkInfo pertains.
getTypeName
Link copied to clipboard
open fun getTypeName(): String
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".
isConnected
Link copied to clipboard
open fun isConnected(): Boolean
Indicates whether network connectivity exists and it is possible to establish connections and pass data.