bcc9fb06db
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_telephony.json | ||
README | ||
telephonyplugin.cpp | ||
telephonyplugin.h |
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.