Package ai.picovoice.porcupine
Enum Porcupine.BuiltInKeyword
- java.lang.Object
-
- java.lang.Enum<Porcupine.BuiltInKeyword>
-
- ai.picovoice.porcupine.Porcupine.BuiltInKeyword
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Porcupine.BuiltInKeyword>
- Enclosing class:
- Porcupine
public static enum Porcupine.BuiltInKeyword extends java.lang.Enum<Porcupine.BuiltInKeyword>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALEXAAMERICANOBLUEBERRYBUMBLEBEECOMPUTERGRAPEFRUITGRASSHOPPERHEY_GOOGLEHEY_SIRIJARVISOK_GOOGLEPICOVOICEPORCUPINETERMINATOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Porcupine.BuiltInKeywordvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Porcupine.BuiltInKeyword[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALEXA
public static final Porcupine.BuiltInKeyword ALEXA
-
AMERICANO
public static final Porcupine.BuiltInKeyword AMERICANO
-
BLUEBERRY
public static final Porcupine.BuiltInKeyword BLUEBERRY
-
BUMBLEBEE
public static final Porcupine.BuiltInKeyword BUMBLEBEE
-
COMPUTER
public static final Porcupine.BuiltInKeyword COMPUTER
-
GRAPEFRUIT
public static final Porcupine.BuiltInKeyword GRAPEFRUIT
-
GRASSHOPPER
public static final Porcupine.BuiltInKeyword GRASSHOPPER
-
HEY_GOOGLE
public static final Porcupine.BuiltInKeyword HEY_GOOGLE
-
HEY_SIRI
public static final Porcupine.BuiltInKeyword HEY_SIRI
-
JARVIS
public static final Porcupine.BuiltInKeyword JARVIS
-
OK_GOOGLE
public static final Porcupine.BuiltInKeyword OK_GOOGLE
-
PICOVOICE
public static final Porcupine.BuiltInKeyword PICOVOICE
-
PORCUPINE
public static final Porcupine.BuiltInKeyword PORCUPINE
-
TERMINATOR
public static final Porcupine.BuiltInKeyword TERMINATOR
-
-
Method Detail
-
values
public static Porcupine.BuiltInKeyword[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Porcupine.BuiltInKeyword c : Porcupine.BuiltInKeyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Porcupine.BuiltInKeyword valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-