Code example for NetworkInfo

Methods: isAvailable, toString