IT. Expert System.

Android Reference

RecognitionService.Callback


android.speech

Class RecognitionService.Callback

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void beginningOfSpeech()
      The service should call this method when the user has started to speak.
      void bufferReceived(byte[] buffer)
      The service should call this method when sound has been received.
      void endOfSpeech()
      The service should call this method after the user stops speaking.
      void error(int error)
      The service should call this method when a network or recognition error occurred.
      void partialResults(Bundle partialResults)
      The service should call this method when partial recognition results are available.
      void readyForSpeech(Bundle params)
      The service should call this method when the endpointer is ready for the user to start speaking.
      void results(Bundle results)
      The service should call this method when recognition results are ready.
      void rmsChanged(float rmsdB)
      The service should call this method when the sound level in the audio stream has changed.
    • Method Detail

      • beginningOfSpeech

        public void beginningOfSpeech()
                               throws RemoteException
        The service should call this method when the user has started to speak.
        Throws:
        RemoteException
      • bufferReceived

        public void bufferReceived(byte[] buffer)
                            throws RemoteException
        The service should call this method when sound has been received. The purpose of this function is to allow giving feedback to the user regarding the captured audio.
        Parameters:
        buffer - a buffer containing a sequence of big-endian 16-bit integers representing a single channel audio stream. The sample rate is implementation dependent.
        Throws:
        RemoteException
      • endOfSpeech

        public void endOfSpeech()
                         throws RemoteException
        The service should call this method after the user stops speaking.
        Throws:
        RemoteException
      • readyForSpeech

        public void readyForSpeech(Bundle params)
                            throws RemoteException
        The service should call this method when the endpointer is ready for the user to start speaking.
        Parameters:
        params - parameters set by the recognition service. Reserved for future use.
        Throws:
        RemoteException
      • rmsChanged

        public void rmsChanged(float rmsdB)
                        throws RemoteException
        The service should call this method when the sound level in the audio stream has changed. There is no guarantee that this method will be called.
        Parameters:
        rmsdB - the new RMS dB value
        Throws:
        RemoteException


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1310 / . Delta: 0.02052 с