Package-level declarations

Types

Link copied to clipboard

A simple Exception used when required configuration items are missing.

Link copied to clipboard
Link copied to clipboard

A configuration object

Link copied to clipboard
Link copied to clipboard

A factory for configuration builders

Link copied to clipboard
class CoreConfiguration(val sharedPreferencesName: String? = null, val includeDropBoxSystemTags: Boolean = false, val additionalDropBoxTags: List<String> = emptyList(), val dropboxCollectionMinutes: Int = 5, val logcatArguments: List<String> = listOf("-t", ACRAConstants.DEFAULT_LOG_LINES.toString(), "-v", "time"), val reportContent: List<ReportField> = ACRAConstants.DEFAULT_REPORT_FIELDS.toList(), val deleteUnapprovedReportsOnApplicationStart: Boolean = true, val alsoReportToAndroidFramework: Boolean = false, val additionalSharedPreferences: List<String> = emptyList(), val logcatFilterByPid: Boolean = true, val logcatReadNonBlocking: Boolean = false, val sendReportsInDevMode: Boolean = true, val excludeMatchingSharedPreferencesKeys: List<String> = emptyList(), val excludeMatchingSettingsKeys: List<String> = emptyList(), val buildConfigClass: Class<*>? = null, val applicationLogFile: String? = null, val applicationLogFileLines: Int = ACRAConstants.DEFAULT_LOG_LINES, val applicationLogFileDir: Directory = Directory.FILES_LEGACY, val retryPolicyClass: Class<out RetryPolicy> = DefaultRetryPolicy::class.java, val stopServicesOnCrash: Boolean = false, val attachmentUris: List<String> = emptyList(), val attachmentUriProvider: Class<out AttachmentUriProvider> = DefaultAttachmentProvider::class.java, val reportSendSuccessToast: String? = null, val reportSendFailureToast: String? = null, val reportFormat: StringFormat = StringFormat.JSON, val parallel: Boolean = true, val pluginLoader: PluginLoader = ServicePluginLoader(), val pluginConfigurations: List<Configuration> = emptyList()) : Serializable, Configuration
Link copied to clipboard
Link copied to clipboard

Default RetryPolicy. Only resend if all senders failed.

Link copied to clipboard

Controls if reports are sent

Link copied to clipboard
interface RetryPolicy

A policy which determines if a report should be resent.

Functions

Link copied to clipboard
Link copied to clipboard

Allows easy access to Plugin configurations from the main configuration