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

makeChat

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

Create a Chat in the current language

Parameters

context - RobotContext!: The context to authorize the action to be effectively executed on a robot

chatbots - MutableList<Chatbot!>!: The list of Chatbots to use with the action, ordered by priority

Return
Future<Chat!>!: A Chat action

Future on error when:

Since
3

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

Create a Chat in the current language

Parameters

context - RobotContext!: The context to authorize the action to be effectively executed on a robot

chatbots - MutableList<Chatbot!>!: The list of Chatbots to use with the action, ordered by priority

speechEngine - SpeechEngine!: The factory which is necessary to create the Say objects used to make speak the robot during a reply.

Return
Future<Chat!>!: A Chat action

Future on error when:

Since
3

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

Create a Chat in the given language

Parameters

context - RobotContext!: The context to authorize the action to be effectively executed on a robot

chatbots - MutableList<Chatbot!>!: The list of Chatbots to use with the action, ordered by priority

locale - Locale!: The language of the chatbot

Return
Future<Chat!>!: A Chat action

Future on error when:

Since
3

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

Create a Chat in the given language

Parameters

context - RobotContext!: The context to authorize the action to be effectively executed on a robot

chatbots - MutableList<Chatbot!>!: The list of Chatbots to use with the action, ordered by priority

locale - Locale!: The language of the chatbot

speechEngine - SpeechEngine!: The factory which is necessary to create the Say objects used to make speak the robot during a reply.

Return
Future<Chat!>!: A Chat action

Future on error when:

Since
3

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

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

Parameters

context - RobotContext!: The context to authorize the action to be effectively executed on a robot

chatbots - MutableList<Chatbot!>!: The list of Chatbots to use with the action, ordered by priority

chatOptions - ChatOptions!: Optional data for the Chat action configuration

Return
Future<Chat!>!: A Chat action

Future on error when:

Since
5