ResolveServiceResult

public final class ResolveServiceResult extends Object
implements Parcelable

Result of a DNS-SD resolution request, encapsulating the resolved DNS-SD service info.

Inherited Constant Summary

Public Method Summary

static ResolveServiceResult
create(DnsSdServiceInfo serviceInfo)
Returns a ResolveServiceResult for the given serviceInfo.
boolean
DnsSdServiceInfo
getServiceInfo()
Returns the DnsSdServiceInfo that was resolved.
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static ResolveServiceResult create (DnsSdServiceInfo serviceInfo)

Returns a ResolveServiceResult for the given serviceInfo.

Throws
NullPointerException if serviceInfo is null

public boolean equals (Object o)

public DnsSdServiceInfo getServiceInfo ()

Returns the DnsSdServiceInfo that was resolved.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)