start

suspend fun start(context: Context)

Starts the device binding migration process.

This suspending function executes all configured migration steps in sequence, emitting progress updates through a Flow. Each step is executed only once and will be skipped on subsequent invocations.

The migration is idempotent - running it multiple times is safe and will not duplicate or corrupt data.

Parameters

context

The Android context used to access storage and encryption services. Typically the application context.

Example

lifecycleScope.launch {
BindingMigration.start(applicationContext)
}

See also