Code example for NetworkInfo

Methods: getSubtypegetTypeisAvailable