Class FloatSetting
java.lang.Object
com.mparticle.sdk.model.registration.Setting
com.mparticle.sdk.model.registration.FloatSetting
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.registration.Setting
Setting.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
setDefaultValue
(Double defaultValue) setIsRequired
(boolean isRequired) setMaxValue
(Double maxValue) setMinValue
(Double minValue) Methods inherited from class com.mparticle.sdk.model.registration.Setting
getDescription, getId, getName, getType, isVisible, setDescription, setId, setIsVisible, setName
-
Constructor Details
-
FloatSetting
-
-
Method Details
-
getDefaultValue
- Returns:
- default value
-
setDefaultValue
- Parameters:
defaultValue
- default value- Returns:
- this
-
getMinValue
- Returns:
- minimum accepted value
-
setMinValue
- Parameters:
minValue
- minimum accepted value- Returns:
- this
-
getMaxValue
- Returns:
- maximum accepted value
-
setMaxValue
- Parameters:
maxValue
- maximum accepted value- Returns:
- this
-
isRequired
public boolean isRequired()- Returns:
- true if setting is required
-
setIsRequired
- Parameters:
isRequired
- true if setting is required- Returns:
- this
-