android-components / / Storage


interface Storage (source)

An interface which provides generic operations for storing browser data like history and bookmarks.


Name Summary
cleanup abstract fun cleanup(): Unit
Cleans up background work and database connections
runMaintenance abstract suspend fun runMaintenance(): Unit
Runs internal database maintenance tasks
warmUp abstract suspend fun warmUp(): Unit
Make sure underlying database connections are established.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.


Name Summary
BookmarksStorage interface BookmarksStorage : Storage
An interface which defines read/write operations for bookmarks data.
HistoryStorage interface HistoryStorage : Storage
An interface which defines read/write methods for history data.
PlacesStorage abstract class PlacesStorage : Storage, SyncableStore
A base class for concrete implementations of PlacesStorages
RemoteTabsStorage open class RemoteTabsStorage : Storage, SyncableStore
An interface which defines read/write methods for remote tabs data.