interface CoreMotionScene

Known direct subclasses
MotionScene

Information for MotionLayout to animate between multiple ConstraintSets.


This defines the interface to motionScene functionality

Summary

Public functions

String!

Get the ConstraintSet as a string

String!

get a constraintset

String!

get a transition give the name

Unit
setConstraintSetContent(csName: String!, toJSON: String!)

set the constraintSet json string

Unit

set the debug name for remote access

Unit
setTransitionContent(elementName: String!, toJSON: String!)

set the Transitions string onto the MotionScene

Public functions

getConstraintSet

Added in 1.1.0-alpha13
fun getConstraintSet(ext: String!): String!

Get the ConstraintSet as a string

getConstraintSet

Added in 1.1.0-alpha13
fun getConstraintSet(index: Int): String!

get a constraintset

Parameters
index: Int

of the constraintset

getTransition

Added in 1.1.0-alpha13
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

Added in 1.1.0-alpha13
fun setConstraintSetContent(csName: String!, toJSON: String!): Unit

set the constraintSet json string

Parameters
csName: String!

the name of the constraint set

toJSON: String!

the json string of the constraintset

setDebugName

Added in 1.1.0-alpha13
fun setDebugName(name: String!): Unit

set the debug name for remote access

Parameters
name: String!

name to call this motion scene

setTransitionContent

Added in 1.1.0-alpha13
fun setTransitionContent(elementName: String!, toJSON: String!): Unit

set the Transitions string onto the MotionScene

Parameters
elementName: String!

the name of the element