public final class DeletionChange implements Change


A Change with Metadata.id of deleted Record. For privacy, only unique identifiers of the deletion are returned.

Clients holding copies of data from Health Connect should keep a copy of [Metadata.id] along with its contents. When receiving a [DeletionChange], use [Metadata.id] to delete copy of the data, if one exists.

Summary

Public methods

boolean
equals(Object other)
final @NonNull String

Metadata.id of deleted Record.

int

Public methods

equals

public boolean equals(Object other)

getRecordId

Added in 1.1.0-alpha10
public final @NonNull String getRecordId()

Metadata.id of deleted Record.

hashCode

public int hashCode()