qisdk / com.aldebaran.qi.sdk.builder / AnimationBuilder

AnimationBuilder

open class AnimationBuilder

Build a new Animation

Functions

build

Create the Animation instance using configured values

open fun build(): Animation!

buildAsync

Create the Animation instance using configured values

open fun buildAsync(): Future<Animation!>!

with

Create a new builder from the qiContext

open static fun with(context: QiContext!): AnimationBuilder!

withAssets

Add assets into animation

open fun withAssets(vararg assetNames: String!): AnimationBuilder!
open fun withAssets(assetNames: MutableList<String!>!): AnimationBuilder!

withResources

Add resources into animation

open fun withResources(vararg resIds: Int!): AnimationBuilder!
open fun withResources(resIds: MutableList<Int!>!): AnimationBuilder!

withTexts

Add animation from texts

open fun withTexts(vararg texts: String!): AnimationBuilder!
open fun withTexts(texts: MutableList<String!>!): AnimationBuilder!