Package-level declarations
Types
Result of parsing and validating user text input against DurationBounds.
Decomposed calendar components of a duration in seconds for localized formatting.
Native unit of a duration configuration field.
How long the external notification output stays driven, in milliseconds, which is the unit ModuleConfig.ExternalNotificationConfig.output_ms is read in. FixedUpdateIntervals cannot serve this field: its values are seconds, and writing one here sets a pulse a thousand times shorter than the label promises.
Defines a set of fixed time intervals in seconds, commonly used for configuration settings.
Represents a specific configuration context that determines a subset of allowed update intervals. This is used to filter the available FixedUpdateIntervals for a particular setting.
Represents an update interval, which can be either a predefined fixed value or a custom manual value in seconds. This is a type-safe representation for settings that involve time durations.
Properties
Inclusive upper bound a proto field declares rounded inward, or null when unset or below the Int domain.
Inclusive lower bound a proto field declares rounded inward, or null when unset or above the Int domain.
The translated name of the unit a proto field declares, or null where the app has no name for that symbol. The schema's symbol is never rendered directly: a symbol with no entry here shows no unit rather than raw schema text.
Functions
A control's title, with the schema's unit appended when the control shows a bare number. An interval picker names its own unit in every item ("30 seconds", "2 hours"), so those pass no metadata and keep the label alone.
Whether a control is offered on this board. A diy_only field is hidden only on a board whose HardwareModel sets oem_fixed_gps; any other or unknown board shows it, and so does a field already holding a value, which would otherwise be saved back unseen.
Resolves DurationBounds from optional protobuf metadata, whether the field's preset list allows 0 (Unset), and an optional explicit maxOverride cap (for example, a nanopb int_size storage limit not reflected in proto FieldMetadata). When both metadata and maxOverride specify a maximum, the tighter cap applies. Inverted bounds (min > max) are treated as unbounded rather than locking the user out.