WebAPI/WebSMS: Difference between revisions

→‎Proposed API: add read to smsmmessage and smsfilter
(→‎Proposed API: add read to smsmmessage and smsfilter)
Line 48: Line 48:
     readonly attribute DOMString body;
     readonly attribute DOMString body;
     readonly attribute Date      timestamp;
     readonly attribute Date      timestamp;
    readonly attribute boolean  read;
   };
   };


Line 60: Line 61:
     DOMString[]      numbers;
     DOMString[]      numbers;
     DOMString        body;
     DOMString        body;
    boolean          read;
   };
   };


Comments:
Comments:
* Maybe add a ''isRead'' field?
* Add a ''type'' field that could be SMS or MMS;
* Add a ''type'' field that could be SMS or MMS;
* Maybe add a ''status'' field that could be SENT or RECEIVED?
* Maybe add a ''status'' field that could be SENT or RECEIVED?
Confirmed users
368

edits