class KeyFrames


The parses the KeyFrame structure in a MotionScene xml

Summary

Constants

const Int
UNSET = -1

Public constructors

KeyFrames(context: Context!, parser: XmlPullParser!)

Public functions

Unit
addAllFrames(motionController: MotionController!)

Do not filter the set by matches

Unit
addFrames(motionController: MotionController!)

add the key frames to the motion controller

Unit
addKey(key: Key!)

Add a key to this set of keyframes

ArrayList<Key!>!

Get the list of keyframes given and ID

(Mutable)Set<Int!>!

Constants

UNSET

Added in 2.2.0-alpha13
const val UNSET = -1: Int

Public constructors

KeyFrames

Added in 2.2.0-alpha13
KeyFrames()

KeyFrames

Added in 2.2.0-alpha13
KeyFrames(context: Context!, parser: XmlPullParser!)

Public functions

addAllFrames

Added in 2.2.0-alpha13
fun addAllFrames(motionController: MotionController!): Unit

Do not filter the set by matches

Parameters
motionController: MotionController!

addFrames

Added in 2.2.0-alpha13
fun addFrames(motionController: MotionController!): Unit

add the key frames to the motion controller

Parameters
motionController: MotionController!

addKey

Added in 2.2.0-alpha13
fun addKey(key: Key!): Unit

Add a key to this set of keyframes

Parameters
key: Key!

getKeyFramesForView

Added in 2.2.0-alpha13
fun getKeyFramesForView(id: Int): ArrayList<Key!>!

Get the list of keyframes given and ID

Parameters
id: Int
Returns
ArrayList<Key!>!

getKeys

Added in 2.2.0-alpha13
fun getKeys(): (Mutable)Set<Int!>!