Package ai.picovoice.eagle
Enum EagleProfilerEnrollFeedback
- java.lang.Object
-
- java.lang.Enum<EagleProfilerEnrollFeedback>
-
- ai.picovoice.eagle.EagleProfilerEnrollFeedback
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EagleProfilerEnrollFeedback>
public enum EagleProfilerEnrollFeedback extends java.lang.Enum<EagleProfilerEnrollFeedback>
Enumeration of possible enrollment feedback codes: - `AUDIO_OK`: The audio is good for enrollment. - `AUDIO_TOO_SHORT`: Audio length is insufficient for enrollment, i.e. it is shorter than`EagleProfiler.getMinEnrollSamples()`. - `UNKNOWN_SPEAKER`: There is another speaker in the audio that is different from the speaker being enrolled. Too much background noise may cause this error as well. - `NO_VOICE_FOUND`: The audio does not contain any voice, i.e. it is silent or has a low signal-to-noise ratio. - `QUALITY_ISSUE`: The audio quality is too low for enrollment due to a bad microphone or recording environment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO_OKAUDIO_TOO_SHORTNO_VOICE_FOUNDQUALITY_ISSUEUNKNOWN_SPEAKER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EagleProfilerEnrollFeedbackvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EagleProfilerEnrollFeedback[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIO_OK
public static final EagleProfilerEnrollFeedback AUDIO_OK
-
AUDIO_TOO_SHORT
public static final EagleProfilerEnrollFeedback AUDIO_TOO_SHORT
-
UNKNOWN_SPEAKER
public static final EagleProfilerEnrollFeedback UNKNOWN_SPEAKER
-
NO_VOICE_FOUND
public static final EagleProfilerEnrollFeedback NO_VOICE_FOUND
-
QUALITY_ISSUE
public static final EagleProfilerEnrollFeedback QUALITY_ISSUE
-
-
Method Detail
-
values
public static EagleProfilerEnrollFeedback[] 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 (EagleProfilerEnrollFeedback c : EagleProfilerEnrollFeedback.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EagleProfilerEnrollFeedback 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
-
-