Network

Class of android.net · Network.java · Android's reference

public class Network implements android.os.Parcelable

A network: the host's.

Fields

public static final Network HOST source

Constructors

public Network(int netId) source

Methods

public java.net.InetAddress[] getAllByName(String host) throws java.net.UnknownHostException source
public java.net.InetAddress getByName(String host) throws java.net.UnknownHostException source
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException source
public long getNetworkHandle() source
public boolean equals(Object o) source
public int hashCode() source
public String toString() source
public int describeContents() source
public void writeToParcel(android.os.Parcel dest, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.