Example usage for Java android.net NetworkCapabilities fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NET_CAPABILITY_INTERNET Indicates that this network should be able to reach the internet. |
int | NET_CAPABILITY_VALIDATED Indicates that connectivity on this network was successfully validated. |
int | TRANSPORT_CELLULAR Indicates this network uses a Cellular transport. |
int | TRANSPORT_WIFI Indicates this network uses a Wi-Fi transport. |
boolean | hasCapability(@NetCapability int capability) Tests for the presence of a capability on this instance. |