# MotionConstraintSet

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/motion/key/MotionConstraintSet.java+class:androidx.constraintlayout.core.motion.key.MotionConstraintSet) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
class MotionConstraintSet
```

<br />

*** ** * ** ***

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#ROTATE_LEFT_OF_PORTRATE() = 4` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#ROTATE_NONE() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#ROTATE_PORTRATE_OF_LEFT() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#ROTATE_PORTRATE_OF_RIGHT() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#ROTATE_RIGHT_OF_PORTRATE() = 3` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#MotionConstraintSet()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#mIdString()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/key/MotionConstraintSet#mRotate()` |

## Constants

### ROTATE_LEFT_OF_PORTRATE

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
const val ROTATE_LEFT_OF_PORTRATE = 4: Int
```

### ROTATE_NONE

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
const val ROTATE_NONE = 0: Int
```

### ROTATE_PORTRATE_OF_LEFT

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
const val ROTATE_PORTRATE_OF_LEFT = 2: Int
```

### ROTATE_PORTRATE_OF_RIGHT

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
const val ROTATE_PORTRATE_OF_RIGHT = 1: Int
```

### ROTATE_RIGHT_OF_PORTRATE

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
const val ROTATE_RIGHT_OF_PORTRATE = 3: Int
```

## Public constructors

### MotionConstraintSet

Added in 1.1.2

```
MotionConstraintSet()
```

## Public properties

### mIdString

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val mIdString: String!
```

### mRotate

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val mRotate: Int
```