Hi ,
I have checked Messaging Web APIs.
Could you please let me know the answers for the following query
Query 1:
Is the message storage used to check the status of the message.
In the example below,it checks whether the message is loaded or not. So
each service object has storage object which is used to check the status of
the message.
Where does the message gets stored.


function messageQueryCallback(messages) {
  for (var i=0; i<messages.length; i++) {
    var message = messages[i];
    if (!message.body.loaded) {
       service.loadMessageBody(message, successCallback, errorCallback);
    }
  }
}
service.messageStorage.findMessages(new tizen.AttributeFilter("type",
"EXACTLY", "messaging.email"), messageQueryCallback);

Please let me know if you need any further information.
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to