Package ai.picovoice.rhino
Class Rhino.Builder
java.lang.Object
ai.picovoice.rhino.Rhino.Builder
- Enclosing class:
- Rhino
Builder for creating an instance of Rhino with a mixture of default arguments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Validates properties and creates an instance of the Rhino Speech-to-Intent engine.setAccessKey(String accessKey) setContextPath(String contextPath) setLibraryPath(String libraryPath) setModelPath(String modelPath) setRequireEndpoint(boolean requireEndpoint) setSensitivity(float sensitivity)
-
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.
-