Code example for NetworkInfo

Methods: getTypeisConnectedtoString