Interface | Description |
---|---|
ConnectivityManager.OnNetworkActiveListener |
Callback for use with
ConnectivityManager.addDefaultNetworkActiveListener(android.net.ConnectivityManager.OnNetworkActiveListener)
to find out when the system default network has gone in to a high power state. |
EthernetManager.Listener |
A listener interface to receive notification on changes in Ethernet.
|
NetworkStats.NonMonotonicObserver<C> | |
UrlQuerySanitizer.ValueSanitizer |
A functor used to sanitize a single query value.
|
Class | Description |
---|---|
CaptivePortal |
A class allowing apps handling the
ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN
activity to indicate to the system different outcomes of captive portal sign in. |
ConnectivityManager |
Class that answers queries about the state of network connectivity.
|
ConnectivityManager.NetworkCallback |
Base class for NetworkRequest callbacks.
|
ConnectivityManager.OnStartTetheringCallback |
Callback for use with
ConnectivityManager.startTethering(int, boolean, android.net.ConnectivityManager.OnStartTetheringCallback) to find out whether tethering succeeded. |
ConnectivityManager.PacketKeepaliveCallback | |
ConnectivityMetricsEvent | |
ConnectivityMetricsEvent.Reference | |
ConnectivityMetricsLogger | |
ConnectivityThread |
Shared singleton connectivity thread for the system.
|
Credentials |
A class for representing UNIX credentials passed via ancillary data
on UNIX domain sockets.
|
DataUsageRequest |
Defines a request to register a callbacks.
|
DhcpInfo |
A simple object for retrieving the results of a DHCP request.
|
DhcpResults |
A simple object for retrieving the results of a DHCP request.
|
EthernetManager |
A class representing the IP configuration of the Ethernet network.
|
InterfaceConfiguration |
Configuration details for a network interface.
|
IpConfiguration |
A class representing a configured network.
|
IpPrefix |
This class represents an IP prefix, i.e., a contiguous block of IP addresses aligned on a
power of two boundary (also known as an "IP subnet").
|
LinkAddress |
Identifies an IP address on a network link.
|
LinkProperties |
Describes the properties of a network link.
|
LinkProperties.CompareResult<T> | |
LinkQualityInfo |
Class that represents useful attributes of generic network links
such as the upload/download throughput or packet error rate.
|
LocalServerSocket |
Non-standard class for creating an inbound UNIX-domain socket
in the Linux abstract namespace.
|
LocalSocket |
Creates a (non-server) socket in the UNIX-domain namespace.
|
LocalSocketAddress |
A UNIX-domain (AF_LOCAL) socket address.
|
MailTo |
MailTo URL parser
This class parses a mailto scheme URL and then can be queried for
the parsed parameters.
|
MobileLinkQualityInfo |
Class that represents useful attributes of mobile network links
such as the upload/download throughput or error rate etc.
|
Network |
Identifies a
Network . |
NetworkAgent |
A Utility class for handling for communicating between bearer-specific
code and ConnectivityService.
|
NetworkCapabilities |
This class represents the capabilities of a network.
|
NetworkConfig |
Describes the buildtime configuration of a network.
|
NetworkFactory |
A NetworkFactory is an entity that creates NetworkAgent objects.
|
NetworkIdentity |
Network definition that includes strong identity.
|
NetworkInfo |
Describes the status of a network interface.
|
NetworkKey |
Information which identifies a specific network.
|
NetworkMisc |
A grab-bag of information (metadata, policies, properties, etc) about a
Network . |
NetworkPolicy |
Policy for networks matching a
NetworkTemplate , including usage cycle
and limits to be enforced. |
NetworkPolicyManager |
Manager for creating and modifying network policy rules.
|
NetworkQuotaInfo |
Information about quota status on a specific network.
|
NetworkRequest |
Defines a request for a network, made through
NetworkRequest.Builder and used
to request a network via ConnectivityManager.requestNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback, int, int) or listen for changes
via ConnectivityManager.registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) . |
NetworkRequest.Builder |
Builder used to create
NetworkRequest objects. |
NetworkScoreManager |
Class that manages communication between network subsystems and a network scorer.
|
NetworkScorerAppManager |
Internal class for managing the primary network scorer application.
|
NetworkScorerAppManager.NetworkScorerAppData | |
NetworkState |
Snapshot of network state.
|
NetworkStats |
Collection of active network statistics.
|
NetworkStats.Entry | |
NetworkStatsHistory |
Collection of historical network statistics, recorded into equally-sized
"buckets" in time.
|
NetworkStatsHistory.DataStreamUtils |
Utility methods for interacting with
DataInputStream and
DataOutputStream , mostly dealing with writing partial arrays. |
NetworkStatsHistory.Entry | |
NetworkStatsHistory.ParcelUtils |
Utility methods for interacting with
Parcel structures, mostly
dealing with writing partial arrays. |
NetworkTemplate |
Template definition used to generically match
NetworkIdentity ,
usually when collecting statistics. |
NetworkUtils |
Native methods for managing network interfaces.
|
PacProxySelector | |
Proxy |
A convenience class for accessing the user and default proxy
settings.
|
ProxyInfo |
Describes a proxy configuration.
|
PskKeyManager |
Provider of key material for pre-shared key (PSK) key exchange used in TLS-PSK cipher suites.
|
RouteInfo |
Represents a network route.
|
RssiCurve |
A curve defining the network score over a range of RSSI values.
|
ScoredNetwork |
A network identifier along with a score for the quality of that network.
|
SntpClient |
Simple SNTP client class for retrieving network time.
|
SSLCertificateSocketFactory |
SSLSocketFactory implementation with several extra features:
Timeout specification for SSL handshake operations
Hostname verification in most cases (see WARNINGs below)
Optional SSL session caching with
SSLSessionCache
Optionally bypass all SSL certificate checks
The handshake timeout does not apply to actual TCP socket connection. |
SSLSessionCache |
File-based cache of established SSL sessions.
|
StaticIpConfiguration |
Class that describes static IP configuration.
|
TrafficStats |
Class that provides network traffic statistics.
|
UidRange |
An inclusive range of UIDs.
|
Uri |
Immutable URI reference.
|
Uri.Builder |
Helper class for building or manipulating URI references.
|
UrlQuerySanitizer |
Sanitizes the Query portion of a URL.
|
UrlQuerySanitizer.IllegalCharacterValueSanitizer |
Sanitize values based on which characters they contain.
|
VpnService |
VpnService is a base class for applications to extend and build their
own VPN solutions.
|
WebAddress |
Web Address Parser
This is called WebAddress, rather than URL or URI, because it
attempts to parse the stuff that a user will actually type into a
browser address widget.
|
WifiKey |
Information identifying a Wi-Fi network.
|
WifiLinkQualityInfo |
Class that represents useful attributes of wifi network links
such as the upload/download throughput or error rate etc.
|
Enum | Description |
---|---|
IpConfiguration.IpAssignment | |
IpConfiguration.ProxySettings | |
LinkProperties.ProvisioningChange | |
LocalSocketAddress.Namespace |
The namespace that this address exists in.
|
NetworkInfo.DetailedState |
The fine-grained state of a network connection.
|
NetworkInfo.State |
Coarse-grained network state.
|
NetworkRequest.Type |
A NetworkRequest as used by the system can be one of the following types:
- LISTEN, for which the framework will issue callbacks about any
and all networks that match the specified NetworkCapabilities,
- REQUEST, capable of causing a specific network to be created
first (e.g. a telephony DUN request), the framework will issue
callbacks about the single, highest scoring current network
(if any) that matches the specified NetworkCapabilities, or
- TRACK_DEFAULT, a hybrid of the two designed such that the
framework will issue callbacks for the single, highest scoring
current network (if any) that matches the capabilities of the
default Internet request (mDefaultRequest), but which cannot cause
the framework to either create or retain the existence of any
specific network.
|
Exception | Description |
---|---|
ParseException |
Thrown when parsing a URL fails.
|
Annotation Type | Description |
---|---|
ConnectivityManager.RestrictBackgroundStatus |