int getConnectionType()

Get The type of network that is connected.

Return

The type of network that is connected. (1 = Ethernet, 2 = WiFi, 3 = Mobile, 0 = Unknown)

Requirements

KioWare for Android version 4.0 or greater.