set On Restricted Network Status Change
Sets a listener to monitor restricted network status changes
Since
3.7.0
Parameters
handler
Closure that notifies true if the device enters restricted network and false when device leaves such a network.