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

makeSay

abstract fun makeSay(context: RobotContext!, phrase: Phrase!): Future<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
Future<Say!>!: A say action.

Since
1

abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!): Future<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
Future<Say!>!: A say action.

Since
1

abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Future<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
Future<Say!>!: A say action.

Since
1