kdeconnect-kde/plugins/telephony
Alexander Lohnau 1631ada5b3 Simplify KDEConnectPlugin::recievePacket
- We do not need the return type. If a plugin declares it can handle the
  packet it should do so. We don't have any fallback logic in place and
  the packet types are namespaced with the plugin IDs anyway.

- Provide a default implementation with a warning, not all plugins need
  to overwrite this
2023-08-03 20:49:44 +02:00
..
CMakeLists.txt Use target-centric CMake approach for declaring debug category 2023-07-22 20:51:19 +00:00
kdeconnect_telephony.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-08-01 01:39:50 +00:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
telephonyplugin.cpp Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
telephonyplugin.h Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +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.