Function: dbus-get-property
dbus-get-property is a byte-compiled function defined in dbus.el.gz.
Signature
(dbus-get-property BUS SERVICE PATH INTERFACE PROPERTY)
Documentation
Return the value of PROPERTY of INTERFACE.
It will be checked at BUS, SERVICE, PATH. The result can be any valid D-Bus value, or nil if there is no PROPERTY, or PROPERTY cannot be read.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
;;; D-Bus properties.
(defun dbus-get-property (bus service path interface property)
"Return the value of PROPERTY of INTERFACE.
It will be checked at BUS, SERVICE, PATH. The result can be any
valid D-Bus value, or nil if there is no PROPERTY, or PROPERTY cannot be read."
;; "Get" returns a variant, so we must use the `car'.
(car
(dbus-call-method
bus service path dbus-interface-properties
"Get" :timeout 500 interface property)))