ToggleReports

interface ToggleReports

Functions

Link copied to clipboard
abstract suspend fun onPromptDismissed()

Adds a record to the datastore that a toggle-off prompt for a report was dismissed.

Link copied to clipboard
abstract suspend fun onReportSent()

Adds a record to the datastore that a report was sent as the result of a toggle-off prompt.

Link copied to clipboard
abstract suspend fun shouldPrompt(): Boolean

Returns true if all the conditions are met for prompting the user to submit a toggle-off-prompted simplified breakage report.