This page describes the new Notification Center engine introduced in 0.27 and currently available in 0.27-pre development version.
The Notification Center is a new interface designed to provide users with various information related to the state of MythTV. Error messages will now appear in the Notification Center.
AirPlay will use the Notification Center to display connection status, information about the song being played, including album artwork.
A notification can be dismissed by pressing escape (or exit).
There are several APIs available for programmers to make full use of the Notification Center.
A notification is made of three main components.
A notification can have four types:
Normal type notification can also have these extra components set:
- progress (floating point value between 0 and 1)
- extra text
- progress text
All components are optional; however, we strongly recommend to always have a title and an origin. Extra text and progress text are only displayed if a progress bar is set. The progress bar will appear if progress is given a value between 0 and 1. A negative value indicates that no progress bar is to be displayed.
A notification can be made to be displayed in full screen.
Additionally there are 4 types of notification
Using the UDP interface, see MythNotification
Two different services are available to send notifications
The Frontend service
The Myth service
There are two core classes:
A MythNotification is passed to the MythUINotificationCenter singleton.