putFile

open fun putFile(key: String, data: String, file: File)

Adds a value to the set.

Parameters

key

the name of the value to put

data

data to be stored

file

file to store the data in

See also

android.content.ContentValues#put(String, byte[])

Throws

could not write file.

file must not be null;