Added in API level 34

DeletedLog

class DeletedLog
kotlin.Any
   ↳ android.health.connect.changelog.ChangeLogsResponse.DeletedLog

A class to represent a delete log in ChangeLogsResponse

Summary

Public constructors
DeletedLog(deletedRecordId: String, deletedTime: Long)

Public methods
String

Returns record id of the record deleted

Instant

Returns timestamp when the record was deleted

Public constructors

DeletedLog

Added in API level 34
DeletedLog(
    deletedRecordId: String,
    deletedTime: Long)
Parameters
deletedRecordId String: This value cannot be null.

Public methods

getDeletedRecordId

Added in API level 34
fun getDeletedRecordId(): String

Returns record id of the record deleted

Return
String This value cannot be null.

getDeletedTime

Added in API level 34
fun getDeletedTime(): Instant

Returns timestamp when the record was deleted

Return
Instant This value cannot be null.