# MatchmakingResponse

Artifact: [androidx.health.connect:connect-client](https://developer.android.com/jetpack/androidx/releases/health-connect) [View Source](https://cs.android.com/search?q=file:androidx/health/connect/client/matchmaking/MatchmakingResponse.kt+class:androidx.health.connect.client.matchmaking.MatchmakingResponse) Added in [1.2.0-alpha06](https://developer.android.com/jetpack/androidx/releases/health-connect#1.2.0-alpha06)

*** ** * ** ***


```
@ExperimentalMatchmakingApi
public final class MatchmakingResponse
```

<br />

*** ** * ** ***

Response class for matchmaking possible check.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/health/connect/client/matchmaking/MatchmakingResponse#MatchmakingResponse(kotlin.Boolean)(boolean isMatchmakingPossible)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/connect/client/matchmaking/MatchmakingResponse#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `int` | `https://developer.android.com/reference/androidx/health/connect/client/matchmaking/MatchmakingResponse#hashCode()()` |
| `final boolean` | `https://developer.android.com/reference/androidx/health/connect/client/matchmaking/MatchmakingResponse#isMatchmakingPossible()()` `true` if the flow would display at least one matching app or device, `false` otherwise. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/health/connect/client/matchmaking/MatchmakingResponse#toString()()` |

## Public constructors

### MatchmakingResponse

Added in [1.2.0-alpha06](https://developer.android.com/jetpack/androidx/releases/health-connect#1.2.0-alpha06)

```
public MatchmakingResponse(boolean isMatchmakingPossible)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### hashCode

```
public int hashCode()
```

### isMatchmakingPossible

Added in [1.2.0-alpha06](https://developer.android.com/jetpack/androidx/releases/health-connect#1.2.0-alpha06)

```
public final boolean isMatchmakingPossible()
```

`true` if the flow would display at least one matching app or device, `false` otherwise.

### toString

```
public @NonNull String toString()
```