RescheduleMigration

class RescheduleMigration : Migration
kotlin.Any
   ↳ androidx.room.migration.Migration
   ↳ androidx.work.impl.RescheduleMigration

A WorkDatabase migration that reschedules all eligible Workers.

Summary

Public constructors
RescheduleMigration(mContext: Context, startVersion: Int, endVersion: Int)

A WorkDatabase migration that reschedules all eligible Workers.

Public methods
Unit

Properties
Context

Inherited properties

Public constructors

RescheduleMigration

RescheduleMigration(
    mContext: Context,
    startVersion: Int,
    endVersion: Int)

A WorkDatabase migration that reschedules all eligible Workers.

Public methods

migrate

fun migrate(database: SupportSQLiteDatabase): Unit

Properties

mContext

val mContext: Context