HERE Android SDK Developer's Guide

OnSpeechListener

The interface OnSpeechListener is a member of com.here.android.mpa.nlp.Nlp.

Interface Summary

public static abstract interface Nlp.OnSpeechListener

   extends com.here.android.mpa.nlp.Nlp.ListenerBase

Listener interface for speech started/ended events.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnSpeechListener
Methods

public abstract void onSpeechEnded ()

A callback indicating that the user has finished voice input.

public abstract void onSpeechReady ()

A callback indicating that the system is ready to receive voice input.

public abstract void onSpeechStarted ()

A callback indicating that the user has started voice input.

public abstract void onSpeechTimeout ()

A callback indicating that speech input has timed out.

Interface Details

Listener interface for speech started/ended events.

Method Details

public abstract void onSpeechEnded ()

A callback indicating that the user has finished voice input.

public abstract void onSpeechReady ()

A callback indicating that the system is ready to receive voice input.

public abstract void onSpeechStarted ()

A callback indicating that the user has started voice input.

public abstract void onSpeechTimeout ()

A callback indicating that speech input has timed out.