diff -r 000000000000 -r 6474c204b198 dom/mobilemessage/interfaces/nsIDOMMozMobileMessageThread.idl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/mobilemessage/interfaces/nsIDOMMozMobileMessageThread.idl Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,32 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "domstubs.idl" +#include "nsISupports.idl" + +[scriptable, builtinclass, uuid(525ad3a6-59a9-11e3-bdc3-836486cb58be)] +interface nsIDOMMozMobileMessageThread : nsISupports +{ + // Unique identity of the thread. + readonly attribute unsigned long long id; + + // Last (MMS) message subject. + readonly attribute DOMString lastMessageSubject; + + // Message body of the last message in the thread. + readonly attribute DOMString body; + + // Total unread messages in the thread. + readonly attribute unsigned long long unreadCount; + + // Participant addresses of the thread. + [implicit_jscontext] + readonly attribute jsval participants; // DOMString[] + + // Timestamp of the last message in the thread. + readonly attribute DOMTimeStamp timestamp; + + // Message type of the last message in the thread. + readonly attribute DOMString lastMessageType; +};