Java android.net NetworkCapabilities fields, constructors, methods, implement or subclass

Example usage for Java android.net NetworkCapabilities fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.net NetworkCapabilities.

The text is from its open source code.

Field

intNET_CAPABILITY_INTERNET
Indicates that this network should be able to reach the internet.
intNET_CAPABILITY_VALIDATED
Indicates that connectivity on this network was successfully validated.
intTRANSPORT_CELLULAR
Indicates this network uses a Cellular transport.
intTRANSPORT_WIFI
Indicates this network uses a Wi-Fi transport.

Method

booleanhasCapability(@NetCapability int capability)
Tests for the presence of a capability on this instance.