Code example for NetworkInfo

Methods: getSubtypeName, getTypeName, isConnectedOrConnecting, isRoaming