BrokenSiteLastSentReport

Functions

Link copied to clipboard
abstract suspend fun getLastSentDay(hostname: String): String?

Retrieves the date when a broken site report was last sent for the specified hostname. The 'broken_site_last_sent_report' table in the 'broken_site' database stores this date.

Link copied to clipboard
abstract fun setLastSentDay(hostname: String)

Sets / updates the last sent date for a broken site report associated with the provided hostname, setting it to the current date. The 'broken_site_last_sent_report' table in the 'broken_site' database stores this updated date along with a prefix of the hashed hostname.