Function: dbus-get-all-properties
dbus-get-all-properties is a byte-compiled function defined in
dbus.el.gz.
Signature
(dbus-get-all-properties BUS SERVICE PATH INTERFACE)
Documentation
Return all properties of INTERFACE at BUS, SERVICE, PATH.
The result is a list of entries. Every entry is a cons of the name of the property, and its value. If there are no properties, nil is returned.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
(defun dbus-get-all-properties (bus service path interface)
"Return all properties of INTERFACE at BUS, SERVICE, PATH.
The result is a list of entries. Every entry is a cons of the
name of the property, and its value. If there are no properties,
nil is returned."
(let (dbus-debug)
(dbus-ignore-errors
;; "GetAll" returns "a{sv}".
(mapcar (lambda (dict)
(cons (car dict) (caadr dict)))
(dbus-call-method bus service path dbus-interface-properties
"GetAll" :timeout 500 interface)))))