Skip to main content

Module spec

Module spec 

Source
Expand description

What modules hand the daemon: activities for the island, bubbles, and the parsed arguments of their actions. Builtin modules use these types directly; plugin backends send them as JSON, so they serialize too.

Structs§

ActivitySpec
Everything a module says about an activity it wants to show.
Args
Parsed arguments, looked up by name.
BubbleHome
Where a module’s bubbles go unless the user moves them, for the settings panel’s bubble editor. The module builds its specs from it with BubbleSpec::at, so the editor and the bubbles agree.
BubbleSpec
Everything a module says about a bubble it wants to show.
Priority
Higher values win. The named levels leave room for anything in between.

Enums§

ArgValue
One parsed argument, of the kind its action declares.
CallError
Why calling another module’s action failed.
EndReason
Why an activity ended.
SamePriority
What a new activity does when the shown one has the same priority.