api,dbus: rewrite Methods, Properties and Signals for gdbus-codegen
This commit is contained in:
@@ -1,84 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
ModemManager 0.6 Interface Specification
|
||||
|
||||
Copyright (C) 2008 Novell, Inc.
|
||||
Copyright (C) 2008-2011 Red Hat, Inc.
|
||||
Copyright (C) 2011 The Chromium OS Authors
|
||||
Copyright (C) 2011 Google, Inc.
|
||||
-->
|
||||
|
||||
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
||||
|
||||
<!--
|
||||
org.freedesktop.ModemManager1.Modem.3gpp.Ussd:
|
||||
@short_description: The ModemManager 3GPP USSD interface.
|
||||
|
||||
This interface provides access to actions based on the USSD protocol.
|
||||
-->
|
||||
<interface name="org.freedesktop.ModemManager1.Modem.3gpp.Ussd">
|
||||
<method name="Initiate">
|
||||
<tp:docstring>
|
||||
|
||||
<!--
|
||||
Initiate:
|
||||
@command: The command to start the USSD session with.
|
||||
@reply: The network response to the command which started the USSD session.
|
||||
|
||||
Sends a USSD command string to the network initiating a USSD session.
|
||||
|
||||
When the request is handled by the network, the method returns the
|
||||
response or an appropriate error. The network may be awaiting further
|
||||
response or an appropriate error. The network may be awaiting further
|
||||
response from the ME after returning from this method and no new command
|
||||
can be initiated until this one is cancelled or ended.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_3gpp_ussd_initiate"/>
|
||||
<arg name="command" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The command to start the USSD session with.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="reply" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
The network response to the command which started the USSD session.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
-->
|
||||
<method name="Initiate">
|
||||
<arg name="command" type="s" direction="in" />
|
||||
<arg name="reply" type="s" direction="out" />
|
||||
</method>
|
||||
|
||||
<method name="Respond">
|
||||
<tp:docstring>
|
||||
<!--
|
||||
Respond:
|
||||
@response: The response to network-initiated USSD command, or a response to a request for further input.
|
||||
@reply: The network reply to this response to the network-initiated USSD command. The reply may require further responses.
|
||||
|
||||
Respond to a USSD request that is either initiated by the mobile network,
|
||||
or that is awaiting further input after Initiate() was called.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_3gpp_ussd_respond"/>
|
||||
<arg name="response" type="s" direction="in">
|
||||
<tp:docstring>
|
||||
The response to network-initiated USSD command, or a response to a
|
||||
request for further input.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
<arg name="reply" type="s" direction="out">
|
||||
<tp:docstring>
|
||||
The network reply to this response to the network-initiated USSD
|
||||
command. The reply may require further responses.
|
||||
</tp:docstring>
|
||||
</arg>
|
||||
or that is awaiting further input after
|
||||
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-3gpp-Ussd.Initiate">Initiate()</link>
|
||||
was called.
|
||||
-->
|
||||
<method name="Respond">
|
||||
<arg name="response" type="s" direction="in" />
|
||||
<arg name="reply" type="s" direction="out" />
|
||||
</method>
|
||||
|
||||
<method name="Cancel">
|
||||
<tp:docstring>
|
||||
<!--
|
||||
Cancel:
|
||||
|
||||
Cancel an ongoing USSD session, either mobile or network initiated.
|
||||
</tp:docstring>
|
||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_3gpp_ussd_cancel"/>
|
||||
</method>
|
||||
-->
|
||||
<method name="Cancel" />
|
||||
|
||||
<property name="State" type="s" access="read">
|
||||
<tp:docstring>
|
||||
Indicates the state of any ongoing USSD session. Values may be one of
|
||||
the following: "idle" (no active session), "active" (a session is active
|
||||
and the mobile is waiting for a response), "user-response" (the network
|
||||
is waiting for the client's response, which must be sent using Respond()).
|
||||
</tp:docstring>
|
||||
</property>
|
||||
<!--
|
||||
State:
|
||||
|
||||
A <link linkend="MMModem3gppUssdSessionState">MMModem3gppUssdSessionState</link> value,
|
||||
indicating the state of any ongoing USSD session.
|
||||
-->
|
||||
<property name="State" type="s" access="read" />
|
||||
|
||||
<!--
|
||||
NetworkNotification:
|
||||
|
||||
<property name="NetworkNotification" type="s" access="read">
|
||||
<tp:docstring>
|
||||
Contains any network-initiated request to which no USSD response is
|
||||
required. When no USSD session is active, or when there is no network-
|
||||
required.
|
||||
|
||||
When no USSD session is active, or when there is no network-
|
||||
initiated request, this property will be a zero-length string.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
-->
|
||||
<property name="NetworkNotification" type="s" access="read" />
|
||||
|
||||
<!--
|
||||
NetworkRequest:
|
||||
|
||||
Contains any pending network-initiated request for a response. Client
|
||||
should call
|
||||
<link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-3gpp-Ussd.Respond">Respond()</link>
|
||||
with the appropriate response to this request.
|
||||
|
||||
<property name="NetworkRequest" type="s" access="read">
|
||||
<tp:docstring>
|
||||
Contains any pending network-initiated request for a response. Client
|
||||
should call Respond() with the appropriate response to this request.
|
||||
When no USSD session is active, or when there is no pending
|
||||
network-initiated request, this property will be a zero-length string.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
-->
|
||||
<property name="NetworkRequest" type="s" access="read" />
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
Reference in New Issue
Block a user