Open zolkis opened 10 years ago
For modularity and being more future-proof I propose to change the specification in the following way:
MessagingManager implements MessagingStorage; interface MessagingManager { readonly attribute SmsManager sms; readonly attribute MmsManager mms; };
Then,
interface MessagingStorage { Promise findMessages (MessagingFilter filter, FilterOptions options); Promise findConversations (DOMString groupBy, MessagingFilter filter, FilterOptions options); Promise getMessage (DOMString messageID); Promise deleteMessage (DOMString messageID); Promise deleteConversation (DOMString conversationID); Promise markMessageRead (DOMString messageID, boolean value, optional boolean sendReadReport = false); Promise markConversationRead (DOMString conversationID, boolean value, optional boolean sendReadReport = false); }
@efullea if you think this is OK, I can do the editing, once I update the Telephony spec.
For modularity and being more future-proof I propose to change the specification in the following way:
Then,