getEncryptedSharedPreferences

abstract fun getEncryptedSharedPreferences(name: String, multiprocess: Boolean = false): SharedPreferences?

Returns and instance of Encrypted Shared PReferences

Return

the encrypted shared preferences of null if there was any error (eg. devices doesn't support it)

Parameters

name

Name of the shared preferences

multiprocess

true if the shared preferences will be accessed from several processes else false