Warning, /network/kio-extras/mtp/shared/org.kde.kmtp.device.xml is written in an unsupported language. File is not indexed.

0001 <!DOCTYPE node PUBLIC
0002 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
0003 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
0004 
0005 <!--
0006     This file is part of the KMTP framework, part of the KDE project.
0007 
0008     SPDX-FileCopyrightText: 2018 Andreas Krutzler <andreas.krutzler@gmx.net>
0009 
0010     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0011 -->
0012 
0013 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
0014 
0015     <!-- org.kde.kmtp.Device:
0016         @short_description: MTP device access API
0017 
0018         This D-Bus interface is used to access MTP devices.
0019     -->
0020     <interface name="org.kde.kmtp.Device">
0021 
0022         <!-- udi: Unique device identifier provided by Solid.
0023         -->
0024        <property name="udi" type="s" access="read"/>
0025 
0026         <!-- friendlyName: This retrieves the "friendly name" of an MTP device. Usually this is simply the name of the owner.
0027         -->
0028         <property name="friendlyName" type="s" access="read"/>
0029 
0030         <!--
0031             setFriendlyName
0032             @newName:   The new friendly name of the device
0033             @result:    The result of the operation. 0 if successful, else not.
0034         -->
0035         <method name="setFriendlyName">
0036             <arg direction="in"  type="s" name="newName" />
0037             <arg direction="out" type="i" name="result" />
0038         </method>
0039 
0040         <!-- listStorages: The available storages.
0041             @storages: A list of the currently accessible storages represented as an array of D-Bus object paths.
0042         -->
0043         <method name="listStorages">
0044             <arg direction="out" type="ao" name="storages" />
0045         </method>
0046 
0047         <!-- devicesUpdated: Get status if any device was changed.
0048             @deviceUpdated: Status of any device change.
0049         -->
0050         <method name="devicesUpdated">
0051             <arg direction="out" type="b" name="devicesUpdated" />
0052         </method>
0053 
0054         </interface>
0055 </node>