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

Async

interface Async

Functions

addOnPolicyChangedListener

Add a property changed listener for policy

abstract fun addOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): Future<Void!>!

addOnStartedListener

Add a OnStartedListener

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

getPolicy

Exposes the property policy value

abstract fun getPolicy(): Future<LookAtMovementPolicy!>!

removeAllOnPolicyChangedListeners

Remove all policy changed listeners

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

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeOnPolicyChangedListener

Remove a property changed listener for policy

abstract fun removeOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): 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.

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

setOnPolicyChangedListener

Set a property changed listener for policy

abstract fun setOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

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

setPolicy

Set the property policy value

abstract fun setPolicy(policy: LookAtMovementPolicy!): Future<Void!>!