Core Configuration Builder
Class generated based on AcraCore (Jun 1, 2021 1:43:33 PM)
Constructors
CoreConfigurationBuilder
Link copied to clipboard
Functions
build
Link copied to clipboard
getPluginConfigurationBuilder
Link copied to clipboard
@NotNull()
Content copied to clipboard
pluginConfigurations
Link copied to clipboard
pluginLoader
Link copied to clipboard
setPluginLoader
Link copied to clipboard
fun setPluginLoader(pluginLoader: PluginLoader): CoreConfigurationBuilder
Content copied to clipboard
setReportField
Link copied to clipboard
fun setReportField(field: ReportField, enable: Boolean): CoreConfigurationBuilder
Content copied to clipboard
transformReportContent
Link copied to clipboard
withAdditionalDropBoxTags
Link copied to clipboard
fun withAdditionalDropBoxTags(vararg additionalDropBoxTags: String): CoreConfigurationBuilder
Content copied to clipboard
withAdditionalSharedPreferences
Link copied to clipboard
fun withAdditionalSharedPreferences(vararg additionalSharedPreferences: String): CoreConfigurationBuilder
Content copied to clipboard
withAlsoReportToAndroidFramework
Link copied to clipboard
fun withAlsoReportToAndroidFramework(alsoReportToAndroidFramework: Boolean): CoreConfigurationBuilder
Content copied to clipboard
withApplicationLogFile
Link copied to clipboard
fun withApplicationLogFile(applicationLogFile: String): CoreConfigurationBuilder
Content copied to clipboard
withApplicationLogFileDir
Link copied to clipboard
fun withApplicationLogFileDir(applicationLogFileDir: Directory): CoreConfigurationBuilder
Content copied to clipboard
withApplicationLogFileLines
Link copied to clipboard
fun withApplicationLogFileLines(applicationLogFileLines: Int): CoreConfigurationBuilder
Content copied to clipboard
withAttachmentUriProvider
Link copied to clipboard
fun withAttachmentUriProvider(attachmentUriProvider: Class<out AttachmentUriProvider>): CoreConfigurationBuilder
Content copied to clipboard
withAttachmentUris
Link copied to clipboard
fun withAttachmentUris(vararg attachmentUris: String): CoreConfigurationBuilder
Content copied to clipboard
withBuildConfigClass
Link copied to clipboard
fun withBuildConfigClass(buildConfigClass: Class<*>): CoreConfigurationBuilder
Content copied to clipboard
withDeleteUnapprovedReportsOnApplicationStart
Link copied to clipboard
fun withDeleteUnapprovedReportsOnApplicationStart(deleteUnapprovedReportsOnApplicationStart: Boolean): CoreConfigurationBuilder
Content copied to clipboard
withDropboxCollectionMinutes
Link copied to clipboard
fun withDropboxCollectionMinutes(dropboxCollectionMinutes: Int): CoreConfigurationBuilder
Content copied to clipboard
withEnabled
Link copied to clipboard
withExcludeMatchingSettingsKeys
Link copied to clipboard
fun withExcludeMatchingSettingsKeys(vararg excludeMatchingSettingsKeys: String): CoreConfigurationBuilder
Content copied to clipboard
withExcludeMatchingSharedPreferencesKeys
Link copied to clipboard
fun withExcludeMatchingSharedPreferencesKeys(vararg excludeMatchingSharedPreferencesKeys: String): CoreConfigurationBuilder
Content copied to clipboard
withIncludeDropBoxSystemTags
Link copied to clipboard
fun withIncludeDropBoxSystemTags(includeDropBoxSystemTags: Boolean): CoreConfigurationBuilder
Content copied to clipboard
If enabled, DropBox events collection will include system tags:
- system_app_anr
- system_app_wtf
- system_app_crash
- system_server_anr
- system_server_wtf
- system_server_crash
- BATTERY_DISCHARGE_INFO
- SYSTEM_RECOVERY_LOG
- SYSTEM_BOOT
- SYSTEM_LAST_KMSG
- APANIC_CONSOLE
- APANIC_THREADS
- SYSTEM_RESTART
- SYSTEM_TOMBSTONE
- data_app_strictmode
withLogcatArguments
Link copied to clipboard
fun withLogcatArguments(vararg logcatArguments: String): CoreConfigurationBuilder
Content copied to clipboard
withLogcatFilterByPid
Link copied to clipboard
fun withLogcatFilterByPid(logcatFilterByPid: Boolean): CoreConfigurationBuilder
Content copied to clipboard
withLogcatReadNonBlocking
Link copied to clipboard
fun withLogcatReadNonBlocking(logcatReadNonBlocking: Boolean): CoreConfigurationBuilder
Content copied to clipboard
withParallel
Link copied to clipboard
withReportContent
Link copied to clipboard
fun withReportContent(vararg reportContent: ReportField): CoreConfigurationBuilder
Content copied to clipboard
withReportFormat
Link copied to clipboard
fun withReportFormat(reportFormat: StringFormat): CoreConfigurationBuilder
Content copied to clipboard
withReportSendFailureToast
Link copied to clipboard
fun withReportSendFailureToast(reportSendFailureToast: String): CoreConfigurationBuilder
Content copied to clipboard
withReportSendSuccessToast
Link copied to clipboard
fun withReportSendSuccessToast(reportSendSuccessToast: String): CoreConfigurationBuilder
Content copied to clipboard
withResReportSendFailureToast
Link copied to clipboard
fun withResReportSendFailureToast(@StringRes() resReportSendFailureToast: Int): CoreConfigurationBuilder
Content copied to clipboard
withResReportSendSuccessToast
Link copied to clipboard
fun withResReportSendSuccessToast(@StringRes() resReportSendSuccessToast: Int): CoreConfigurationBuilder
Content copied to clipboard
withRetryPolicyClass
Link copied to clipboard
fun withRetryPolicyClass(retryPolicyClass: Class<out RetryPolicy>): CoreConfigurationBuilder
Content copied to clipboard
withSendReportsInDevMode
Link copied to clipboard
fun withSendReportsInDevMode(sendReportsInDevMode: Boolean): CoreConfigurationBuilder
Content copied to clipboard
withSharedPreferencesName
Link copied to clipboard
fun withSharedPreferencesName(sharedPreferencesName: String): CoreConfigurationBuilder
Content copied to clipboard
Name of the SharedPreferences that will host ACRA settings which you can make accessible to your users through a preferences screen:
- {@link org.acra.ACRA#PREF_DISABLE_ACRA} or {@link org.acra.ACRA#PREF_ENABLE_ACRA}
- {@link org.acra.ACRA#PREF_ALWAYS_ACCEPT}
- {@link org.acra.ACRA#PREF_ENABLE_DEVICE_ID}
- {@link org.acra.ACRA#PREF_ENABLE_SYSTEM_LOGS}
withStopServicesOnCrash
Link copied to clipboard
fun withStopServicesOnCrash(stopServicesOnCrash: Boolean): CoreConfigurationBuilder
Content copied to clipboard
Properties
additionalDropBoxTags
Link copied to clipboard
additionalSharedPreferences
Link copied to clipboard
alsoReportToAndroidFramework
Link copied to clipboard
applicationLogFile
Link copied to clipboard
applicationLogFileDir
Link copied to clipboard
applicationLogFileLines
Link copied to clipboard
attachmentUriProvider
Link copied to clipboard
attachmentUris
Link copied to clipboard
buildConfigClass
Link copied to clipboard
delegate
Link copied to clipboard
deleteUnapprovedReportsOnApplicationStart
Link copied to clipboard
dropboxCollectionMinutes
Link copied to clipboard
excludeMatchingSettingsKeys
Link copied to clipboard
excludeMatchingSharedPreferencesKeys
Link copied to clipboard
includeDropBoxSystemTags
Link copied to clipboard
If enabled, DropBox events collection will include system tags:
- system_app_anr
- system_app_wtf
- system_app_crash
- system_server_anr
- system_server_wtf
- system_server_crash
- BATTERY_DISCHARGE_INFO
- SYSTEM_RECOVERY_LOG
- SYSTEM_BOOT
- SYSTEM_LAST_KMSG
- APANIC_CONSOLE
- APANIC_THREADS
- SYSTEM_RESTART
- SYSTEM_TOMBSTONE
- data_app_strictmode
logcatArguments
Link copied to clipboard
logcatFilterByPid
Link copied to clipboard
logcatReadNonBlocking
Link copied to clipboard
reportContent
Link copied to clipboard
reportFormat
Link copied to clipboard
reportSendFailureToast
Link copied to clipboard
reportSendSuccessToast
Link copied to clipboard
retryPolicyClass
Link copied to clipboard
sendReportsInDevMode
Link copied to clipboard
sharedPreferencesName
Link copied to clipboard
Name of the SharedPreferences that will host ACRA settings which you can make accessible to your users through a preferences screen:
- {@link org.acra.ACRA#PREF_DISABLE_ACRA} or {@link org.acra.ACRA#PREF_ENABLE_ACRA}
- {@link org.acra.ACRA#PREF_ALWAYS_ACCEPT}
- {@link org.acra.ACRA#PREF_ENABLE_DEVICE_ID}
- {@link org.acra.ACRA#PREF_ENABLE_SYSTEM_LOGS}
stopServicesOnCrash
Link copied to clipboard
Extensions
dialog
Link copied to clipboard
fun CoreConfigurationBuilder.dialog(initializer: DialogConfigurationBuilder.() -> Unit)
Content copied to clipboard
getPluginConfigurationBuilder
Link copied to clipboard
inline fun <T : ConfigurationBuilder> CoreConfigurationBuilder.getPluginConfigurationBuilder(): T
Content copied to clipboard
httpSender
Link copied to clipboard
fun CoreConfigurationBuilder.httpSender(initializer: HttpSenderConfigurationBuilder.() -> Unit)
Content copied to clipboard
limiter
Link copied to clipboard
fun CoreConfigurationBuilder.limiter(initializer: LimiterConfigurationBuilder.() -> Unit)
Content copied to clipboard
mailSender
Link copied to clipboard
fun CoreConfigurationBuilder.mailSender(initializer: MailSenderConfigurationBuilder.() -> Unit)
Content copied to clipboard
notification
Link copied to clipboard
fun CoreConfigurationBuilder.notification(initializer: NotificationConfigurationBuilder.() -> Unit)
Content copied to clipboard
scheduler
Link copied to clipboard
fun CoreConfigurationBuilder.scheduler(initializer: SchedulerConfigurationBuilder.() -> Unit)
Content copied to clipboard
toast
Link copied to clipboard
fun CoreConfigurationBuilder.toast(initializer: ToastConfigurationBuilder.() -> Unit)
Content copied to clipboard