ErrorReporter

interface ErrorReporter

This interface contains methods used to interact with ACRA after it has been initialized

Author

F43nd1r

Since

29.12.2017

Functions

clearCustomData
Link copied to clipboard
abstract fun clearCustomData()
Removes all key/value pairs from your reports custom data field.
getCustomData
Link copied to clipboard
abstract fun getCustomData(key: String): String?
Gets the current value for a key in your reports custom data field.
handleException
Link copied to clipboard
abstract fun handleException(e: Throwable?)
Send a normal report for the given exception.
abstract fun handleException(e: Throwable?, endApplication: Boolean)
Send a normal report for the given exception
handleSilentException
Link copied to clipboard
abstract fun handleSilentException(e: Throwable?)
Send a silent report for the given exception
putCustomData
Link copied to clipboard
abstract fun putCustomData(key: String, value: String): String?
Use this method to provide the ErrorReporter with data of your running application.
removeCustomData
Link copied to clipboard
abstract fun removeCustomData(key: String): String?
Removes a key/value pair from your reports custom data field.
setEnabled
Link copied to clipboard
abstract fun setEnabled(enabled: Boolean)
Enable or disable this ErrorReporter.

Properties

reportScheduler
Link copied to clipboard
abstract val reportScheduler: SenderScheduler?
Access point to manual report scheduling

Inheritors

ErrorReporterImpl
Link copied to clipboard