ModemManager Reference Manual | ||||
---|---|---|---|---|
Top | Description | Properties | Signals |
org.freedesktop.ModemManager1.Modem.Messagingorg.freedesktop.ModemManager1.Modem.Messaging — The ModemManager Messaging interface. |
Description
The Messaging interface handles sending SMS messages and notification of new incoming messages.
Method Details
The List() method
List (OUT ao result);
Retrieve all SMS messages.
This method should only be used once and subsequent information retreived either by listening for the "Added" and org.freedesktop.ModemManager1.Modem.Messaging::Completed signals, or by querying the specific SMS object of interest.
|
The list of SMS object paths. |
The Delete() method
Delete (IN o path);
Delete an SMS message.
|
The object path of the SMS to delete. |
The Create() method
Create (IN a{sv} properties, OUT o path);
Creates a new message object.
The 'Number' and either 'Text' or 'Data' properties are mandatory, others are optional.
If the SMSC is not specified and one is required, the default SMSC is used.
|
Message properties from the SMS D-Bus interface. |
|
The object path of the new message object. |
Signal Details
The "Added" signal
Added (o path, b received);
Emitted when any part of a new SMS has been received or added (but not for subsequent parts, if any). For messages received from the network, not all parts may have been received and the message may not be complete.
Check the 'State' property to determine if the message is complete. The org.freedesktop.ModemManager1.Modem.Messaging::Completed signal will also be emitted when the message is complete.
|
Object path of the new SMS. |
|
|
Property Details
The "SupportedStorages" property
SupportedStorages readable au
A list of MMSmsStorage values, specifying the storages supported by this modem for storing and receiving SMS.
The "DefaultStorage" property
DefaultStorage readable u
A MMSmsStorage value, specifying the storage to be used when receiving or storing SMS.