Package ai.picovoice.rhino
Class RhinoManager
- java.lang.Object
-
- ai.picovoice.rhino.RhinoManager
-
public class RhinoManager extends java.lang.ObjectHigh-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 classRhinoManager.BuilderBuilder 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 voiddelete()Releases resources acquired by Rhino.java.lang.StringgetContextInformation()Getter for Rhino context information.java.lang.StringgetVersion()Getter for version.voidprocess()Start recording audio from the microphone and infers the user's intent from the spoken command.
-
-
-
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.
-
-