Skip to content

Instantly share code, notes, and snippets.

@vishalbelsare
Last active December 24, 2017 14:30
Show Gist options
  • Save vishalbelsare/f61fa251c2da1896d5c90197971fc3a7 to your computer and use it in GitHub Desktop.
Save vishalbelsare/f61fa251c2da1896d5c90197971fc3a7 to your computer and use it in GitHub Desktop.
tracker-query-dbus
(dbus-introspect :session "org.freedesktop.Tracker1"
"/org/freedesktop/Tracker1")
"<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"
\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">
<!-- GDBus 2.54.0 -->
<node>
<node name=\"Backup\"/>
<node name=\"Steroids\"/>
<node name=\"Statistics\"/>
<node name=\"Status\"/>
<node name=\"Resources\"/>
</node>
"
(dbus-introspect-get-node-names :session "org.freedesktop.Tracker1"
"/org/freedesktop/Tracker1/Steroids")
("Backup" "Steroids" "Statistics" "Status" "Resources")
(dbus-introspect-get-interface-names :session "org.freedesktop.Tracker1"
"/org/freedesktop/Tracker1/Steroids")
("org.freedesktop.DBus.Properties" "org.freedesktop.DBus.Introspectable" "org.freedesktop.DBus.Peer" "org.freedesktop.Tracker1.Steroids")
(dbus-introspect-get-method-names :session "org.freedesktop.Tracker1"
"/org/freedesktop/Tracker1/Steroids"
"org.freedesktop.Tracker1.Steroids")
("Query" "Update" "BatchUpdate" "UpdateBlank" "BatchUpdateBlank" "UpdateArray")
(dbus-introspect-get-method :session "org.freedesktop.Tracker1"
"/org/freedesktop/Tracker1/Steroids"
"org.freedesktop.Tracker1.Steroids"
"Query")
(method ((name . "Query")) "
" (arg ((type . "s") (name . "query") (direction . "in"))) "
" (arg ((type . "h") (name . "output_stream") (direction . "in"))) "
" (arg ((type . "as") (name . "result") (direction . "out"))) "
")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment