LinkProperties

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

public final class LinkProperties implements Parcelable

The properties of the host's network link. The DNS servers are those of the host's resolv.conf, where the host has one; private DNS is off.

Fields

public static final Parcelable.Creator<LinkProperties> CREATOR source

Constructors

public LinkProperties() source

Methods

public String getInterfaceName() source
public List<InetAddress> getDnsServers() source
public boolean isPrivateDnsActive() source
public String getPrivateDnsServerName() source
public String getDomains() source
public int getMtu() source
public Inet4Address getDhcpServerAddress() source
public boolean isWakeOnLanSupported() source
public int describeContents() source
public void writeToParcel(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.