NotificationInterface QML Type

An interface for requesting notifications. More...

Import Statement: import service 1.0

Detailed Description

NotificationInterface inherits Notification from Qt Application Manager and acts like an adapter for Neptune UI. The NotificationInterface properties timeout and category are adopted to match Neptune UI requirements and should not be used. In the Neptune UI interaction, notifications should always be dismissed by an end user instead of a time-out.

Example Usage

The following example demonstrates the NotificationInterface usage:

NotificationInterface {
    summary: "Notification Prio 9"
    body: "Notification sample"
    priority: 9
    icon: Style.symbolM("maps")
}

summary defines a notification title. body defines a notification description. Notifications are queued based on a value in priority. icon must contain an absolute icon path. Otherwise, the icon is not shown.

© 2017 Pelagicore AG. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.