Class RhinoManager

java.lang.Object
ai.picovoice.rhino.RhinoManager

public class RhinoManager
extends java.lang.Object
High-level Android binding for Rhino Speech-to-Intent engine. 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

    Modifier and Type Method Description
    void delete()
    Releases resources acquired by Rhino.
    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 Details

    • 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.