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

EditablePhraseSet

interface EditablePhraseSet

A container of Phrases that can be edited.

Since
1

Types

Async

interface Async

OnPhrasesChangedListener

Listener for phrases property changed event

interface OnPhrasesChangedListener

Functions

addOnPhrasesChangedListener

Add a property changed listener for phrases

abstract fun addOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Unit

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!>!): Unit

async

abstract fun async(): Async!

getPhrases

Exposes the property phrases value

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

removeAllOnPhrasesChangedListeners

Remove all phrases changed listeners

abstract fun removeAllOnPhrasesChangedListeners(): Unit

removeOnPhrasesChangedListener

Remove a property changed listener for phrases

abstract fun removeOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Unit

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!>!): Unit

setOnPhrasesChangedListener

Set a property changed listener for phrases

abstract fun setOnPhrasesChangedListener(onPhrasesChangedListener: OnPhrasesChangedListener!): Unit