Class Setting

java.lang.Object
com.mparticle.sdk.model.registration.Setting
Direct Known Subclasses:
BooleanSetting, FloatSetting, IntegerSetting, TextSetting

public abstract class Setting extends Object
  • Constructor Details

  • Method Details

    • getType

      public Setting.Type getType()
    • getId

      public String getId()
    • setId

      public Setting setId(String id)
    • getName

      public String getName()
      Returns:
      setting name
    • setName

      public Setting setName(String name) throws IllegalArgumentException
      Parameters:
      name - setting name
      Returns:
      this
      Throws:
      IllegalArgumentException
    • getDescription

      public String getDescription()
      Returns:
      setting description
    • setDescription

      public Setting setDescription(String description)
      Parameters:
      description - setting description
      Returns:
      this
    • isVisible

      public boolean isVisible()
      Returns:
      true, if the setting is visible to users
    • setIsVisible

      public Setting setIsVisible(boolean visible)
      Parameters:
      visible - true, if the setting is visible to users
      Returns:
      this