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

FxaMigrationResult

sealed class FxaMigrationResult (source)

Result of an FxA migration.

Note that toString implementations are overridden to help avoid accidental logging of PII.

Types

Name Summary
Failure sealed class Failure : FxaMigrationResult
Failure variants of an FxA migration.
Success sealed class Success : FxaMigrationResult
Success variants of an FxA 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 : FxaMigrationResult
Failure variants of an FxA migration.
Success sealed class Success : FxaMigrationResult
Success variants of an FxA migration.