This trigger will fire when the data connectivity state changes.

The device is considered to be connected if it has either a Wi-Fi or mobile data connection. Please note that the state does not necessarily indicate internet connectivity as you could for example be connected to a local wifi network that has no external connection.