# androidx.constraintlayout.core.dsl

# androidx.constraintlayout.core.dsl

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/constraintlayout/core/dsl/package-summary "View this page in Java")

## Classes

|----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Barrier](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Barrier)                       |                                                                                                                                                                                      |
| [Chain](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Chain)                           |                                                                                                                                                                                      |
| [Chain.Anchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Chain.Anchor)             |                                                                                                                                                                                      |
| [Constraint](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint)                 | Provides the API for creating a Constraint Object for use in the Core ConstraintLayout \&MotionLayout system                                                                         |
| [Constraint.Anchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.Anchor)   |                                                                                                                                                                                      |
| [Constraint.HAnchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.HAnchor) |                                                                                                                                                                                      |
| [Constraint.VAnchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.VAnchor) |                                                                                                                                                                                      |
| [ConstraintSet](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/ConstraintSet)           | Provides the API for creating a ConstraintSet Object for use in the Core ConstraintLayout \&MotionLayout system                                                                      |
| [Guideline](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Guideline)                   |                                                                                                                                                                                      |
| [HChain](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/HChain)                         |                                                                                                                                                                                      |
| [HChain.HAnchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/HChain.HAnchor)         |                                                                                                                                                                                      |
| [Helper](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Helper)                         |                                                                                                                                                                                      |
| [Helper.HelperType](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Helper.HelperType)   |                                                                                                                                                                                      |
| [KeyAttribute](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttribute)             | Provides the API for creating a KeyAttribute Object for use in the Core ConstraintLayout \&MotionLayout system                                                                       |
| [KeyAttributes](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttributes)           | Provides the API for creating a KeyAttribute Object for use in the Core ConstraintLayout \&MotionLayout system This allows multiple KeyAttribute positions to defined in one object. |
| [KeyCycle](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyCycle)                     |                                                                                                                                                                                      |
| [KeyCycles](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyCycles)                   | Provides the API for creating a KeyCycle Object for use in the Core ConstraintLayout \&MotionLayout system This allows multiple KeyCycle positions to defined in one object.         |
| [KeyFrames](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyFrames)                   | Provides the API for creating a KeyFrames Object for use in the Core ConstraintLayout \&MotionLayout system KeyFrames is a container for KeyAttribute,KeyCycle,KeyPosition etc.      |
| [KeyPosition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyPosition)               | Provides the API for creating a KeyPosition Object for use in the Core ConstraintLayout \&MotionLayout system                                                                        |
| [KeyPositions](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyPositions)             | Provides the API for creating a KeyPosition Object for use in the Core ConstraintLayout \&MotionLayout system This allows multiple KeyPosition positions to defined in one object.   |
| [Keys](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Keys)                             | This is the base Key for all the key (KeyCycle, KeyPosition, etc.) Objects                                                                                                           |
| [MotionScene](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/MotionScene)               | This defines to MotionScene container It contains ConstraintSet and Transitions                                                                                                      |
| [OnSwipe](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe)                       | Create automatic swipe handling object                                                                                                                                               |
| [Ref](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Ref)                               |                                                                                                                                                                                      |
| [Transition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Transition)                 | Create a Transition Object.                                                                                                                                                          |
| [VChain](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/VChain)                         |                                                                                                                                                                                      |
| [VChain.VAnchor](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/VChain.VAnchor)         |                                                                                                                                                                                      |
| [VGuideline](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/VGuideline)                 |                                                                                                                                                                                      |

## Enums

|----------------------------------------------------------------------------------------------------------------------------------------|---|
| [Chain.Style](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Chain.Style)                           |   |
| [Constraint.Behaviour](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.Behaviour)         |   |
| [Constraint.ChainMode](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.ChainMode)         |   |
| [Constraint.HSide](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.HSide)                 |   |
| [Constraint.Side](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.Side)                   |   |
| [Constraint.VSide](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Constraint.VSide)                 |   |
| [Helper.Type](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/Helper.Type)                           |   |
| [KeyAttribute.Fit](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttribute.Fit)                 |   |
| [KeyAttribute.Visibility](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttribute.Visibility)   |   |
| [KeyAttributes.Fit](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttributes.Fit)               |   |
| [KeyAttributes.Visibility](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyAttributes.Visibility) |   |
| [KeyCycle.Wave](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyCycle.Wave)                       |   |
| [KeyCycles.Wave](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyCycles.Wave)                     |   |
| [KeyPosition.Type](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyPosition.Type)                 |   |
| [KeyPositions.Type](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/KeyPositions.Type)               |   |
| [OnSwipe.Boundary](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe.Boundary)                 |   |
| [OnSwipe.Drag](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe.Drag)                         |   |
| [OnSwipe.Mode](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe.Mode)                         |   |
| [OnSwipe.Side](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe.Side)                         |   |
| [OnSwipe.TouchUp](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/dsl/OnSwipe.TouchUp)                   |   |