dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.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.

     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/. */
     5 #include "domstubs.idl"
     6 #include "nsISupports.idl"
     8 [scriptable, builtinclass, uuid(fc8153d2-0026-11e3-bf31-8b0c1d5e7638)]
     9 interface nsIDOMMozSmsMessage : nsISupports
    10 {
    11   /**
    12    * |type| is always "sms".
    13    */
    14   readonly attribute DOMString type;
    16   readonly attribute long      id;
    18   readonly attribute unsigned long long threadId;
    20   /**
    21    * Integrated Circuit Card Identifier.
    22    *
    23    * Will be null if ICC is not available.
    24    */
    25   readonly attribute DOMString iccId;
    27   /**
    28    * Should be "received", "sending", "sent" or "error".
    29    */
    30   readonly attribute DOMString delivery;
    32   /**
    33    * Possible delivery status values for above delivery states are:
    34    *
    35    * "received": "success"
    36    * "sending" : "pending", or "not-applicable" if the message was sent without
    37    *             status report requisition.
    38    * "sent"    : "pending", "success", "error", or "not-applicable"
    39    *             if the message was sent without status report requisition.
    40    * "error"   : "error"
    41    */
    42   readonly attribute DOMString deliveryStatus;
    44   readonly attribute DOMString sender;
    45   readonly attribute DOMString receiver;
    46   readonly attribute DOMString body;
    48   /**
    49    * Should be "normal", "class-0", "class-1", "class-2" or "class-3".
    50    */
    51   readonly attribute DOMString messageClass;
    53   readonly attribute DOMTimeStamp timestamp;
    55   readonly attribute DOMTimeStamp sentTimestamp; 
    56                                   // 0 if not available (e.g., |delivery| =
    57                                   // "sending").
    59   readonly attribute DOMTimeStamp deliveryTimestamp;
    60                                   // 0 if not available (e.g., |delivery| =
    61                                   // "received" or not yet delivered).
    63   readonly attribute boolean   read;
    64 };

mercurial