Code example for NetworkInfo

Methods: getType