NetworkUse

Network use enumeration.

Note that APIs below 23 cannot have two real (non-VPN) network interfaces enabled at the same time.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Value
Network use value.

Properties

Link copied to clipboard
val PREFER_3G: String = "prefer3G"
Prefer 3G.
Link copied to clipboard
val PREFER_WIFI: String = "off"
Prefer Wi-Fi.
Link copied to clipboard
val WIFI_ONLY: String = "on"
Use Wi-Fi exclusively.