android-components / mozilla.components.support.migration / Migration

Migration

sealed class Migration (source)

Supported Fennec migrations and their current versions.

Types

Name Summary
Addons object Addons : Migration
Migrates / Disables all currently unsupported Add-ons.
Bookmarks object Bookmarks : Migration
Migrates bookmarks. Must run after history was migrated.
FxA object FxA : Migration
Migrates FxA state.
Gecko object Gecko : Migration
Migrates Gecko(View) internal files.
History object History : Migration
Migrates history (both “places” and “visits”).
Logins object Logins : Migration
Migrates logins.
OpenTabs object OpenTabs : Migration
Migrates open tabs.
PinnedSites object PinnedSites : Migration
Migrates Fennec’s pinned sites.
SearchEngine object SearchEngine : Migration
Migrates Fennec’s default search engine.
Settings object Settings : Migration
Migrates all Fennec settings backed by SharedPreferences.
TelemetryIdentifiers object TelemetryIdentifiers : Migration
Migrates Fennec’s telemetry identifiers.

Properties

Name Summary
currentVersion val currentVersion: Int

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.

Inheritors

Name Summary
Addons object Addons : Migration
Migrates / Disables all currently unsupported Add-ons.
Bookmarks object Bookmarks : Migration
Migrates bookmarks. Must run after history was migrated.
FxA object FxA : Migration
Migrates FxA state.
Gecko object Gecko : Migration
Migrates Gecko(View) internal files.
History object History : Migration
Migrates history (both “places” and “visits”).
Logins object Logins : Migration
Migrates logins.
OpenTabs object OpenTabs : Migration
Migrates open tabs.
PinnedSites object PinnedSites : Migration
Migrates Fennec’s pinned sites.
SearchEngine object SearchEngine : Migration
Migrates Fennec’s default search engine.
Settings object Settings : Migration
Migrates all Fennec settings backed by SharedPreferences.
TelemetryIdentifiers object TelemetryIdentifiers : Migration
Migrates Fennec’s telemetry identifiers.