SharedPreferencesFactory

class SharedPreferencesFactory(context: Context, config: CoreConfiguration)

Responsible for creating a SharedPreferences instance which stores ACRA settings.

Retrieves the SharedPreferences instance where user adjustable settings for ACRA are stored. Default are the Application default SharedPreferences, but you can provide another SharedPreferences name with org.acra.annotation.AcraCore.sharedPreferencesName.

Constructors

SharedPreferencesFactory
Link copied to clipboard
fun SharedPreferencesFactory(context: Context, config: CoreConfiguration)

Types

Companion
Link copied to clipboard
object Companion

Functions

create
Link copied to clipboard
fun create(): SharedPreferences