MatchmakingRequest
class MatchmakingRequest : Parcelable
| kotlin.Any | |
| ↳ | android.health.connect.MatchmakingRequest |
Represents a request to determine if there are matching data sources for a given set of record types. This request is used with HealthConnectManager.isMatchmakingPossible(MatchmakingRequest, Executor, OutcomeReceiver) and HealthConnectManager.createMatchmakingIntent(MatchmakingRequest).
Summary
| Nested classes | |
|---|---|
|
Builder class for |
|
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| MutableSet<Class<out Record!>!> |
Returns the set of record types for which matching data sources are being requested. |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<MatchmakingRequest!> | |
Public methods
describeContents
fun describeContents(): Int
getRecordTypes
fun getRecordTypes(): MutableSet<Class<out Record!>!>
Returns the set of record types for which matching data sources are being requested.
| Return | |
|---|---|
MutableSet<Class<out Record!>!> |
This value cannot be null. |
hashCode
fun hashCode(): Int
toString
fun toString(): String
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: This value cannot be null. |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following:
|