qisdk / com.aldebaran.qi.sdk.object.conversation / Listen / Async

Async

interface Async

Functions

addOnStartedListener

Add a OnStartedListener

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

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeOnStartedListener

Remove a OnStartedListener

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

run

Make the robot listen for the specific phraseSet. When a phrase from the phrase sets is recognized, the resulting future finishes with a ListenResult.

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

setOnStartedListener

Set a OnStartedListener

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