Added in U Extensions 21
Builder
class Builder
| kotlin.Any | |
| ↳ | android.health.connect.MatchmakingResponse.Builder |
Builder for MatchmakingResponse.
Summary
| Public constructors | |
|---|---|
|
Creates an instance of |
|
| Public methods | |
|---|---|
| MatchmakingResponse |
build()Builds the |
| MatchmakingResponse.Builder |
setMatchmakingPossible(isMatchmakingPossible: Boolean)Sets whether matchmaking is possible. |
Public constructors
Builder
Added in U Extensions 21
Builder(isMatchmakingPossible: Boolean)
Creates an instance of Builder.
| Parameters | |
|---|---|
isMatchmakingPossible |
Boolean: true if matchmaking is possible, false otherwise. |
Public methods
build
Added in U Extensions 21
fun build(): MatchmakingResponse
Builds the MatchmakingResponse instance.
| Return | |
|---|---|
MatchmakingResponse |
This value cannot be null. |
setMatchmakingPossible
Added in U Extensions 21
fun setMatchmakingPossible(isMatchmakingPossible: Boolean): MatchmakingResponse.Builder
Sets whether matchmaking is possible.
| Return | |
|---|---|
MatchmakingResponse.Builder |
This value cannot be null. |