Code example for NetworkInfo

Methods: getTypeisAvailableisConnectedisConnectedOrConnectingisRoaming