Stay organized with collections Save and categorize content based on your preferences.

MotionScene

@Immutable interface MotionScene
androidx.constraintlayout.compose.MotionScene

Information for MotionLayout to animate between multiple ConstraintSets.

Summary

Public methods
abstract String?

abstract String?

abstract MotionLayoutDebugFlags

abstract Float

abstract String?

abstract Unit

abstract Unit

abstract Unit

abstract Unit

abstract Unit
setUpdateFlag(needsUpdate: MutableState<Long>)

Public methods

getConstraintSet

abstract fun getConstraintSet(name: String): String?

getConstraintSet

abstract fun getConstraintSet(index: Int): String?

getForcedDrawDebug

abstract fun getForcedDrawDebug(): MotionLayoutDebugFlags

getForcedProgress

abstract fun getForcedProgress(): Float

getTransition

abstract fun getTransition(name: String): String?

resetForcedProgress

abstract fun resetForcedProgress(): Unit

setConstraintSetContent

abstract fun setConstraintSetContent(
    name: String,
    content: String
): Unit

setDebugName

abstract fun setDebugName(name: String?): Unit

setTransitionContent

abstract fun setTransitionContent(
    name: String,
    content: String
): Unit

setUpdateFlag

abstract fun setUpdateFlag(needsUpdate: MutableState<Long>): Unit