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 | |
boolean | |
DnsSdServiceInfo |
getServiceInfo()
Returns the
DnsSdServiceInfo that was resolved.
|
int |
hashCode()
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
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.