isConnected

open fun isConnected(): Boolean

Indicates whether network connectivity exists and it is possible to establish connections and pass data.

Since

Added 1.4.0.

Return

true if network connectivity exists, false otherwise.