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

AddonMigrationResult

sealed class AddonMigrationResult (source)

Result of an add-on migration.

Types

Name Summary
Failure sealed class Failure : AddonMigrationResult
Failure variants of an add-on migration.
Success sealed class Success : AddonMigrationResult
Success variants of an add-on migration.

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
Failure sealed class Failure : AddonMigrationResult
Failure variants of an add-on migration.
Success sealed class Success : AddonMigrationResult
Success variants of an add-on migration.