Class LuteceSoundConfigurator

  • All Implemented Interfaces:
    com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator

    public class LuteceSoundConfigurator
    extends java.lang.Object
    implements com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
    Author:
    lutecer
    • Constructor Detail

      • LuteceSoundConfigurator

        public LuteceSoundConfigurator​(float pitch,
                                       float rate,
                                       float volume)
        Parameters:
        pitch - the pitch
        rate - the rate
        volume - the volume
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Specified by:
        getLocation in interface com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
        Returns:
        the location
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
        Returns:
        the name
      • getPitch

        public float getPitch()
        Specified by:
        getPitch in interface com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
        Returns:
        the pitch
      • getRate

        public float getRate()
        Specified by:
        getRate in interface com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
        Returns:
        the rate
      • getVolume

        public float getVolume()
        Specified by:
        getVolume in interface com.octo.captcha.component.sound.soundconfigurator.SoundConfigurator
        Returns:
        the volume