~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/modemmanager-0.4/dbus/introspection/mm-modem-gsm-ussd.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
 
 
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
 
 
5
  <interface name="org.freedesktop.ModemManager.Modem.Gsm.Ussd">
 
6
    <method name="Initiate">
 
7
      <tp:docstring>
 
8
        Sends a USSD command string to the network initiating a USSD session.
 
9
        When the request is handled by the network, the method returns the
 
10
        response or an appropriate error.  The network may be awaiting further
 
11
        response from the ME after returning from this method and no new command
 
12
        can be initiated until this one is cancelled or ended.
 
13
      </tp:docstring>
 
14
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
15
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_gsm_ussd_initiate"/>
 
16
      <arg name="command" type="s" direction="in">
 
17
        <tp:docstring>
 
18
          The command to start the USSD session with.
 
19
        </tp:docstring>
 
20
      </arg>
 
21
      <arg name="reply" type="s" direction="out">
 
22
        <tp:docstring>
 
23
          The network response to the command which started the USSD session.
 
24
        </tp:docstring>
 
25
      </arg>
 
26
    </method>
 
27
 
 
28
    <method name="Respond">
 
29
      <tp:docstring>
 
30
        Respond to a USSD request that is either initiated by the mobile network,
 
31
        or that is awaiting further input after Initiate() was called.
 
32
      </tp:docstring>
 
33
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
34
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_gsm_ussd_respond"/>
 
35
      <arg name="response" type="s" direction="in">
 
36
        <tp:docstring>
 
37
          The response to network-initiated USSD command, or a response to a
 
38
          request for further input.
 
39
      </tp:docstring>
 
40
      </arg>
 
41
    </method>
 
42
 
 
43
    <method name="Cancel">
 
44
      <tp:docstring>
 
45
        Cancel an ongoing USSD session, either mobile or network initiated.
 
46
      </tp:docstring>
 
47
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
48
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_gsm_ussd_cancel"/>
 
49
    </method>
 
50
 
 
51
    <property name="State" type="s" access="read">
 
52
      <tp:docstring>
 
53
        Indicates the state of any ongoing USSD session.  Values may be one of
 
54
        the following: "idle" (no active session), "active" (a session is active
 
55
        and the mobile is waiting for a response), "user-response" (the network
 
56
        is waiting for the client's response, which must be sent using Respond()).
 
57
      </tp:docstring>
 
58
    </property>
 
59
 
 
60
    <property name="NetworkNotification" type="s" access="read">
 
61
      <tp:docstring>
 
62
        Contains any network-initiated request to which no USSD response is
 
63
        required.  When no USSD session is active, or when there is no network-
 
64
        initiated request, this property will be a zero-length string.
 
65
      </tp:docstring>
 
66
    </property>
 
67
 
 
68
    <property name="NetworkRequest" type="s" access="read">
 
69
      <tp:docstring>
 
70
        Contains any pending network-initiated request for a response.  Client
 
71
        should call Respond() with the appropriate response to this request.
 
72
        When no USSD session is active, or when there is no pending
 
73
        network-initiated request, this property will be a zero-length string.
 
74
      </tp:docstring>
 
75
    </property>
 
76
 
 
77
  </interface>
 
78
</node>