Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit bd8d2ae

Browse files
author
Eduardo Fullea
committed
removing Message interface
1 parent 25b5591 commit bd8d2ae

File tree

1 file changed

+32
-22
lines changed

1 file changed

+32
-22
lines changed

index.html

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,48 +1263,36 @@ <h2>Event handlers</h2>
12631263
</p>
12641264

12651265

1266-
<!------------------------ Interface Message --------------------------------->
1266+
<!------------------------ Interface SmsMessage ------------------------------>
12671267
<section>
1268-
<h2><a>Message</a> Interface</h2>
1269-
<p>The <a>Message</a> interface is a generic interface from which the
1270-
<a>SmsMessage</a> and the <a>MmsMessage</a> inherit and that includes the
1271-
common attributes to both types of message.
1272-
<dl title="[NoInterfaceObject]
1273-
interface Message"
1268+
<h2><a>SmsMessage</a> Interface</h2>
1269+
<p>The <a>SmsMessage</a> interface represents an SMS message as defined in
1270+
[[!GSM-SMS]]. This interface is not intended to represent binary SMS, which
1271+
are out of the scope of this API.
1272+
<dl title="[NoInterfaceObject] interface SmsMessage"
12741273
class="idl">
12751274
<dt>readonly attribute DOMString messageID</dt>
12761275
<dd>MUST return the identifier of the message.</dd>
12771276

12781277
<dt>readonly attribute DOMString type</dt>
1279-
<dd>MUST return the type of message ('sms' or 'mms').</dd>
1278+
<dd>MUST return the type of message, i.e. 'sms'.</dd>
12801279

12811280
<dt>readonly attribute DOMString serviceID</dt>
12821281
<dd>MUST return the messaging service id</a> used to send / receive this
12831282
message.</dd>
12841283

12851284
<dt>readonly attribute DOMString from</dt>
12861285
<dd>MUST return the sender of the message, i.e. the TP Originating Address
1287-
(TP-OA) of the SMS message or the 'From' field of the MMS message.</dd>
1286+
(TP-OA) of the SMS message.</dd>
12881287

12891288
<dt>readonly attribute Date timestamp</dt>
12901289
<dd>MUST return the time the message was sent at, i.e. the TP Service Centre
1291-
Time Stamp (TP-SCTS) of the SMS message or the 'Date' field of the MMS
1292-
message.</dd>
1290+
Time Stamp (TP-SCTS) of the SMS message.</dd>
12931291

12941292
<dt>readonly attribute boolean read</dt>
12951293
<dd>MUST return 'true' if the message has been marked as read, or 'false'
12961294
otherwise.</dd>
1297-
</dl>
1298-
</section>
12991295

1300-
<!------------------------ Interface SmsMessage ------------------------------>
1301-
<section>
1302-
<h2><a>SmsMessage</a> Interface</h2>
1303-
<p>The <a>SmsMessage</a> interface represents an SMS message as defined in
1304-
[[!GSM-SMS]]. This interface is not intended to represent binary SMS, which
1305-
are out of the scope of this API.
1306-
<dl title="[NoInterfaceObject] interface SmsMessage : Message"
1307-
class="idl">
13081296
<dt>readonly attribute DOMString to</dt>
13091297
<dd>MUST return the recipient of the message, i.e. the TP Destination
13101298
Address (TP-DA) of the SMS message.</dd>
@@ -1339,8 +1327,30 @@ <h2><a>SmsMessage</a> Interface</h2>
13391327
<h2><a>MmsMessage</a> Interface</h2>
13401328
<p>The <a>MmsMessage</a> interface represents an MMS message, as defined in
13411329
[[!MMS13]].
1342-
<dl title="[NoInterfaceObject] interface MmsMessage : Message"
1330+
<dl title="[NoInterfaceObject] interface MmsMessage"
13431331
class="idl">
1332+
<dt>readonly attribute DOMString messageID</dt>
1333+
<dd>MUST return the identifier of the message.</dd>
1334+
1335+
<dt>readonly attribute DOMString type</dt>
1336+
<dd>MUST return the type of message, i.e. 'mms'.</dd>
1337+
1338+
<dt>readonly attribute DOMString serviceID</dt>
1339+
<dd>MUST return the messaging service id</a> used to send / receive this
1340+
message.</dd>
1341+
1342+
<dt>readonly attribute DOMString from</dt>
1343+
<dd>MUST return the sender of the message, i.e. the 'From' field of the MMS
1344+
message.</dd>
1345+
1346+
<dt>readonly attribute Date timestamp</dt>
1347+
<dd>MUST return the time the message was sent at, i.e. the 'Date' field of
1348+
the MMS message.</dd>
1349+
1350+
<dt>readonly attribute boolean read</dt>
1351+
<dd>MUST return 'true' if the message has been marked as read, or 'false'
1352+
otherwise.</dd>
1353+
13441354
<dt>readonly attribute DOMString[] to</dt>
13451355
<dd>MUST return an array containing the recipient(s) included
13461356
in the 'To' field of the MMS message.</dd>

0 commit comments

Comments
 (0)