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

int CONTENTS_FILE_DESCRIPTOR
int PARCELABLE_STABILITY_LOCAL
int PARCELABLE_STABILITY_VINTF
int PARCELABLE_WRITE_RETURN_VALUE

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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
abstract int
describeContents()
abstract void
writeToParcel(Parcel arg0, int arg1)

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)