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

Async

interface Async
Deprecated: Deprecated in Java

Functions

addOnBookmarkReachedListener

Add a OnBookmarkReachedListener

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

addOnFallbackReplyFoundForListener

Add a OnFallbackReplyFoundForListener

abstract fun addOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Future<Void!>!

addOnFocusedTopicChangedListener

Add a property changed listener for focusedTopic

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

addOnHeardListener

Add a OnHeardListener

abstract fun addOnHeardListener(onHeardListener: OnHeardListener!): Future<Void!>!

addOnHearingChangedListener

Add a property changed listener for hearing

abstract fun addOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Future<Void!>!

addOnLatestInputUtteranceChangedListener

Add a property changed listener for latestInputUtterance

abstract fun addOnLatestInputUtteranceChangedListener(onLatestInputUtteranceChangedListener: OnLatestInputUtteranceChangedListener!): Future<Void!>!

addOnLatestOutputUtteranceChangedListener

Add a property changed listener for latestOutputUtterance

abstract fun addOnLatestOutputUtteranceChangedListener(onLatestOutputUtteranceChangedListener: OnLatestOutputUtteranceChangedListener!): Future<Void!>!

addOnListeningChangedListener

Add a property changed listener for listening

abstract fun addOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Future<Void!>!

addOnNoPhraseRecognizedListener

Add a OnNoPhraseRecognizedListener

abstract fun addOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Future<Void!>!

addOnNoReplyFoundForListener

Add a OnNoReplyFoundForListener

abstract fun addOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Future<Void!>!

addOnNormalReplyFoundForListener

Add a OnNormalReplyFoundForListener

abstract fun addOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Future<Void!>!

addOnSayingChangedListener

Add a property changed listener for saying

abstract fun addOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Future<Void!>!

addOnStartedListener

Add a OnStartedListener

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

bookmarkStatus

Obtain an object to observe and act on the given state of Bookmark during the action execution.

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 running Discuss action

abstract fun focusedTopicRecommendations(): Future<PhraseSet!>!

getFocusedTopic

Exposes the property focusedTopic value

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

getHearing

Exposes the property hearing value

abstract fun getHearing(): Future<Boolean!>!

getLatestInputUtterance

Exposes the property latestInputUtterance value

abstract fun getLatestInputUtterance(): Future<Phrase!>!

getLatestOutputUtterance

Exposes the property latestOutputUtterance value

abstract fun getLatestOutputUtterance(): Future<Phrase!>!

getListening

Exposes the property listening value

abstract fun getListening(): Future<Boolean!>!

getSaying

Exposes the property saying value

abstract fun getSaying(): Future<Phrase!>!

getTopics

Exposes the property topics value

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

globalRecommendations

Obtain a list of possible human utterances for this running Discuss action as whole

abstract fun globalRecommendations(): Future<PhraseSet!>!

goToBookmarkedOutputUtterance

Make the robot execute the interaction at the given Bookmark, regardless of whether the Bookmark would be emitted

abstract fun goToBookmarkedOutputUtterance(bookmark: Bookmark!): Future<Boolean!>!

goToBookmarkedOutputUtteranceIfBookmarkIsReachable

Make the robot execute the interaction at the given Bookmark, only if the Bookmark can be emitted.

abstract fun goToBookmarkedOutputUtteranceIfBookmarkIsReachable(bookmark: Bookmark!): Future<Void!>!

removeAllOnBookmarkReachedListeners

Remove all OnBookmarkReachedListener

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

removeAllOnFallbackReplyFoundForListeners

Remove all OnFallbackReplyFoundForListener

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

removeAllOnFocusedTopicChangedListeners

Remove all focusedTopic changed listeners

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

removeAllOnHeardListeners

Remove all OnHeardListener

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

removeAllOnHearingChangedListeners

Remove all hearing changed listeners

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

removeAllOnLatestInputUtteranceChangedListeners

Remove all latestInputUtterance changed listeners

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

removeAllOnLatestOutputUtteranceChangedListeners

Remove all latestOutputUtterance changed listeners

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

removeAllOnListeningChangedListeners

Remove all listening changed listeners

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

removeAllOnNoPhraseRecognizedListeners

Remove all OnNoPhraseRecognizedListener

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

removeAllOnNoReplyFoundForListeners

