Class FloatSetting

java.lang.Object
com.mparticle.sdk.model.registration.Setting
com.mparticle.sdk.model.registration.FloatSetting

public final class FloatSetting extends Setting
  • Constructor Details

    • FloatSetting

      public FloatSetting(String id, String name)
  • Method Details

    • getDefaultValue

      public Double getDefaultValue()
      Returns:
      default value
    • setDefaultValue

      public FloatSetting setDefaultValue(Double defaultValue)
      Parameters:
      defaultValue - default value
      Returns:
      this
    • getMinValue

      public Double getMinValue()
      Returns:
      minimum accepted value
    • setMinValue

      public FloatSetting setMinValue(Double minValue)
      Parameters:
      minValue - minimum accepted value
      Returns:
      this
    • getMaxValue

      public Double getMaxValue()
      Returns:
      maximum accepted value
    • setMaxValue

      public FloatSetting setMaxValue(Double maxValue)
      Parameters:
      maxValue - maximum accepted value
      Returns:
      this
    • isRequired

      public boolean isRequired()
      Returns:
      true if setting is required
    • setIsRequired

      public FloatSetting setIsRequired(boolean isRequired)
      Parameters:
      isRequired - true if setting is required
      Returns:
      this