MainProcessPanel
A panel which visualizes processes in the UI. For example, an ongoing audio streaming process.
A MainProcessPanel changes its priority when there are changes in how much attention the process requires.
The system UI is expected to directly react on priority changes. Sometimes it is necessary to keep showing a MainProcessPanel for some time after the process becomes less relevant, for example to keep showing the contact who has just tried calling the user. In such cases, the frontend is expected to delay lowering its own priority.
Setting the priority to the same level it was set previously also signals the system UI that the process was somehow updated, and allows it to evaluate the relevance of the MainProcessPanel once again.
To understand how the system UI uses the priority level, see UniquePriority.
Parameters
Constructors
Types
The priority level of the process.
A UniquePriority assigned to a MainProcessPanel offers the ability to sort panels not just by priority, but also by which priority level was most recently set.
Properties
The current Priority of the panel.
Inherited properties
Unique identifier of a GenericPanel. Each ID is an increment of the previously created panel's ID, allowing this value to be used for sorting purposes.
The PanelContext given when the panel is attached to the system UI.
Functions
Change the priority of this MainProcessPanel.
Inherited functions
The fragment used when initially showing the panel. The fragment may be recreated by the system UI upon configuration changes.
Called when this panel is added to Frontend.panels, allowing it to be shown in the system UI.
Called when the panel is attached to the system UI. The panel may be detached and attached multiple times, for example on configuration changes. However, a panel will never be attached multiple times at once.
Called when the panel has been detached from the system UI. The panel may be attached again later, for example when the configuration changes.
Called when this panel is removed from Frontend.panels, preventing it from being shown in the system UI.