markMessageRead method is used to change the read state of a given message.
var request = navigator.mozMobileMessage.markMessageRead(id, isRead);
idof the message to mark as read or unread.
- A boolean indicating if the message should be marked as read (
true) or unread (
DOMRequest object to handle the
error of the operation.
This is a non-standard implementation, but it is discussed at W3C as part of the System Application Working Group.
|Messaging API||Editor's Draft||Editor Draft (WIP).|
For obvious reasons, support is primarily expected on mobile browsers.
Supported in Firefox OS 1.0.1.