You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebluez/src/interfaces/org.bluez.obex.client.xml

200 lines
7.8 KiB

<?xml version="1.0"?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
<node name="/org/bluez/obex">
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
<interface name="org.bluez.obex.AgentManager1">
<method name="RegisterAgent">
<arg name="agent" type="o" direction="in" />
</method>
<method name="UnregisterAgent">
<arg name="agent" type="o" direction="in" />
</method>
</interface>
<!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Client1.xml -->
<interface name="org.bluez.obex.Client1">
<method name="CreateSession">
<arg name="destination" type="s" direction="in" />
<arg name="args" type="a{sv}" direction="in" />
<arg name="session" type="o" direction="out" />
</method>
<method name="RemoveSession">
<arg name="session" type="o" direction="in" />
</method>
</interface>
<!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.FileTransfer1.xml -->
<interface name="org.bluez.obex.FileTransfer1">
<method name="ChangeFolder">
<arg name="folder" type="s" direction="in" />
</method>
<method name="CreateFolder">
<arg name="folder" type="s" direction="in" />
</method>
<method name="ListFolder">
<arg name="folderinfo" type="aa{sv}" direction="out" />
</method>
<method name="GetFile">
<arg name="targetfile" type="s" direction="in" />
<arg name="sourcefile" type="s" direction="in" />
<arg name="transfer" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
<method name="PutFile">
<arg name="sourcefile" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
<arg name="transfer" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
<method name="CopyFile">
<arg name="sourcefile" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
</method>
<method name="MoveFile">
<arg name="sourcefile" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
</method>
<method name="Delete">
<arg name="file" type="s" direction="in" />
</method>
</interface>
<!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.ObjectPush1.xml -->
<interface name="org.bluez.obex.ObjectPush1">
<method name="SendFile">
<arg name="sourcefile" type="s" direction="in" />
<arg name="transfer" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
<method name="PullBusinessCard">
<arg name="targetfile" type="s" direction="in" />
<arg name="transfer" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
<method name="ExchangeBusinessCards">
<arg name="clientfile" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
<arg name="transfer" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
</interface>
<!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Session1.xml -->
<interface name="org.bluez.obex.Session1">
<method name="GetCapabilities">
<arg name="capabilities" type="s" direction="out" />
</method>
<property name="Source" type="s" access="read" />
<property name="Destination" type="s" access="read" />
<property name="Channel" type="b" access="read" />
<property name="Target" type="s" access="read" />
<property name="Root" type="s" access="read" />
</interface>
<!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Transfer1.xml -->
<interface name="org.bluez.obex.Transfer1">
<method name="Cancel" />
<method name="Suspend" />
<method name="Resume" />
<property name="Status" type="s" access="read" />
<property name="Session" type="o" access="read" />
<property name="Name" type="s" access="read" />
<property name="Type" type="s" access="read" />
<property name="Time" type="t" access="read" />
<property name="Size" type="t" access="read" />
<property name="Transferred" type="t" access="read" />
<property name="Filename" type="s" access="read" />
</interface>
<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
<interface name="org.bluez.obex.Synchronization1">
<method name="SetLocation">
<arg name="location" type="s" direction="in" />
</method>
<method name="GetPhonebook">
<arg name="phonebook" type="o" direction="out" />
<arg name="sourcefile" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
</method>
<method name="PutPhonebook">
<arg name="sourcefile" type="s" direction="in" />
</method>
</interface>
<!-- TODO -->
<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
<interface name="org.bluez.obex.PhonebookAccess1">
<method name="Select">
<arg name="location" type="s" direction="in" />
<arg name="phonebook" type="s" direction="in" />
</method>
<method name="PullAll">
<arg name="path" type="o" direction="out" />
<arg name="properties" type="a{sv}" direction="out" />
<arg name="targetfile" type="s" direction="in" />
<arg name="filters" type="as" direction="in" />
</method>
<method name="List">
<arg name="vcard" type="a{ss}" direction="out" />
<arg name="filters" type="as" direction="in" />
</method>
<method name="Pull">
<arg name="transfer" type="o" direction="out" />
<arg name="vcards" type="a{sv}" direction="out" />
<arg name="vcard" type="s" direction="in" />
<arg name="targetfile" type="s" direction="in" />
<arg name="filters" type="as" direction="in" />
</method>
<property name="Folder" type="s" access="read" />
<property name="DatabaseIdentifier" type="s" access="read" />
<property name="PrimaryCounter" type="s" access="read" />
<property name="SecondaryCounter" type="s" access="read" />
<property name="FixedImageSize" type="s" access="read" />
</interface>
<!-- TODO -->
<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
<!-- <interface name="org.bluez.obex.MessageAccess1"> -->
<!-- <method name="SetLocation"> -->
<!-- <arg name="location" type="s" direction="in" /> -->
<!-- </method> -->
<!-- <method name="GetPhonebook"> -->
<!-- <arg name="phonebook" type="o" direction="out" /> -->
<!-- <arg name="sourcefile" type="s" direction="in" /> -->
<!-- <arg name="targetfile" type="s" direction="in" /> -->
<!-- </method> -->
<!-- <method name="PutPhonebook"> -->
<!-- <arg name="sourcefile" type="s" direction="in" /> -->
<!-- </method> -->
<!-- </interface> -->
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface" type="s" direction="in" />
<arg name="name" type="s" direction="in" />
<arg name="value" type="v" direction="out" />
</method>
<method name="Set">
<arg name="interface" type="s" direction="in" />
<arg name="name" type="s" direction="in" />
<arg name="value" type="v" direction="in" />
</method>
<method name="GetAll">
<arg name="interface" type="s" direction="in" />
<arg name="properties" type="a{sv}" direction="out" />
</method>
<signal name="PropertiesChanged">
<arg name="interface" type="s" />
<arg name="changed_properties" type="a{sv}" />
<arg name="invalidated_properties" type="as" />
</signal>
</interface>
</node>