Android.Net Namespace

Classes

CaptivePortal
CaptivePortal.InterfaceConsts
ConnectivityDiagnosticsManager
ConnectivityDiagnosticsManager.ConnectivityDiagnosticsCallback
ConnectivityDiagnosticsManager.ConnectivityReport
ConnectivityDiagnosticsManager.ConnectivityReport.InterfaceConsts
ConnectivityDiagnosticsManager.DataStallReport
ConnectivityDiagnosticsManager.DataStallReport.InterfaceConsts
ConnectivityManager

Stub ConnectivityManager for layoutlib

ConnectivityManager.NetworkCallback
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.

DhcpInfo.InterfaceConsts
DnsResolver
DnsResolver.DnsException
Ikev2VpnProfile

The Ikev2VpnProfile is a configuration for the platform setup of IKEv2/IPsec VPNs.

Ikev2VpnProfile.Builder
InetAddresses
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").

IpPrefix.InterfaceConsts
IpSecAlgorithm

This class represents a single algorithm that can be used by an IpSecTransform.

IpSecAlgorithm.InterfaceConsts
IpSecManager

This class contains methods for managing IPsec sessions.

IpSecManager.ResourceUnavailableException
IpSecManager.SecurityParameterIndex
IpSecManager.SpiUnavailableException
IpSecManager.UdpEncapsulationSocket
IpSecTransform

This class represents a transform, which roughly corresponds to an IPsec Security Association.

IpSecTransform.Builder
LinkAddress

Identifies an IP address on a network link.

LinkAddress.InterfaceConsts
LinkProperties

Describes the properties of a network link.

LinkProperties.InterfaceConsts
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.

LocalSocketAddress.Namespace

The namespace that this address exists in.

MacAddress
MacAddress.InterfaceConsts
MailTo

MailTo URL parser

Network

Identifies a Network.

Network.InterfaceConsts
NetworkCapabilities

This class represents the capabilities of a network.

NetworkCapabilities.InterfaceConsts
NetworkInfo

Describes the status of a network interface.

NetworkInfo.DetailedState

The fine-grained state of a network connection.

NetworkInfo.InterfaceConsts
NetworkInfo.State

Coarse-grained network state.

NetworkRequest

Defines a request for a network, made through NetworkRequest.Builder and used to request a network via RequestNetwork(NetworkRequest, PendingIntent) or listen for changes via RegisterNetworkCallback(NetworkRequest, PendingIntent).

NetworkRequest.Builder
NetworkRequest.InterfaceConsts
NetworkSpecifier

Describes specific properties of a requested network for use in a NetworkRequest.

ParseException

Thrown when parsing a URL fails.

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.

ProxyInfo.InterfaceConsts
PskKeyManager

Provider of key material for pre-shared key (PSK) key exchange used in TLS-PSK cipher suites.

RouteInfo

Represents a network route.

RouteInfo.InterfaceConsts
SocketKeepalive
SocketKeepalive.Callback
SSLCertificateSocketFactory

SSLSocketFactory implementation with several extra features:

        <ul>
        <li>Timeout specification for SSL handshake operations
        <li>Hostname verification in most cases (see WARNINGs below)
        &lt;li&gt;Optional SSL session caching with <code data-dev-comment-type="c">SSLSessionCache</code>&lt;li&gt;Optionally bypass all SSL certificate checks
        &lt;/ul&gt;

        The handshake timeout does not apply to actual TCP socket connection.
SSLSessionCache

File-based cache of established SSL sessions.

TelephonyNetworkSpecifier

NetworkSpecifier object for cellular network request.

TelephonyNetworkSpecifier.Builder
TelephonyNetworkSpecifier.InterfaceConsts
TrafficStats

Class that provides network traffic statistics.

Uri

Immutable URI reference.

Uri.Builder

Helper class for building or manipulating URI references.

Uri.InterfaceConsts
UrlQuerySanitizer

Sanitizes the Query portion of a URL.

UrlQuerySanitizer.IllegalCharacterValueSanitizer

Sanitize values based on which characters they contain.

UrlQuerySanitizer.ParameterValuePair

A simple tuple that holds parameter-value pairs.

VpnManager

This class provides an interface for apps to manage platform VPN profiles

VpnService

VpnService is a base class for applications to extend and build their own VPN solutions.

VpnService.Builder

Helper class to create a VPN interface.

Interfaces

ConnectivityManager.IOnNetworkActiveListener
DnsResolver.ICallback
ITransportInfo
UrlQuerySanitizer.IValueSanitizer

A functor used to sanitize a single query value.

Enums

ConnectivityType

Enumerates values returned by several types and taken as a parameter of several methods of ConnectivityManager.

DataStallDetectionMethod
DnsResolverFlag
DnsResolverType
ErrorCode
IllegalCharacterFlags

Enumerates values returned by several methods of IllegalCharacterFlags and taken as a parameter of the F:Android.Net.UrlQuerySanitizer+IllegalCharacterValueSanitizer..ctor member.

IpSecTransportDirection
MacAddressType
MultipathPreference
NetCapability
NetworkCallbackFlags
NetworkProbeType
NetworkValidationResult
PlatformVpnProfileType
RestrictBackgroundStatus
SocketType

Enumerates values returned by several types and taken as a parameter of the F:Android.Net.LocalSocket..ctor member.

TransportType
WifiMode

Enumerates values returned by the Full, FullHighPerf, and ScanOnly members and taken as a parameter of the F:Android.Net.Wifi.WifiManager.CreateWifiLock member.

WifiState

Enumerates values returned by several types.