dom/mobilemessage/interfaces/nsIDOMSmsFilter.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/mobilemessage/interfaces/nsIDOMSmsFilter.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "nsISupports.idl"
     1.9 +
    1.10 +[scriptable, builtinclass, uuid(17890b60-0367-45c6-9729-62e5bf349b2b)]
    1.11 +interface nsIDOMMozSmsFilter : nsISupports
    1.12 +{
    1.13 +  // A date that can return null.
    1.14 +  [implicit_jscontext]
    1.15 +  attribute jsval startDate;
    1.16 +
    1.17 +  // A date that can return null.
    1.18 +  [implicit_jscontext]
    1.19 +  attribute jsval endDate;
    1.20 +
    1.21 +  // An array of DOMString that can return null.
    1.22 +  [implicit_jscontext]
    1.23 +  attribute jsval numbers;
    1.24 +
    1.25 +  // A DOMString that can return and be set to "sent", "received" or null.
    1.26 +  [Null(Empty)]
    1.27 +  attribute DOMString delivery;
    1.28 +
    1.29 +  // A read flag that can return and be set to a boolean or null.
    1.30 +  [implicit_jscontext]
    1.31 +  attribute jsval read;
    1.32 +
    1.33 +  // A thread id that can return and be set to a numeric value or null.
    1.34 +  [implicit_jscontext]
    1.35 +  attribute jsval threadId;
    1.36 +};

mercurial