Enum 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.
    • 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 name
        java.lang.NullPointerException - if the argument is null