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

makeListen

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

Create a listen action.

Parameters

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

phraseSets - MutableList<PhraseSet!>!: The vector of phrase sets to detect.

Return
Listen!: A listen action.

Since
1

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

Create a listen action.

Parameters

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

phraseSets - MutableList<PhraseSet!>!: The vector of phrase sets to detect.

bodyLanguageOption - BodyLanguageOption!: The body language policy to apply. "neutral" policy: the robot nods and gesticulates to express that he is listening. And a final head node when the robot has finished to listen.

Return
Listen!: A listen action.

Since
1

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

Create a listen action.

Parameters

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

phraseSets - MutableList<PhraseSet!>!: The vector of phrase sets to detect.

bodyLanguageOption - BodyLanguageOption!: The body language policy to apply. "neutral" policy: the robot nods and gesticulates to express that he is listening. And a final head nod when the robot has finished to listen.

locale - Locale!: The locale to be used to listen.

Return
Listen!: A listen action.

Since
1

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

Create a listen action, using the specified Options.

Parameters

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

phraseSets - MutableList<PhraseSet!>!: The vector of phrase sets to detect.

listenOptions - ListenOptions!: Optional data for the Listen action configuration

Return
Listen!: A listen action.

Since
5