kdeconnect-kde/plugins/telephony
Simon Redman bcc9fb06db Split SMS and Telephony plugin on desktop
Summary:
Telephony and SMS handling are quite distinct so they should be in separate plugins for better maintainability, given that @sredman has big plans with SMS.
This diff should be fully backwards compatible, but whether we really want to do that is up to discussion

Test Plan: Only supeficially tested. Receive an SMS (old way), Notification is shown

Reviewers: #kde_connect, sredman

Reviewed By: sredman

Subscribers: albertvaka, apol, sredman, kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13594
2018-09-10 11:31:05 +02:00
..
CMakeLists.txt Split SMS and Telephony plugin on desktop 2018-09-10 11:31:05 +02:00
kdeconnect_telephony.json Split SMS and Telephony plugin on desktop 2018-09-10 11:31:05 +02:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
telephonyplugin.cpp Split SMS and Telephony plugin on desktop 2018-09-10 11:31:05 +02:00
telephonyplugin.h Split SMS and Telephony plugin on desktop 2018-09-10 11:31:05 +02:00

This plugin will display a notification each time a package with type
"kdeconnect.telephony" is received. The type of notification will change
depending on the contents of the field "event" (string).

Valid contents for "event" are: "ringing", "talking", "missedCall" and "sms".
Note that "talking" is just ignored in this implementation, while the others
will display a system notification.

If the incoming package contains a "phoneNumber" string field, the notification
will also display it. Note that "phoneNumber" can be a contact name instead
of an actual phone number.

If the incoming package contains "isCancel" set to true, the package is ignored.