ChangesTokenRequest


class ChangesTokenRequest


Request object to fetch Changes-Token for given recordTypes in Android Health Platform.

Summary

Public constructors

ChangesTokenRequest(
    recordTypes: Set<KClass<Record>>,
    dataOriginFilters: Set<DataOrigin>
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public constructors

ChangesTokenRequest

ChangesTokenRequest(
    recordTypes: Set<KClass<Record>>,
    dataOriginFilters: Set<DataOrigin> = setOf()
)
Parameters
recordTypes: Set<KClass<Record>>

Set of Record types the token will observe change for.

dataOriginFilters: Set<DataOrigin> = setOf()

Optional set of DataOrigin filters, default is empty set for no filter.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int