Triggers whenever the state of Wi-Fi changes: when the Wi-Fi radio is switched on or off, or when the device connects to or disconnects from a Wi-Fi network.
There are four kinds of change:
enabled - the Wi-Fi radio was turned ondisabled - the Wi-Fi radio was turned offconnected - the device joined a Wi-Fi networkdisconnected - the device left a Wi-Fi networkRequires Android 7.0 (Nougat) or later.
enabled, disabled, connected or disconnected, separated by / to match several at once (for example connected/disconnected)./, or leave empty to match any network.