android-components / mozilla.components.browser.storage.sync / PlacesBookmarksStorage / importFromFennec

importFromFennec

fun importFromFennec(dbPath: String): <ERROR CLASS> (source)

Import bookmarks data from Fennec’s browser.db file. Before running this, first run PlacesHistoryStorage.importFromFennec to import history and visits data.

Parameters

dbPath - Absolute path to Fennec’s browser.db file.

Return Migration metrics wrapped in a JSON object. See libplaces for schema details.