Function: notifications-get-server-information
notifications-get-server-information is a byte-compiled function
defined in notifications.el.gz.
Signature
(notifications-get-server-information &optional BUS)
Documentation
Return information on the notification server, a list of strings.
BUS can be a string denoting a D-Bus connection, the default is :session. The returned list is (NAME VENDOR VERSION SPEC-VERSION).
NAME The product name of the server.
VENDOR The vendor name. For example, "KDE", "GNOME".
VERSION The server's version number.
SPEC-VERSION The specification version the server is compliant with.
If SPEC_VERSION is missing, the server supports a specification prior to "1.0".
See notifications-specification-version for the specification
version this library is compliant with.
Source Code
;; Defined in /usr/src/emacs/lisp/notifications.el.gz
(defun notifications-get-server-information (&optional bus)
"Return information on the notification server, a list of strings.
BUS can be a string denoting a D-Bus connection, the default is `:session'.
The returned list is (NAME VENDOR VERSION SPEC-VERSION).
NAME The product name of the server.
VENDOR The vendor name. For example, \"KDE\", \"GNOME\".
VERSION The server's version number.
SPEC-VERSION The specification version the server is compliant with.
If SPEC_VERSION is missing, the server supports a specification
prior to \"1.0\".
See `notifications-specification-version' for the specification
version this library is compliant with."
(dbus-ignore-errors
(dbus-call-method (or bus :session)
notifications-service
notifications-path
notifications-interface
notifications-get-server-information-method)))