NsdServiceInfo

Class of android.net.nsd · NsdServiceInfo.java · Android's reference

public final class NsdServiceInfo implements Parcelable

A network service, as DNS-SD names it: its name, type, host and port, and its TXT attributes.

Fields

public static final Parcelable.Creator<NsdServiceInfo> CREATOR source

Constructors

public NsdServiceInfo() empty body source

Methods

public String getServiceName() source
public void setServiceName(String s) source
public String getServiceType() source
public void setServiceType(String s) source
public InetAddress getHost() deprecated source
public void setHost(InetAddress s) deprecated source
public int getPort() source
public void setPort(int p) source
public void setAttribute(String key, String value) source
public void removeAttribute(String key) source
public Map<String, byte[]> getAttributes() source
public String toString() 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.