michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIDOMBlob; michael@0: michael@0: [scriptable, builtinclass, uuid(f41d7400-0026-11e3-829d-eb7459c03810)] michael@0: interface nsIDOMMozMmsMessage : nsISupports michael@0: { michael@0: /** michael@0: * |type| is always "mms". michael@0: */ michael@0: readonly attribute DOMString type; michael@0: michael@0: readonly attribute long id; michael@0: michael@0: readonly attribute unsigned long long threadId; michael@0: michael@0: /** michael@0: * Integrated Circuit Card Identifier. michael@0: * michael@0: * Will be null if ICC is not available. michael@0: */ michael@0: readonly attribute DOMString iccId; michael@0: michael@0: /** michael@0: * Should be "not-downloaded", "received", "sending", "sent" or "error". michael@0: */ michael@0: readonly attribute DOMString delivery; michael@0: michael@0: [implicit_jscontext] michael@0: readonly attribute jsval deliveryInfo; // MmsDeliveryInfo[] michael@0: michael@0: readonly attribute DOMString sender; michael@0: michael@0: [implicit_jscontext] michael@0: readonly attribute jsval receivers; // DOMString[] michael@0: michael@0: readonly attribute DOMTimeStamp timestamp; michael@0: michael@0: readonly attribute DOMTimeStamp sentTimestamp; michael@0: // 0 if not available (e.g., |delivery| = michael@0: // "sending"). michael@0: michael@0: readonly attribute boolean read; michael@0: readonly attribute DOMString subject; michael@0: readonly attribute DOMString smil; michael@0: michael@0: [implicit_jscontext] michael@0: readonly attribute jsval attachments; // MmsAttachment[] michael@0: michael@0: readonly attribute DOMTimeStamp expiryDate; // Expiry date for an MMS to be michael@0: // manually downloaded. michael@0: michael@0: // Request read report from sender or not. michael@0: readonly attribute boolean readReportRequested; michael@0: };