android.net
Interfaces
OnNetworkActiveListener |
Callback for use with |
Callback |
Base interface for answer callbacks |
TransportInfo |
A container for transport-specific capabilities which is returned by |
ValueSanitizer |
A functor used to sanitize a single query value. |
Classes
CaptivePortal |
A class allowing apps handling the |
ConnectivityDiagnosticsManager |
Class that provides utilities for collecting network connectivity diagnostics information. |
ConnectivityManager |
Class that answers queries about the state of network connectivity. |
Credentials |
A class for representing UNIX credentials passed via ancillary data on UNIX domain sockets. |
DhcpInfo |
A simple object for retrieving the results of a DHCP request. |
DnsResolver |
Dns resolver class for asynchronous dns querying Note that if a client sends a query with more than 1 record in the question section but the remote dns server does not support this, it may not respond at all, leading to a timeout. |
EthernetNetworkSpecifier |
A |
Ikev2VpnProfile |
The Ikev2VpnProfile is a configuration for the platform setup of IKEv2/IPsec VPNs. |
InetAddresses |
Utility methods for |
IpConfiguration |
A class representing the IP configuration of a network. |
IpPrefix |
This class represents an IP prefix, i. |
IpSecAlgorithm |
This class represents a single algorithm that can be used by an |
IpSecManager |
This class contains methods for managing IPsec sessions. |
IpSecTransform |
This class represents a transform, which roughly corresponds to an IPsec Security Association. |
IpSecTransformState |
This class represents a snapshot of the state of an IpSecTransform |
LinkAddress |
Identifies an IP address on a network link. |
LinkProperties |
Describes the properties of a network link. |
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. |
MacAddress |
Representation of a MAC address. |
MailTo |
MailTo URL parser This class parses a mailto scheme URL and then can be queried for the parsed parameters. |
Network |
Identifies a |
NetworkCapabilities |
Representation of the capabilities of an active network. |
NetworkInfo |
Describes the status of a network interface. |
NetworkRequest |
An object describing a network that the application is interested in. |
NetworkSpecifier |
Describes specific properties of a requested network for use in a |
PlatformVpnProfile |
PlatformVpnProfile represents a configuration for a platform-based VPN implementation. |
Proxy |
A convenience class for accessing the user and default proxy settings. |
ProxyInfo |
Describes a proxy configuration. |
RouteInfo |
Represents a network route. |
SocketKeepalive |
Allows applications to request that the system periodically send specific packets on their behalf, using hardware offload to save battery power. |
SSLCertificateSocketFactory |
SSLSocketFactory implementation with several extra features:
|
SSLSessionCache |
File-based cache of established SSL sessions. |
StaticIpConfiguration |
Class that describes static IP configuration. |
TelephonyNetworkSpecifier |
NetworkSpecifier object for cellular network request. |
TrafficStats |
Class that provides network traffic statistics. |
Uri |
Immutable URI reference. |
UrlQuerySanitizer |
Sanitizes the Query portion of a URL. |
VpnManager |
This class provides an interface for apps to manage platform VPN profiles |
VpnProfileState |
Describe the state of VPN. |
VpnService |
VpnService is a base class for applications to extend and build their own VPN solutions. |
Exceptions
ParseException |
Thrown when parsing failed. |