onMonitoringStateChanged

open fun onMonitoringStateChanged(isMonitoringActive: Boolean)

Notifies that the state of the monitoring has changed. When the state of the location provider is changed to either TEMPORARILY_UNAVAILABLE or OUT_OF_SERVICE, the API implementation must send this notification with isMonitoringActive set to false. When the state of the location provider changes to AVAILABLE, the API implementation must send this notification with isMonitoringActive set to true.