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

makeSay

abstract fun makeSay(context: RobotContext!, phrase: Phrase!): Say!

Create a say action.

Parameters

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

phrase - Phrase!: The phrase to say.

Return
Say!: A say action.

Since
1

abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!): Say!

Create a say action.

Parameters

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

phrase - Phrase!: The phrase to say.

bodyLanguageOption - BodyLanguageOption!: The body language policy to apply. "neutral" policy: the robot chooses animations to perform accordingly to the spoken words and the syntactic structure of the phrase.

Return
Say!: A say action.

Since
1

abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Say!

Create a say action.

Parameters

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

phrase - Phrase!: The phrase to say.

bodyLanguageOption - BodyLanguageOption!: The body language policy to apply. "neutral" policy: the robot chooses animations to perform accordingly to the spoken words and the syntactic structure of the phrase.

locale - Locale!: The locale to be used to say the text.

Return
Say!: A say action.

Since
1