Code example for NetworkInfo

Methods: getExtraInfo, getType