FileStore

Saves Map objects to physical files in a private area designated to the application.

Functions

Link copied to clipboard
fun deleteFile(filename: String, context: Context): Boolean

Deletes a file in internal storage.

Link copied to clipboard

Returns a map of KV pairs from a file in internal storage.

Link copied to clipboard
fun saveMapToFile(filename: String, objects: Map<*, *>, context: Context): Boolean

Saves a file to internal storage with a map of key value pairs.