Builder for creating an instance of RhinoManager with a mixture of default arguments
Definition at line 161 of file RhinoManager.java.
◆ build()
Creates an instance of RhinoManager.
- Parameters
-
context | Android app context (for extracting Rhino resources) |
callback | A callback function that is invoked upon intent inference. |
- Returns
- A RhinoManager instance
- Exceptions
-
Definition at line 208 of file RhinoManager.java.
◆ setAccessKey()
RhinoManager.Builder ai.picovoice.rhino.RhinoManager.Builder.setAccessKey |
( |
String |
accessKey | ) |
|
|
inline |
◆ setContextPath()
RhinoManager.Builder ai.picovoice.rhino.RhinoManager.Builder.setContextPath |
( |
String |
contextPath | ) |
|
|
inline |
◆ setErrorCallback()
◆ setModelPath()
RhinoManager.Builder ai.picovoice.rhino.RhinoManager.Builder.setModelPath |
( |
String |
modelPath | ) |
|
|
inline |
◆ setRequireEndpoint()
RhinoManager.Builder ai.picovoice.rhino.RhinoManager.Builder.setRequireEndpoint |
( |
boolean |
requireEndpoint | ) |
|
|
inline |
◆ setSensitivity()
RhinoManager.Builder ai.picovoice.rhino.RhinoManager.Builder.setSensitivity |
( |
float |
sensitivity | ) |
|
|
inline |
◆ accessKey
String ai.picovoice.rhino.RhinoManager.Builder.accessKey = null |
|
private |
◆ contextPath
String ai.picovoice.rhino.RhinoManager.Builder.contextPath = null |
|
private |
◆ errorCallback
◆ modelPath
String ai.picovoice.rhino.RhinoManager.Builder.modelPath = null |
|
private |
◆ requireEndpoint
boolean ai.picovoice.rhino.RhinoManager.Builder.requireEndpoint = true |
|
private |
◆ sensitivity
float ai.picovoice.rhino.RhinoManager.Builder.sensitivity = 0.5f |
|
private |
The documentation for this class was generated from the following file: