Skip to content

SettingType

public enum SettingType

Namespace SideHustle

Added in 1.4.0

How a host setting is presented on the Host-config form and stored in the config blob.

Slider

Added in 1.4.0

A numeric range. Use SettingDescriptor.WholeNumbers for an integer spinner-style slider.

Toggle

Added in 1.4.0

An on/off switch; stored as “1”/“0”.

Segmented

Added in 1.4.0

A small set of choices shown as a button group; stored as the chosen SettingDescriptor.Values.

Text

Added in 1.4.0

A free-text field of up to 64 characters. On Start the form replaces ’;’, ’=’ and line breaks with spaces and trims the text.

Dropdown

Added in 1.5.0

A single choice from SettingDescriptor.Options/SettingDescriptor.Values, rendered as a compact ”< Name >” cycler (a dropdown selector). Stored as the chosen value.