Package ai.picovoice.koala
Class Koala.Builder
- java.lang.Object
-
- ai.picovoice.koala.Koala.Builder
-
- Enclosing class:
- Koala
public static class Koala.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Koalabuild(android.content.Context context)Koala.BuildersetAccessKey(java.lang.String accessKey)Setter the AccessKeyKoala.BuildersetModelPath(java.lang.String modelPath)Setter for the absolute path to the file containing Koala model parameters.
-
-
-
Method Detail
-
setAccessKey
public Koala.Builder setAccessKey(java.lang.String accessKey)
Setter the AccessKey- Parameters:
accessKey- AccessKey obtained from Picovoice Console
-
setModelPath
public Koala.Builder setModelPath(java.lang.String modelPath)
Setter for the absolute path to the file containing Koala model parameters.- Parameters:
modelPath- Absolute path to the file containing Koala model parameters.
-
build
public Koala build(android.content.Context context) throws KoalaException
- Throws:
KoalaException
-
-