interface TypedValues

Known direct subclasses
MotionKey

Base class in an element in a KeyFrame

MotionWidget
Motion

Contains the picture of a view through a transition and is used to interpolate it.

Transition

Provides an interface to values used in KeyFrames and in Starting and Ending Widgets

Summary

Constants

const Int
const Int
const Int
const Int
const String!
S_CUSTOM = "CUSTOM"
const Int
const Int

Public functions

Int
getId(name: String!)
Boolean
setValue(id: Int, value: Boolean)

Used to set boolean values

Boolean
setValue(id: Int, value: Float)

Used to set float values

Boolean
setValue(id: Int, value: Int)

Used to set integer values

Boolean
setValue(id: Int, value: String!)

Used to set String values

Constants

BOOLEAN_MASK

Added in 1.1.0-alpha13
const val BOOLEAN_MASK = 1: Int

FLOAT_MASK

Added in 1.1.0-alpha13
const val FLOAT_MASK = 4: Int

INT_MASK

Added in 1.1.0-alpha13
const val INT_MASK = 2: Int

STRING_MASK

Added in 1.1.0-alpha13
const val STRING_MASK = 8: Int

S_CUSTOM

Added in 1.1.0-alpha13
const val S_CUSTOM = "CUSTOM": String!

TYPE_FRAME_POSITION

Added in 1.1.0-alpha13
const val TYPE_FRAME_POSITION = 100: Int

TYPE_TARGET

Added in 1.1.0-alpha13
const val TYPE_TARGET = 101: Int

Public functions

getId

Added in 1.1.0-alpha13
fun getId(name: String!): Int

setValue

Added in 1.1.0-alpha13
fun setValue(id: Int, value: Boolean): Boolean

Used to set boolean values

Returns
Boolean

true if it accepted the value

setValue

Added in 1.1.0-alpha13
fun setValue(id: Int, value: Float): Boolean

Used to set float values

Returns
Boolean

true if it accepted the value

setValue

Added in 1.1.0-alpha13
fun setValue(id: Int, value: Int): Boolean

Used to set integer values

Returns
Boolean

true if it accepted the value

setValue

Added in 1.1.0-alpha13
fun setValue(id: Int, value: String!): Boolean

Used to set String values

Returns
Boolean

true if it accepted the value