Package ai.picovoice.rhino
Class Rhino.Builder
java.lang.Object
ai.picovoice.rhino.Rhino.Builder
- Enclosing class:
- Rhino
public static class Rhino.Builder
extends java.lang.Object
Builder for creating an instance of Rhino with a mixture of default arguments
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Rhinobuild()Validates properties and creates an instance of the Rhino Speech-to-Intent engine.Rhino.BuildersetAccessKey(java.lang.String accessKey)Rhino.BuildersetContextPath(java.lang.String contextPath)Rhino.BuildersetLibraryPath(java.lang.String libraryPath)Rhino.BuildersetModelPath(java.lang.String modelPath)Rhino.BuildersetRequireEndpoint(boolean requireEndpoint)Rhino.BuildersetSensitivity(float sensitivity)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAccessKey
-
setLibraryPath
-
setModelPath
-
setContextPath
-
setSensitivity
-
setRequireEndpoint
-
build
Validates properties and creates an instance of the Rhino Speech-to-Intent engine.- Returns:
- An instance of Rhino wake word engine
- Throws:
RhinoException- if there is an error while initializing Rhino.
-