qisdk / com.aldebaran.qi.sdk.object.conversation / Chat

Chat

interface Chat

Action that listens to the users and interrogates its Chatbots to select the most appropriate answers.

Since
3

Types

Async

interface Async

OnFallbackReplyFoundForListener

Listener for fallbackReplyFoundFor signal

interface OnFallbackReplyFoundForListener

OnHeardListener

Listener for heard signal

interface OnHeardListener

OnHearingChangedListener

Listener for hearing property changed event

interface OnHearingChangedListener

OnListeningChangedListener

Listener for listening property changed event

interface OnListeningChangedListener

OnNoPhraseRecognizedListener

Listener for noPhraseRecognized signal

interface OnNoPhraseRecognizedListener

OnNoReplyFoundForListener

Listener for noReplyFoundFor signal

interface OnNoReplyFoundForListener

OnNormalReplyFoundForListener

Listener for normalReplyFoundFor signal

interface OnNormalReplyFoundForListener

OnSayingChangedListener

Listener for saying property changed event

interface OnSayingChangedListener

OnStartedListener

Listener for started signal

interface OnStartedListener

Functions

addOnFallbackReplyFoundForListener

Add a OnFallbackReplyFoundForListener

abstract fun addOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Unit

addOnHeardListener

Add a OnHeardListener

abstract fun addOnHeardListener(onHeardListener: OnHeardListener!): Unit

addOnHearingChangedListener

Add a property changed listener for hearing

abstract fun addOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Unit

addOnListeningChangedListener

Add a property changed listener for listening

abstract fun addOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Unit

addOnNoPhraseRecognizedListener

Add a OnNoPhraseRecognizedListener

abstract fun addOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Unit

addOnNoReplyFoundForListener

Add a OnNoReplyFoundForListener

abstract fun addOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Unit

addOnNormalReplyFoundForListener

Add a OnNormalReplyFoundForListener

abstract fun addOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Unit

addOnSayingChangedListener

Add a property changed listener for saying

abstract fun addOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Unit

async

abstract fun async(): Async!

getHearing

Exposes the property hearing value

abstract fun getHearing(): Boolean!

getListening

Exposes the property listening value

abstract fun getListening(): Boolean!

getListeningBodyLanguage

Exposes the property listeningBodyLanguage value

abstract fun getListeningBodyLanguage(): BodyLanguageOption!

getSaying

Exposes the property saying value

abstract fun getSaying(): Phrase!

removeAllOnFallbackReplyFoundForListeners

Remove all OnFallbackReplyFoundForListener

abstract fun removeAllOnFallbackReplyFoundForListeners(): Unit

removeAllOnHeardListeners

Remove all OnHeardListener

abstract fun removeAllOnHeardListeners(): Unit

removeAllOnHearingChangedListeners

Remove all hearing changed listeners

abstract fun removeAllOnHearingChangedListeners(): Unit

removeAllOnListeningChangedListeners

Remove all listening changed listeners

abstract fun removeAllOnListeningChangedListeners(): Unit

removeAllOnNoPhraseRecognizedListeners

Remove all OnNoPhraseRecognizedListener

abstract fun removeAllOnNoPhraseRecognizedListeners(): Unit

removeAllOnNoReplyFoundForListeners

Remove all OnNoReplyFoundForListener

abstract fun removeAllOnNoReplyFoundForListeners(): Unit

removeAllOnNormalReplyFoundForListeners

Remove all OnNormalReplyFoundForListener

abstract fun removeAllOnNormalReplyFoundForListeners(): Unit

removeAllOnSayingChangedListeners

Remove all saying changed listeners

abstract fun removeAllOnSayingChangedListeners(): Unit

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Unit

removeOnFallbackReplyFoundForListener

Remove a OnFallbackReplyFoundForListener

abstract fun removeOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Unit

removeOnHeardListener

Remove a OnHeardListener

abstract fun removeOnHeardListener(onHeardListener: OnHeardListener!): Unit

removeOnHearingChangedListener

Remove a property changed listener for hearing

abstract fun removeOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Unit

removeOnListeningChangedListener

Remove a property changed listener for listening

abstract fun removeOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Unit

removeOnNoPhraseRecognizedListener

Remove a OnNoPhraseRecognizedListener

abstract fun removeOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Unit

removeOnNoReplyFoundForListener

Remove a OnNoReplyFoundForListener

abstract fun removeOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Unit

removeOnNormalReplyFoundForListener

Remove a OnNormalReplyFoundForListener

abstract fun removeOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Unit

removeOnSayingChangedListener

Remove a property changed listener for saying

abstract fun removeOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Unit

run

The robot starts to listen, react and talk by picking reactions. If the robot is in a language different from the action language, the robot language will be changed.

abstract fun run(): Unit

setListeningBodyLanguage

Set the property bodyLanguageOption value

abstract fun setListeningBodyLanguage(bodyLanguageOption: BodyLanguageOption!): Unit

setOnFallbackReplyFoundForListener

Set a OnFallbackReplyFoundForListener

abstract fun setOnFallbackReplyFoundForListener(onFallbackReplyFoundForListener: OnFallbackReplyFoundForListener!): Unit

setOnHeardListener

Set a OnHeardListener

abstract fun setOnHeardListener(onHeardListener: OnHeardListener!): Unit

setOnHearingChangedListener

Set a property changed listener for hearing

abstract fun setOnHearingChangedListener(onHearingChangedListener: OnHearingChangedListener!): Unit

setOnListeningChangedListener

Set a property changed listener for listening

abstract fun setOnListeningChangedListener(onListeningChangedListener: OnListeningChangedListener!): Unit

setOnNoPhraseRecognizedListener

Set a OnNoPhraseRecognizedListener

abstract fun setOnNoPhraseRecognizedListener(onNoPhraseRecognizedListener: OnNoPhraseRecognizedListener!): Unit

setOnNoReplyFoundForListener

Set a OnNoReplyFoundForListener

abstract fun setOnNoReplyFoundForListener(onNoReplyFoundForListener: OnNoReplyFoundForListener!): Unit

setOnNormalReplyFoundForListener

Set a OnNormalReplyFoundForListener

abstract fun setOnNormalReplyFoundForListener(onNormalReplyFoundForListener: OnNormalReplyFoundForListener!): Unit

setOnSayingChangedListener

Set a property changed listener for saying

abstract fun setOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Unit