ResolveServiceRequest

class ResolveServiceRequest : Parcelable


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

Summary

Constants

const String!
SERVICE_TYPE_COMMISSIONABLE = "_matterc._udp"

DNS-SD service type for a commissionable Matter service.

const String!
SERVICE_TYPE_OPERATIONAL = "_matter._tcp"

DNS-SD service type for an operational Matter service.

Public functions

java-static ResolveServiceRequest!
create(
    instanceName: String!,
    @ResolveServiceRequest.ServiceType serviceType: String!
)

Creates a new ResolveServiceRequest.

Boolean
equals(o: Any?)
Int
String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

String!
String!

Inherited functions

From android.os.Parcelable

Constants

SERVICE_TYPE_COMMISSIONABLE

const val SERVICE_TYPE_COMMISSIONABLE = "_matterc._udp": String!

DNS-SD service type for a commissionable Matter service.

SERVICE_TYPE_OPERATIONAL

const val SERVICE_TYPE_OPERATIONAL = "_matter._tcp": String!

DNS-SD service type for an operational Matter service.

Public functions

create

java-static fun create(
    instanceName: String!,
    @ResolveServiceRequest.ServiceType serviceType: String!
): ResolveServiceRequest!

Creates a new ResolveServiceRequest.

Parameters
instanceName: String!

the DNS-SD instance name of the service to resolve

@ResolveServiceRequest.ServiceType serviceType: String!

the type of the service to discover (one of SERVICE_TYPE_COMMISSIONABLE, one of SERVICE_TYPE_OPERATIONAL)

Throws
java.lang.IllegalArgumentException

if serviceType or instanceName are empty

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

instanceName

val instanceNameString!

serviceType

val serviceTypeString!