Action Required! Starting November 21st, 2022, Nest Hubs opted into the Preview Program are being updated to support Matter 1.0 in anticipation of Google's general availability (GA) of Matter. All Matter devices being used with the Preview Program will need to be updated. See the Release Notes for more details.

ResolveServiceRequest

Stay organized with collections Save and categorize content based on your preferences.
public final class ResolveServiceRequest extends Object
implements Parcelable

Request for DNS-SD resolution to indicate information about the service to be resolved.

Inherited Constant Summary

Public Method Summary

static ResolveServiceRequest
create(String instanceName, String serviceType)
Creates a new ResolveServiceRequest.
boolean
String
getInstanceName()
Returns the DNS-SD instance name.
String
getServiceType()
Returns the DNS-SD service type.
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static ResolveServiceRequest create (String instanceName, String serviceType)

Creates a new ResolveServiceRequest.

Parameters
instanceName the DNS-SD instance name of the service to resolve
serviceType the type of the service to discover (e.g. _matter._tcp, _matterc._udp)
Throws
IllegalArgumentException if serviceType or instanceName are empty

public boolean equals (Object o)

public String getInstanceName ()

Returns the DNS-SD instance name.

public String getServiceType ()

Returns the DNS-SD service type.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)