setUseEncryption
Sets whether to encrypt the backing file on disk.
By default this is set to true
only if the given file to store data files in isn't encrypted (determined using StorageManager.isEncrypted). All Android devices launching with Android 10 or later has an encrypted data partition meaning that the encryption of values won't be on by default for such devices.
Return
the builder.
Parameters
useEncryption
whether to encrypt values.