abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!): Chat!
Create a Chat in the current language
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
RuntimeException - The list of chatbots is empty
Return
Chat!: A Chat action
Since
3
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!): Chat!
Create a Chat in the current language
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.
RuntimeException - The list of chatbots is empty
Return
Chat!: A Chat action
Since
3
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, locale: Locale!): Chat!
Create a Chat in the given language
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
RuntimeException - The given locale is not available on the robot
Return
Chat!: A Chat action
Since
3
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!, locale: Locale!): Chat!
Create a Chat in the given language
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.
RuntimeException - The given locale is not available on the robot
Return
Chat!: A Chat action
Since
3
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, chatOptions: ChatOptions!): Chat!
Create a Chat in the current language, using the specified options.
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
RuntimeException - The list of chatbots is empty
Return
Chat!: A Chat action
Since
5