qisdk / com.aldebaran.qi.sdk.object.actuation / Animate / Async

Async

interface Async

Functions

addOnLabelReachedListener

Add a OnLabelReachedListener

abstract fun addOnLabelReachedListener(onLabelReachedListener: OnLabelReachedListener!): Future<Void!>!

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

removeAllOnLabelReachedListeners

Remove all OnLabelReachedListener

abstract fun removeAllOnLabelReachedListeners(): Future<Void!>!

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Future<Void!>!

removeOnLabelReachedListener

Remove a OnLabelReachedListener

abstract fun removeOnLabelReachedListener(onLabelReachedListener: OnLabelReachedListener!): Future<Void!>!

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

run

Run the Animate on the robot. The started() signal is emitted when the action starts.

abstract fun run(): Future<Void!>!

setOnLabelReachedListener

Set a OnLabelReachedListener

abstract fun setOnLabelReachedListener(onLabelReachedListener: OnLabelReachedListener!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!