qisdk / com.aldebaran.qi.sdk.builder / ChatBuilder

ChatBuilder

open class ChatBuilder

Build a new Chat

Functions

build

Return a configured instance of Chat

open fun build(): Chat!

buildAsync

Return a configured instance of Chat

open fun buildAsync(): Future<Chat!>!

with

Create a new builder from the qiContext

open static fun with(context: QiContext!): ChatBuilder!

withAsrDriverParameters

Configure the AsrDriverParameters used by Chat

open fun withAsrDriverParameters(aSRParameters: MutableMap<String!, String!>!): ChatBuilder!

withChatbot

Configure the chatbots sets used by Chat

open fun withChatbot(vararg chatbots: Chatbot!): ChatBuilder!

withChatbots

Configure the chatbots sets used by Chat

open fun withChatbots(chatbots: MutableList<out Chatbot!>!): ChatBuilder!

withLocale

Configure the locale used by Chat

open fun withLocale(locale: Locale!): ChatBuilder!

withSpeechEngine

Configure the speechEngine used by Chat

open fun withSpeechEngine(speechEngine: SpeechEngine!): ChatBuilder!