# ResolveServiceResult


```
class ResolveServiceResult : Parcelable
```

<br />

*** ** * ** ***

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

## Summary

| ### Public functions |
|---|---|
| `java-static https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult!` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#create(com.google.android.gms.home.matter.discovery.DnsSdServiceInfo)(serviceInfo: https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/DnsSdServiceInfo!)` Returns a `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult` for the given `serviceInfo`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#equals(java.lang.Object)(o: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#hashCode()()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#toString()()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#writeToParcel(android.os.Parcel,int)(dest: https://developer.android.com/reference/android/os/Parcel.html!, flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/DnsSdServiceInfo!` | `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult#serviceInfo()` |

### Inherited Constants

From [android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR = 1` `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE = 1`

### Inherited functions

From [android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) `abstract https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/os/Parcelable.html#describeContents()()`

## Public functions

### create

```
java-static fun create(serviceInfo: DnsSdServiceInfo!): ResolveServiceResult!
```

Returns a `https://developers.home.google.com/reference/kotlin/com/google/android/gms/home/matter/discovery/ResolveServiceResult` for the given `serviceInfo`.

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/NullPointerException.html` | if `serviceInfo` is null |

### equals

```
fun equals(o: Any?): Boolean
```

### hashCode

```
fun hashCode(): Int
```

### toString

```
fun toString(): String!
```

### writeToParcel

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

## Public properties

### serviceInfo

```
val serviceInfo: DnsSdServiceInfo!
```