Classes | |
class | Builder |
Public Member Functions | |
void | delete () |
String | getContextInformation () |
String | getVersion () |
void | process () |
Private Member Functions | |
RhinoManager (Rhino rhino, RhinoManagerCallback callback, RhinoManagerErrorCallback errorCallback) | |
Private Attributes | |
final RhinoManagerCallback | callback |
final Handler | callbackHandler = new Handler(Looper.getMainLooper()) |
final RhinoManagerErrorCallback | errorCallback |
final Rhino | rhino |
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.
Definition at line 30 of file RhinoManager.java.
|
inlineprivate |
Private constructor.
rhino | Absolute path to the file containing model parameters. |
callback | It is invoked upon completion of intent inference. |
errorCallback | A callback that reports errors encountered while processing audio. |
Definition at line 43 of file RhinoManager.java.
|
inline |
Releases resources acquired by Rhino. It should be called when disposing the object.
Definition at line 136 of file RhinoManager.java.
|
inline |
Getter for Rhino context information.
Definition at line 154 of file RhinoManager.java.
|
inline |
|
inline |
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.
Definition at line 58 of file RhinoManager.java.
|
private |
Definition at line 32 of file RhinoManager.java.
|
private |
Definition at line 34 of file RhinoManager.java.
|
private |
Definition at line 33 of file RhinoManager.java.
|
private |
Definition at line 31 of file RhinoManager.java.