Class RecognitionCallback.Adapter

java.lang.Object
com.codename1.media.RecognitionCallback.Adapter
All Implemented Interfaces:
RecognitionCallback
Enclosing interface:
RecognitionCallback

public static class RecognitionCallback.Adapter extends java.lang.Object implements RecognitionCallback
No-op adapter. Subclass and override only what you need.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface RecognitionCallback

    RecognitionCallback.Adapter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Recognition session ended (timeout, mic released, or SpeechRecognizer.stop()).
    void
    Recognition failed (no permission, no network for online engines, hardware error).
    void
    onPartialResult(String transcript)
    Best-effort transcript while the user is still speaking.
    void
    onResult(String transcript, float confidence, String[] alternatives)
    Final transcript for a single utterance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait