1
<?xml version="1.0" encoding="UTF-8" ?>
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4
<interface name="org.freedesktop.ModemManager.Modem.Gsm.Contacts">
7
Add a new contact to the SIM card.
9
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
10
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_add"/>
11
<arg name="name" type="s" direction="in">
13
The name of the contact.
16
<arg name="number" type="s" direction="in">
18
The phone number of the contact.
21
<arg name="index" type="u" direction="out">
23
The index of the new contact.
28
<method name="Delete">
30
Delete a contact from the SIM card.
32
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
33
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_delete"/>
34
<arg name="index" type="u" direction="in">
36
The index of the contact.
43
Retrieve a contact from the SIM card.
45
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
46
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_get"/>
47
<arg name="index" type="u" direction="in">
49
The index of the contact.
52
<arg name="contact" type="(uss)" direction="out">
53
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactType"/>
55
The contact structure containing index, name, and number.
62
List all contacts on the SIM card.
64
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
65
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_list"/>
66
<arg name="results" type="a(uss)" direction="out">
67
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactTypeList"/>
69
The list of contacts where each contact has an index, name, and number.
76
Find a contact from the SIM card.
78
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
79
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_find"/>
80
<arg name="pattern" type="s" direction="in">
82
The pattern to search for.
85
<arg name="results" type="a(uss)" direction="out">
86
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactTypeList"/>
88
The list of matching contacts where a contact has an index, name, and number.
93
<method name="GetCount">
95
Get the number of contacts stored on the SIM card.
97
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
98
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_count"/>
99
<arg name="count" type="u" direction="out">
101
The number of contacts.