BackupActionValues


object BackupActionValues


Values that the keys in BackupActionInputKeys and BackupActionOutputKeys accept or produce.

Keys whose value is a boolean are not listed here: they are parsed with String.toBoolean, so "true" in any casing means true and everything else, including an absent key, means false.

Summary

Constants

const String

BackupActionInputKeys.PREF_NAME used when the key is absent.

const String

BackupActionOutputKeys.STATUS value reported when the action could not complete its work.

const String

BackupActionOutputKeys.STATUS value reported when the action completed its work.

const String

BackupActionInputKeys.STORAGE_TYPE value selecting SQLite database storage.

const String

BackupActionInputKeys.STORAGE_TYPE value selecting raw file storage.

const String

BackupActionInputKeys.STORAGE_TYPE value selecting android.content.SharedPreferences storage.

const String

BackupActionInputKeys.VALUE_TYPE value storing the value with putBoolean.

const String

BackupActionInputKeys.VALUE_TYPE value storing the value with putFloat.

const String

BackupActionInputKeys.VALUE_TYPE value storing the value with putInt.

const String

BackupActionInputKeys.VALUE_TYPE value storing the value with putLong.

const String

BackupActionInputKeys.VALUE_TYPE value storing the value with putString.

Constants

DEFAULT_PREF_NAME

Added in 1.0.0-alpha02
const val DEFAULT_PREF_NAME: String

BackupActionInputKeys.PREF_NAME used when the key is absent.

STATUS_FAILURE

Added in 1.0.0-alpha02
const val STATUS_FAILURE: String

BackupActionOutputKeys.STATUS value reported when the action could not complete its work.

STATUS_SUCCESS

Added in 1.0.0-alpha02
const val STATUS_SUCCESS: String

BackupActionOutputKeys.STATUS value reported when the action completed its work.

STORAGE_TYPE_DATABASE

Added in 1.0.0-alpha02
const val STORAGE_TYPE_DATABASE: String

BackupActionInputKeys.STORAGE_TYPE value selecting SQLite database storage.

STORAGE_TYPE_FILES

Added in 1.0.0-alpha02
const val STORAGE_TYPE_FILES: String

BackupActionInputKeys.STORAGE_TYPE value selecting raw file storage.

STORAGE_TYPE_PREFS

Added in 1.0.0-alpha02
const val STORAGE_TYPE_PREFS: String

BackupActionInputKeys.STORAGE_TYPE value selecting android.content.SharedPreferences storage. This is the default when the key is absent.

VALUE_TYPE_BOOLEAN

Added in 1.0.0-alpha02
const val VALUE_TYPE_BOOLEAN: String

BackupActionInputKeys.VALUE_TYPE value storing the value with putBoolean.

VALUE_TYPE_FLOAT

Added in 1.0.0-alpha02
const val VALUE_TYPE_FLOAT: String

BackupActionInputKeys.VALUE_TYPE value storing the value with putFloat.

VALUE_TYPE_INT

Added in 1.0.0-alpha02
const val VALUE_TYPE_INT: String

BackupActionInputKeys.VALUE_TYPE value storing the value with putInt.

VALUE_TYPE_LONG

Added in 1.0.0-alpha02
const val VALUE_TYPE_LONG: String

BackupActionInputKeys.VALUE_TYPE value storing the value with putLong.

VALUE_TYPE_STRING

Added in 1.0.0-alpha02
const val VALUE_TYPE_STRING: String

BackupActionInputKeys.VALUE_TYPE value storing the value with putString. This is the default when the key is absent.