WebAPI/AppDefinedTeleophony: Difference between revisions

Jump to navigation Jump to search
Line 91: Line 91:
  };
  };


addArrivedMessage() is added to Messaging to let communication Apps add a message for a new arriving message. |handler| is added to Message to record the application can handle replying the message. |receiver| is the account receiving the message.  It is used by the handler to distinguish the user of the service. The message app is not supposed for responding for editing messages.  It should wake up the handler of the message for editing. |type| and |serviceID| can be removed and replaced by |handler| and |receiver| while |receiver| are used to distinguish different SIM.
'''addArrivedMessage()''' is added to Messaging to let communication Apps add a message for a new arriving message.
 
'''handler''' is added to Message to record the application can handle replying the message.
 
'''receiver''' is the account receiving the message.  It is used by the handler to distinguish the user of the service. The message app is not supposed for responding for editing messages.  It should wake up the handler of the message for editing. (MUA is an example.)
 
'''type''' and '''serviceID''' can be removed and replaced by |handler| and |receiver| while |receiver| are used to distinguish different SIM.


MmsMessage are suggested for more flexible that handler can format the message in HTML to provide a rich representation.
MmsMessage are suggested for more flexible that handler can format the message in HTML to provide a rich representation.
Confirmed users
398

edits

Navigation menu