CoreMotionScene
interface CoreMotionScene
MotionScene |
Information for MotionLayout to animate between multiple |
This defines the interface to motionScene functionality
Summary
Public functions |
|
|---|---|
String! |
getConstraintSet(ext: String!)Get the ConstraintSet as a string |
String! |
getConstraintSet(index: Int)get a constraintset |
String! |
getTransition(str: String!)get a transition give the name |
Unit |
setConstraintSetContent(csName: String!, toJSON: String!)set the constraintSet json string |
Unit |
setDebugName(name: String!)set the debug name for remote access |
Unit |
setTransitionContent(elementName: String!, toJSON: String!)set the Transitions string onto the MotionScene |
Public functions
getConstraintSet
fun getConstraintSet(ext: String!): String!
Get the ConstraintSet as a string
getConstraintSet
fun getConstraintSet(index: Int): String!
get a constraintset
| Parameters | |
|---|---|
index: Int |
of the constraintset |
getTransition
fun getTransition(str: String!): String!
get a transition give the name
| Parameters | |
|---|---|
str: String! |
the name of the transition |
| Returns | |
|---|---|
String! |
the json of the transition |
setConstraintSetContent
fun setConstraintSetContent(csName: String!, toJSON: String!): Unit
set the constraintSet json string
setDebugName
fun setDebugName(name: String!): Unit
set the debug name for remote access
| Parameters | |
|---|---|
name: String! |
name to call this motion scene |