Remove all OnNoReplyFoundForListener

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

removeAllOnNormalReplyFoundForListeners

Remove all OnNormalReplyFoundForListener

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

removeAllOnSayingChangedListeners

Remove all saying changed listeners

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

removeAllOnStartedListeners

Remove all OnStartedListener

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

removeOnBookmarkReachedListener

Remove a OnBookmarkReachedListener

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

removeOnFallbackReplyFoundForListener

Remove a OnFallbackReplyFoundForListener

abstract fun removeOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Future<Void!>!

removeOnFocusedTopicChangedListener

Remove a property changed listener for focusedTopic

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

removeOnHeardListener

Remove a OnHeardListener

abstract fun removeOnHeardListener(onHeardListener: OnHeardListener!): Future<Void!>!

removeOnHearingChangedListener

Remove a property changed listener for hearing

abstract fun removeOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Future<Void!>!

removeOnLatestInputUtteranceChangedListener

Remove a property changed listener for latestInputUtterance

abstract fun removeOnLatestInputUtteranceChangedListener(onLatestInputUtteranceChangedListener: OnLatestInputUtteranceChangedListener!): Future<Void!>!

removeOnLatestOutputUtteranceChangedListener

Remove a property changed listener for latestOutputUtterance

abstract fun removeOnLatestOutputUtteranceChangedListener(onLatestOutputUtteranceChangedListener: OnLatestOutputUtteranceChangedListener!): Future<Void!>!

removeOnListeningChangedListener

Remove a property changed listener for listening

abstract fun removeOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Future<Void!>!

removeOnNoPhraseRecognizedListener

Remove a OnNoPhraseRecognizedListener

abstract fun removeOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Future<Void!>!

removeOnNoReplyFoundForListener

Remove a OnNoReplyFoundForListener

abstract fun removeOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Future<Void!>!

removeOnNormalReplyFoundForListener

Remove a OnNormalReplyFoundForListener

abstract fun removeOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Future<Void!>!

removeOnSayingChangedListener

Remove a property changed listener for saying

abstract fun removeOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Future<Void!>!

removeOnStartedListener

Remove a OnStartedListener

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

run

Start the discussion The robot starts to listen, react and talk using the content of the loaded topics If the robot is in a language different from the action language, the robot language will be changed.

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

scopeRecommendations

Obtain a list of possible human utterances for the current scope of this running Discuss action

abstract fun scopeRecommendations(): Future<PhraseSet!>!

setOnBookmarkReachedListener

Set a OnBookmarkReachedListener

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

setOnFallbackReplyFoundForListener

Set a OnFallbackReplyFoundForListener

abstract fun setOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Future<Void!>!

setOnFocusedTopicChangedListener

Set a property changed listener for focusedTopic

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

setOnHeardListener

Set a OnHeardListener

abstract fun setOnHeardListener(onHeardListener: OnHeardListener!): Future<Void!>!

setOnHearingChangedListener

Set a property changed listener for hearing

abstract fun setOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Future<Void!>!

setOnLatestInputUtteranceChangedListener

Set a property changed listener for latestInputUtterance

abstract fun setOnLatestInputUtteranceChangedListener(onLatestInputUtteranceChangedListener: OnLatestInputUtteranceChangedListener!): Future<Void!>!

setOnLatestOutputUtteranceChangedListener

Set a property changed listener for latestOutputUtterance

abstract fun setOnLatestOutputUtteranceChangedListener(onLatestOutputUtteranceChangedListener: OnLatestOutputUtteranceChangedListener!): Future<Void!>!

setOnListeningChangedListener

Set a property changed listener for listening

abstract fun setOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Future<Void!>!

setOnNoPhraseRecognizedListener

Set a OnNoPhraseRecognizedListener

abstract fun setOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Future<Void!>!

setOnNoReplyFoundForListener

Set a OnNoReplyFoundForListener

abstract fun setOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Future<Void!>!

setOnNormalReplyFoundForListener

Set a OnNormalReplyFoundForListener

abstract fun setOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Future<Void!>!

setOnSayingChangedListener

Set a property changed listener for saying

abstract fun setOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

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

topicStatus

Obtain an object to observe and act on the given state of a Topic during the action execution.

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

variable

Obtain access to the variable with the given name

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