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

Async

interface Async

Functions

makeChat

Create a Chat in the current language

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!): Future<Chat!>!
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!): Future<Chat!>!

Create a Chat in the given language

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, locale: Locale!): Future<Chat!>!
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!, locale: Locale!): Future<Chat!>!

Create a Chat in the current language, using the specified options.

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, chatOptions: ChatOptions!): Future<Chat!>!

makeDiscuss

Create a Discussion in the current language.

abstract fun makeDiscuss(context: RobotContext!, topics: MutableList<Topic!>!): Future<Discuss!>!

Create a Discussion in the given language.

abstract fun makeDiscuss(context: RobotContext!, topics: MutableList<Topic!>!, locale: Locale!): Future<Discuss!>!

makeListen

Create a listen action.

abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!): Future<Listen!>!
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!): Future<Listen!>!
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Future<Listen!>!

Create a listen action, using the specified Options.

abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, listenOptions: ListenOptions!): Future<Listen!>!

makePhraseSet

Create a phrase set from a set of phrases.

abstract fun makePhraseSet(phrases: MutableList<Phrase!>!): Future<PhraseSet!>!

makeQiChatbot

Create a Qichatbot in the current language.

abstract fun makeQiChatbot(context: RobotContext!, topics: MutableList<Topic!>!): Future<QiChatbot!>!

Create a Qichatbot in the given language.

abstract fun makeQiChatbot(context: RobotContext!, topics: MutableList<Topic!>!, locale: Locale!): Future<QiChatbot!>!

makeSay

Create a say action.

abstract fun makeSay(context: RobotContext!, phrase: Phrase!): Future<Say!>!
abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!): Future<Say!>!
abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Future<Say!>!

makeSpeechEngine

Creates a SpeechEngine, that will create Say actions using the Conversation service with the given context

abstract fun makeSpeechEngine(context: RobotContext!): Future<SpeechEngine!>!

makeTopic

Create a new Topic object.

abstract fun makeTopic(topicContent: String!): Future<Topic!>!

status

Access Conversation related signals and properties for the given context via a ConversationStatus object

abstract fun status(context: RobotContext!): Future<ConversationStatus!>!