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

MigrationIntentProcessor

class MigrationIntentProcessor : IntentProcessor (source)

An IntentProcessor that checks if we’re in a migration state.

⚠️ When using this processor, ensure this is the first processor to be invoked if there are multiple.

Constructors

Name Summary
<init> MigrationIntentProcessor(store: MigrationStore)
An IntentProcessor that checks if we’re in a migration state.

Functions

Name Summary
process fun process(intent: <ERROR CLASS>): Boolean
Processes all incoming intents if a migration is in progress.

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.