dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #include "domstubs.idl"
michael@0 6 #include "nsISupports.idl"
michael@0 7
michael@0 8 interface nsIDOMBlob;
michael@0 9
michael@0 10 [scriptable, builtinclass, uuid(f41d7400-0026-11e3-829d-eb7459c03810)]
michael@0 11 interface nsIDOMMozMmsMessage : nsISupports
michael@0 12 {
michael@0 13 /**
michael@0 14 * |type| is always "mms".
michael@0 15 */
michael@0 16 readonly attribute DOMString type;
michael@0 17
michael@0 18 readonly attribute long id;
michael@0 19
michael@0 20 readonly attribute unsigned long long threadId;
michael@0 21
michael@0 22 /**
michael@0 23 * Integrated Circuit Card Identifier.
michael@0 24 *
michael@0 25 * Will be null if ICC is not available.
michael@0 26 */
michael@0 27 readonly attribute DOMString iccId;
michael@0 28
michael@0 29 /**
michael@0 30 * Should be "not-downloaded", "received", "sending", "sent" or "error".
michael@0 31 */
michael@0 32 readonly attribute DOMString delivery;
michael@0 33
michael@0 34 [implicit_jscontext]
michael@0 35 readonly attribute jsval deliveryInfo; // MmsDeliveryInfo[]
michael@0 36
michael@0 37 readonly attribute DOMString sender;
michael@0 38
michael@0 39 [implicit_jscontext]
michael@0 40 readonly attribute jsval receivers; // DOMString[]
michael@0 41
michael@0 42 readonly attribute DOMTimeStamp timestamp;
michael@0 43
michael@0 44 readonly attribute DOMTimeStamp sentTimestamp;
michael@0 45 // 0 if not available (e.g., |delivery| =
michael@0 46 // "sending").
michael@0 47
michael@0 48 readonly attribute boolean read;
michael@0 49 readonly attribute DOMString subject;
michael@0 50 readonly attribute DOMString smil;
michael@0 51
michael@0 52 [implicit_jscontext]
michael@0 53 readonly attribute jsval attachments; // MmsAttachment[]
michael@0 54
michael@0 55 readonly attribute DOMTimeStamp expiryDate; // Expiry date for an MMS to be
michael@0 56 // manually downloaded.
michael@0 57
michael@0 58 // Request read report from sender or not.
michael@0 59 readonly attribute boolean readReportRequested;
michael@0 60 };

mercurial