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

ListenBuilder

open class ListenBuilder

Build a new Listen

Functions

build

Return a configured instance of Listen

open fun build(): Listen!

buildAsync

Return a configured instance of Listen

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

with

Create a new builder from the qiContext

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

withAsrDriverParameters

Configure the AsrDriverParameters used by Listen

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

withBodyLanguageOption

Configure the bodyLanguageOption used by Listen

open fun withBodyLanguageOption(bodyLanguageOption: BodyLanguageOption!): ListenBuilder!

withLocale

Configure the locale used by Listen

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

withPhraseSet

Configure the phrase set used by Listen

open fun withPhraseSet(phraseSet: PhraseSet!): ListenBuilder!

withPhraseSets

Configure the phrase sets used by Listen

open fun withPhraseSets(vararg phraseSets: PhraseSet!): ListenBuilder!
open fun withPhraseSets(phraseSets: MutableList<PhraseSet!>!): ListenBuilder!