Network monitoring works out of the box. You can enable or disable it using the following APIs and passing a boolean to it.
boolean
Last updated 15 days ago