Stay organized with collections
Save and categorize content based on your preferences.
DeletedLog
class DeletedLog
A change log holds the Metadata.getId()
of a deleted Record. For privacy, only unique identifiers of deleted records are returned.
Clients holding copies of data from Health Connect should keep a copy of these unique identifiers along with their contents. When receiving a DeletedLog
in ChangeLogsResponse
, use the identifiers to delete copy of the data.
Summary
Public methods |
Boolean |
|
String |
Returns record id of the record deleted.
|
Instant |
Returns timestamp when the record was deleted.
|
Int |
|
Public constructors
DeletedLog
DeletedLog(
deletedRecordId: String,
deletedTime: Instant)
Parameters |
deletedRecordId |
String: This value cannot be null . |
deletedTime |
Instant: This value cannot be null . |
Public methods
equals
fun equals(other: Any?): Boolean
Parameters |
obj |
the reference object with which to compare. |
Return |
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getDeletedRecordId
fun getDeletedRecordId(): String
Returns record id of the record deleted.
Return |
String |
This value cannot be null . |
getDeletedTime
fun getDeletedTime(): Instant
Returns timestamp when the record was deleted.
Return |
Instant |
This value cannot be null . |
hashCode
fun hashCode(): Int
Return |
Int |
a hash code value for this object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,[]]