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

Async

interface Async

Functions

acknowledgeHeard

Inform the Chatbot with the last phrase heard by the robot. It will be called anytime a reply not given by this Chatbot has been chosen to answer a phrase.

abstract fun acknowledgeHeard(phrase: Phrase!, locale: Locale!): Future<Void!>!

acknowledgeSaid

Inform the Chatbot with the last phrase said by the robot. It will be called anytime a ChatbotReaction not given by this Chatbot has been chosen to answer a phrase.

abstract fun acknowledgeSaid(phrase: Phrase!, locale: Locale!): Future<Void!>!

addOnAutonomousReactionChangedListener

Add a property changed listener for autonomousReaction

abstract fun addOnAutonomousReactionChangedListener(onAutonomousReactionChangedListener: OnAutonomousReactionChangedListener!): Future<Void!>!

addOnIsAvailableToReplyChangedListener

Add a property changed listener for isAvailableToReply

abstract fun addOnIsAvailableToReplyChangedListener(onIsAvailableToReplyChangedListener: OnIsAvailableToReplyChangedListener!): Future<Void!>!

addOnMaxHypothesesPerUtteranceChangedListener

Add a property changed listener for maxHypothesesPerUtterance

abstract fun addOnMaxHypothesesPerUtteranceChangedListener(onMaxHypothesesPerUtteranceChangedListener: OnMaxHypothesesPerUtteranceChangedListener!): Future<Void!>!

getAutonomousReaction

Exposes the property autonomousReaction value

abstract fun getAutonomousReaction(): Future<AutonomousReaction!>!

getIsAvailableToReply

Exposes the property isAvailableToReply value

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

getMaxHypothesesPerUtterance

Exposes the property maxHypothesesPerUtterance value

abstract fun getMaxHypothesesPerUtterance(): Future<Int!>!

removeAllOnAutonomousReactionChangedListeners

Remove all autonomousReaction changed listeners

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

removeAllOnIsAvailableToReplyChangedListeners

Remove all isAvailableToReply changed listeners

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

removeAllOnMaxHypothesesPerUtteranceChangedListeners

Remove all maxHypothesesPerUtterance changed listeners

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

removeOnAutonomousReactionChangedListener

Remove a property changed listener for autonomousReaction

abstract fun removeOnAutonomousReactionChangedListener(onAutonomousReactionChangedListener: OnAutonomousReactionChangedListener!): Future<Void!>!

removeOnIsAvailableToReplyChangedListener

Remove a property changed listener for isAvailableToReply

abstract fun removeOnIsAvailableToReplyChangedListener(onIsAvailableToReplyChangedListener: OnIsAvailableToReplyChangedListener!): Future<Void!>!

removeOnMaxHypothesesPerUtteranceChangedListener

Remove a property changed listener for maxHypothesesPerUtterance

abstract fun removeOnMaxHypothesesPerUtteranceChangedListener(onMaxHypothesesPerUtteranceChangedListener: OnMaxHypothesesPerUtteranceChangedListener!): Future<Void!>!

replyTo

Produce a ReplyReaction based on a given input phrase. This phrase may be empty if the robot was not able to make out what was being said.

abstract fun replyTo(phrase: Phrase!, locale: Locale!): Future<ReplyReaction!>!

setMaxHypothesesPerUtterance

Set the property maxHypothesesPerUtterance value

abstract fun setMaxHypothesesPerUtterance(maxHypothesesPerUtterance: Int!): Future<Void!>!

setOnAutonomousReactionChangedListener

Set a property changed listener for autonomousReaction

abstract fun setOnAutonomousReactionChangedListener(onAutonomousReactionChangedListener: OnAutonomousReactionChangedListener!): Future<Void!>!

setOnIsAvailableToReplyChangedListener

Set a property changed listener for isAvailableToReply

abstract fun setOnIsAvailableToReplyChangedListener(onIsAvailableToReplyChangedListener: OnIsAvailableToReplyChangedListener!): Future<Void!>!

setOnMaxHypothesesPerUtteranceChangedListener

Set a property changed listener for maxHypothesesPerUtterance

abstract fun setOnMaxHypothesesPerUtteranceChangedListener(onMaxHypothesesPerUtteranceChangedListener: OnMaxHypothesesPerUtteranceChangedListener!): Future<Void!>!