interface Listen
Action to make the robot listen to and recognize a specific set of phrases pronounced by a user. On recognition success, a ListenResult gives the heard phrase and the matching PhraseSet.
Since
1
Async |
interface Async |
OnStartedListener |
Listener for started signal interface OnStartedListener |
addOnStartedListener |
Add a OnStartedListener abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Unit |
async |
abstract fun async(): Async! |
removeAllOnStartedListeners |
Remove all OnStartedListener abstract fun removeAllOnStartedListeners(): Unit |
removeOnStartedListener |
Remove a OnStartedListener abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Unit |
run |
Make the robot listen for the specific phraseSet. When a phrase from the phrase sets is recognized, the resulting future finishes with a ListenResult. abstract fun run(): ListenResult! |
setOnStartedListener |
Set a OnStartedListener abstract fun |