dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl

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

mercurial