qisdk / com.aldebaran.qi.sdk.object.conversation / SpeechEngine

SpeechEngine

interface SpeechEngine

Factory to create Say actions

Since
3

Types

Async

interface Async

OnSayingChangedListener

Listener for saying property changed event

interface OnSayingChangedListener

Functions

addOnSayingChangedListener

Add a property changed listener for saying

abstract fun addOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit

async

abstract fun async(): Async!

getSaying

Exposes the property saying value

abstract fun getSaying(): Phrase!

makeSay

Create a say action.

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

removeAllOnSayingChangedListeners

Remove all saying changed listeners

abstract fun removeAllOnSayingChangedListeners(): Unit

removeOnSayingChangedListener

Remove a property changed listener for saying

abstract fun removeOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit

setOnSayingChangedListener

Set a property changed listener for saying

abstract fun setOnSayingChangedListener(onSayingChangedListener: OnSayingChangedListener!): Unit