Class RhinoManager


  • public class RhinoManager
    extends java.lang.Object
    High-level Android binding for Rhino Speech-to-Intent engotgine. It handles recording audio from microphone, processes it in real-time using Rhino, and notifies the client when an intent is inferred from the spoken command. For detailed information about Rhino refer to $Rhino.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RhinoManager.Builder
      Builder for creating an instance of RhinoManager with a mixture of default arguments
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()
      Releases resources acquired by Rhino.
      java.lang.String getContextInformation()
      Getter for Rhino context information.
      java.lang.String getVersion()
      Getter for version.
      void process()
      Start recording audio from the microphone and infers the user's intent from the spoken command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • process

        public void process()
        Start recording audio from the microphone and infers the user's intent from the spoken command. Once the inference is finalized it will invoke the user provided callback and terminates recording audio.
      • delete

        public void delete()
        Releases resources acquired by Rhino. It should be called when disposing the object.
      • getVersion

        public java.lang.String getVersion()
        Getter for version.
        Returns:
        Version.
      • getContextInformation

        public java.lang.String getContextInformation()
        Getter for Rhino context information.
        Returns:
        Context information.