abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!): Future<Listen!>!
Create a listen action.
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
Future<Listen!>!: A listen action.
Since
1
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!): Future<Listen!>!
Create a listen action.
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
Future<Listen!>!: A listen action.
Since
1
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Future<Listen!>!
Create a listen action.
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
Future<Listen!>!: A listen action.
Since
1
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, listenOptions: ListenOptions!): Future<Listen!>!
Create a listen action, using the specified Options.
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
Future<Listen!>!: A listen action.
Since
5