ScrubState

constructor(type: ScrubType, topKey: String, revealedKey: String? = null, progress: Float = 0.0f)(source)


constructor(kind: String, topKey: String, revealedKey: String? = null, progress: Float = 0.0f)(source)

Deprecated

Pass a ScrubType instead of its wire name.

Replace with

ScrubState(ScrubType.Back, topKey, revealedKey, progress)