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

Async

interface Async : Async

Functions

addOnBookmarkReachedListener

Add a OnBookmarkReachedListener

abstract fun addOnBookmarkReachedListener(onBookmarkReachedListener: OnBookmarkReachedListener!): Future<Void!>!

addOnEndedListener

Add a OnEndedListener

abstract fun addOnEndedListener(onEndedListener: OnEndedListener!): Future<Void!>!

addOnFocusedTopicChangedListener

Add a property changed listener for focusedTopic

abstract fun addOnFocusedTopicChangedListener(onFocusedTopicChangedListener: OnFocusedTopicChangedListener!): Future<Void!>!

bookmarkStatus

Obtain an object to observe and act on the given state of Bookmark within this QiChatbot

abstract fun bookmarkStatus(bookmark: Bookmark!): Future<BookmarkStatus!>!

concept

Get the content of the concept with the given name that can be converted to a string This works with both static and dynamic concepts. (For a primer on static and dynamic concepts, please refer to the QiChat documentation)

abstract fun concept(conceptName: String!): Future<PhraseSet!>!

dynamicConcept

Retrieve the dynamic concept with the given name This works only with dynamic concepts. (For a primer on static and dynamic concepts, please refer to the QiChat documentation)

abstract fun dynamicConcept(conceptName: String!): Future<EditablePhraseSet!>!

focusedTopicRecommendations

Obtain a list of possible human utterances for the currently focused topic of this QiChatbot

abstract fun focusedTopicRecommendations(maxRecommendations: Int!): Future<MutableList<Phrase!>!>!

getExecutors

Exposes the property executors value

abstract fun getExecutors(): Future<MutableMap<String!, QiChatExecutor!>!>!

getFocusedTopic

Exposes the property focusedTopic value

abstract fun getFocusedTopic(): Future<Topic!>!

getSpeakingBodyLanguage

Exposes the property speakingBodyLanguage value

abstract fun getSpeakingBodyLanguage(): Future<BodyLanguageOption!>!

getTopics

Exposes the property topics value

abstract fun getTopics(): Future<MutableList<Topic!>!>!

globalRecommendations

Obtain a list of possible human utterances for this QiChatbot as a whole

abstract fun globalRecommendations(maxRecommendations: Int!): Future<MutableList<Phrase!>!>!

goToBookmark

Make the robot execute the interaction at the given Bookmark, only if the Bookmark can be emitted. This provokes the emission of the autonomousReaction(Reply) signal, and will return only when the run() of the emitted reply has finished.

abstract fun goToBookmark(bookmark: Bookmark!, importance: AutonomousReactionImportance!, validity: AutonomousReactionValidity!): Future<Void!>!

removeAllOnBookmarkReachedListeners

Remove all OnBookmarkReachedListener

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

removeAllOnEndedListeners

Remove all OnEndedListener

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

removeAllOnFocusedTopicChangedListeners

Remove all focusedTopic changed listeners

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

removeOnBookmarkReachedListener

Remove a OnBookmarkReachedListener

abstract fun removeOnBookmarkReachedListener(onBookmarkReachedListener: OnBookmarkReachedListener!): Future<Void!>!

removeOnEndedListener

Remove a OnEndedListener

abstract fun removeOnEndedListener(onEndedListener: OnEndedListener!): Future<Void!>!

removeOnFocusedTopicChangedListener

Remove a property changed listener for focusedTopic

abstract fun removeOnFocusedTopicChangedListener(onFocusedTopicChangedListener: OnFocusedTopicChangedListener!): Future<Void!>!

scopeRecommendations

Obtain a list of possible human utterances for the current scope of this QiChatbot

abstract fun scopeRecommendations(maxRecommendations: Int!): Future<MutableList<Phrase!>!>!

setExecutors

Set the property executors value

abstract fun setExecutors(executors: MutableMap<String!, QiChatExecutor!>!): Future<Void!>!

setOnBookmarkReachedListener

Set a OnBookmarkReachedListener

abstract fun setOnBookmarkReachedListener(onBookmarkReachedListener: OnBookmarkReachedListener!): Future<Void!>!

setOnEndedListener

Set a OnEndedListener

abstract fun setOnEndedListener(onEndedListener: OnEndedListener!): Future<Void!>!

setOnFocusedTopicChangedListener

Set a property changed listener for focusedTopic

abstract fun setOnFocusedTopicChangedListener(onFocusedTopicChangedListener: OnFocusedTopicChangedListener!): Future<Void!>!

setSpeakingBodyLanguage

Set the property bodyLanguageOption value

abstract fun setSpeakingBodyLanguage(bodyLanguageOption: BodyLanguageOption!): Future<Void!>!

topicStatus

Obtain an object to observe and act on the given state of a Topic within this QiChatbot.

abstract fun topicStatus(topic: Topic!): Future<TopicStatus!>!

variable

Obtain access to the variable with the given name

abstract fun variable(varName: String!): Future<QiChatVariable!>!