ChangeLogsResponse.DeletedLog

public static final class ChangeLogsResponse.DeletedLog
extends Object

java.lang.Object
   ↳ android.health.connect.changelog.ChangeLogsResponse.DeletedLog


A class to represent a delete log in ChangeLogsResponse

Summary

Public constructors

DeletedLog(String deletedRecordId, long deletedTime)

Public methods

String getDeletedRecordId()

Returns record id of the record deleted

Instant getDeletedTime()

Returns timestamp when the record was deleted

Inherited methods

Public constructors

DeletedLog

Added in API level 34
public DeletedLog (String deletedRecordId, 
                long deletedTime)

Parameters
deletedRecordId String: This value cannot be null.

deletedTime long

Public methods

getDeletedRecordId

Added in API level 34
public String getDeletedRecordId ()

Returns record id of the record deleted

Returns
String This value cannot be null.

getDeletedTime

Added in API level 34
public Instant getDeletedTime ()

Returns timestamp when the record was deleted

Returns
Instant This value cannot be null.