ChangesTokenRequest


public final class ChangesTokenRequest


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

Summary

Public constructors

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

Public methods

boolean
equals(Object other)
int

Public constructors

ChangesTokenRequest

public ChangesTokenRequest(
    @NonNull Set<@NonNull KClass<@NonNull Record>> recordTypes,
    @NonNull Set<@NonNull DataOrigin> dataOriginFilters
)
Parameters
@NonNull Set<@NonNull KClass<@NonNull Record>> recordTypes

Set of Record types the token will observe change for.

@NonNull Set<@NonNull DataOrigin> dataOriginFilters

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

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()