Package ai.picovoice.cheetah
Class Cheetah.Builder
- java.lang.Object
-
- ai.picovoice.cheetah.Cheetah.Builder
-
- Enclosing class:
- Cheetah
public static class Cheetah.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cheetahbuild()Cheetah.BuildersetAccessKey(java.lang.String accessKey)Cheetah.BuildersetEndpointDuration(float endpointDuration)Cheetah.BuildersetLibraryPath(java.lang.String libraryPath)Cheetah.BuildersetModelPath(java.lang.String modelPath)
-
-
-
Method Detail
-
setAccessKey
public Cheetah.Builder setAccessKey(java.lang.String accessKey)
-
setLibraryPath
public Cheetah.Builder setLibraryPath(java.lang.String libraryPath)
-
setModelPath
public Cheetah.Builder setModelPath(java.lang.String modelPath)
-
setEndpointDuration
public Cheetah.Builder setEndpointDuration(float endpointDuration)
-
build
public Cheetah build() throws CheetahException
- Throws:
CheetahException
-
-