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

Async

interface Async

Functions

addOnPositionReachedListener

Add a OnPositionReachedListener

abstract fun addOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): Future<Void!>!

addOnStartedListener

Add a OnStartedListener

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

removeAllOnPositionReachedListeners

Remove all OnPositionReachedListener

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

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeOnPositionReachedListener

Remove a OnPositionReachedListener

abstract fun removeOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): Future<Void!>!

removeOnStartedListener

Remove a OnStartedListener

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

run

Run the action on the robot. The started() signal is emitted when the action starts. The positionReached() signal is emitted when the tablet is in position. Throw if the arms are initially in front of the tablet, or are later moved in front of the tablet.

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

setOnPositionReachedListener

Set a OnPositionReachedListener

abstract fun setOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

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