qisdk / com.aldebaran.qi.sdk.object.conversation / EditablePhraseSet / Async

Async

interface Async

Functions

addOnPhrasesChangedListener

Add a property changed listener for phrases

abstract fun addOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Future<Void!>!

addPhrases

Add the given Phrases to the EditablePhraseSet. If a Phrase is already in the EditablePhraseSet, it will not be added a second time. This updates the phrases property.

abstract fun addPhrases(newPhrases: MutableList<Phrase!>!): Future<Void!>!

getPhrases

Exposes the property phrases value

abstract fun getPhrases(): Future<MutableList<Phrase!>!>!

removeAllOnPhrasesChangedListeners

Remove all phrases changed listeners

abstract fun removeAllOnPhrasesChangedListeners(): Future<Void!>!

removeOnPhrasesChangedListener

Remove a property changed listener for phrases

abstract fun removeOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Future<Void!>!

removePhrases

Remove the given Phrases from the EditablePhraseSet. If a phrase is not present in the EditablePhraseSet, it will be ignored. This updates the phrases property.

abstract fun removePhrases(phrasesToRemove: MutableList<Phrase!>!): Future<Void!>!

setOnPhrasesChangedListener

Set a property changed listener for phrases

abstract fun setOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Future<Void!>!