Home | History | Annotate | Download | only in speech

Lines Matching refs:Service

21 import android.app.Service;
32 * This class provides a base class for recognition service implementations. This class should be
34 * implementation of this service is stateless.
36 public abstract class RecognitionService extends Service {
38 * The {@link Intent} that must be declared as handled by the service.
46 * <code>&lt;{@link android.R.styleable#RecognitionService recognition-service}&gt;</code> tag.
56 /** Binder of the recognition service */
165 Log.e(TAG, "call for recognition service without RECORD_AUDIO permissions");
174 * Notifies the service that it should start listening for speech.
179 * @param listener that will receive the service's callbacks
184 * Notifies the service that it should cancel the speech recognition.
189 * Notifies the service that it should stop listening for speech. Speech captured so far should
210 * This class receives callbacks from the speech recognition service and forwards them to the
223 * The service should call this method when the user has started to speak.
231 * The service should call this method when sound has been received. The purpose of this
242 * The service should call this method after the user stops speaking.
249 * The service should call this method when a network or recognition error occurred.
259 * The service should call this method when partial recognition results are available. This
263 * depending on the speech recognition service implementation.
274 * The service should call this method when the endpointer is ready for the user to start
277 * @param params parameters set by the recognition service. Reserved for future use.
284 * The service should call this method when recognition results are ready.
296 * The service should call this method when the sound level in the audio stream has changed.
306 /** Binder of the recognition service */
310 public RecognitionServiceBinder(RecognitionService service) {
311 mInternalService = service;