diff options
author | João Paulo Rechi Vita <jprvita@profusion.mobi> | 2010-03-15 17:17:45 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-03-15 21:15:23 -0500 |
commit | 2e913556a38777d66834497d1ede364e9edab954 (patch) | |
tree | 2874ebb8789dcba4a37840c6d3b26c9ee630d49b | |
parent | 79630b2bd43d6f704703647dcc493fa4b931ef80 (diff) | |
download | ofono-2e913556a38777d66834497d1ede364e9edab954.tar.bz2 |
doc: Add SmsManager API documentation.
-rw-r--r-- | doc/sms-api.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/sms-api.txt b/doc/sms-api.txt new file mode 100644 index 00000000..8ebcac5e --- /dev/null +++ b/doc/sms-api.txt @@ -0,0 +1,46 @@ +SmsManager hierarchy +=============== + +Service org.ofono +Interface org.ofono.SmsManager +Object path [variable prefix]/{modem0,modem1,...} + +Methods dict GetProperties() + + Returns properties for the modem object. See + the properties section for available properties. + + Possible Errors: [service].Error.InvalidArguments + + void SetProperty(string name, variant value) + + Changes the value of the specified property. Only + properties that are listed as read-write are + changeable. On success a PropertyChanged signal + will be emitted. + + Possible Errors: [service].Error.InvalidArguments + [service].Error.DoesNotExist + + void SendMessage(string to, string text) + + Send the message in text to the number in to. + +Signals PropertyChanged(string name, variant value) + + This signal indicates a changed value of the given + property. + + ImmediateMessage(string message, dict info) + + New immediate (class 0) SMS received. Info has Sender, + LocalSentTime, and SentTime information. + + IncomingMessage(string message, dict info) + + New incoming (class >= 1) SMS received. Info has Sender, + LocalSentTime, and SentTime information. + +Properties string ServiceCenterAddress + + Contains the number of the SMS service center. |