LimiterConfigurationBuilder

class LimiterConfigurationBuilder(arg0: Context) : ConfigurationBuilder

Class generated based on AcraLimiter (Jun 6, 2021 5:00:50 PM)

Constructors

LimiterConfigurationBuilder
Link copied to clipboard
fun LimiterConfigurationBuilder(arg0: Context)

Functions

build
Link copied to clipboard
open override fun build(): LimiterConfiguration
withDeleteReportsOnAppUpdate
Link copied to clipboard
fun withDeleteReportsOnAppUpdate(deleteReportsOnAppUpdate: Boolean): LimiterConfigurationBuilder
This property can be used to determine whether old (out of date) reports should be sent or not.
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): LimiterConfigurationBuilder
withExceptionClassLimit
Link copied to clipboard
fun withExceptionClassLimit(exceptionClassLimit: Int): LimiterConfigurationBuilder
limit for reports with the same exception class
withFailedReportLimit
Link copied to clipboard
fun withFailedReportLimit(failedReportLimit: Int): LimiterConfigurationBuilder
limit for unsent reports
withIgnoredCrashToast
Link copied to clipboard
fun withIgnoredCrashToast(ignoredCrashToast: String): LimiterConfigurationBuilder
toast shown when a report was not collected or sent because a limit was exceeded
withOverallLimit
Link copied to clipboard
fun withOverallLimit(overallLimit: Int): LimiterConfigurationBuilder
general limit of reports
withPeriod
Link copied to clipboard
fun withPeriod(period: Long): LimiterConfigurationBuilder
Reports which have been collected before this will not be considered for any limits except {@link org.acra.annotation.
withPeriodUnit
Link copied to clipboard
fun withPeriodUnit(periodUnit: TimeUnit): LimiterConfigurationBuilder
Unit of {@link org.acra.annotation.
withResetLimitsOnAppUpdate
Link copied to clipboard
fun withResetLimitsOnAppUpdate(resetLimitsOnAppUpdate: Boolean): LimiterConfigurationBuilder
Resetting limits after an app update allows you to see if a bug still exists.
withResIgnoredCrashToast
Link copied to clipboard
fun withResIgnoredCrashToast(@StringRes() resIgnoredCrashToast: Int): LimiterConfigurationBuilder
toast shown when a report was not collected or sent because a limit was exceeded
withStacktraceLimit
Link copied to clipboard
fun withStacktraceLimit(stacktraceLimit: Int): LimiterConfigurationBuilder
limit for reports with the same stacktrace

Properties

context
Link copied to clipboard
var context: Context
deleteReportsOnAppUpdate
Link copied to clipboard
var deleteReportsOnAppUpdate: Boolean
This property can be used to determine whether old (out of date) reports should be sent or not.
enabled
Link copied to clipboard
var enabled: Boolean
exceptionClassLimit
Link copied to clipboard
var exceptionClassLimit: Int
limit for reports with the same exception class
failedReportLimit
Link copied to clipboard
var failedReportLimit: Int
limit for unsent reports
ignoredCrashToast
Link copied to clipboard
var ignoredCrashToast: String
toast shown when a report was not collected or sent because a limit was exceeded
overallLimit
Link copied to clipboard
var overallLimit: Int
general limit of reports
period
Link copied to clipboard
var period: Long
Reports which have been collected before this will not be considered for any limits except {@link org.acra.annotation.
periodUnit
Link copied to clipboard
var periodUnit: TimeUnit
Unit of {@link org.acra.annotation.
resetLimitsOnAppUpdate
Link copied to clipboard
var resetLimitsOnAppUpdate: Boolean
Resetting limits after an app update allows you to see if a bug still exists.
stacktraceLimit
Link copied to clipboard
var stacktraceLimit: Int
limit for reports with the same stacktrace