@@ -1263,48 +1263,36 @@ <h2>Event handlers</h2>
1263
1263
</ p >
1264
1264
1265
1265
1266
- <!------------------------ Interface Message --- ------------------------------>
1266
+ <!------------------------ Interface SmsMessage ------------------------------>
1267
1267
< 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 "
1274
1273
class ="idl ">
1275
1274
< dt > readonly attribute DOMString messageID</ dt >
1276
1275
< dd > MUST return the identifier of the message.</ dd >
1277
1276
1278
1277
< 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 >
1280
1279
1281
1280
< dt > readonly attribute DOMString serviceID</ dt >
1282
1281
< dd > MUST return the messaging service id</ a > used to send / receive this
1283
1282
message.</ dd >
1284
1283
1285
1284
< dt > readonly attribute DOMString from</ dt >
1286
1285
< 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 >
1288
1287
1289
1288
< dt > readonly attribute Date timestamp</ dt >
1290
1289
< 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 >
1293
1291
1294
1292
< dt > readonly attribute boolean read</ dt >
1295
1293
< dd > MUST return 'true' if the message has been marked as read, or 'false'
1296
1294
otherwise.</ dd >
1297
- </ dl >
1298
- </ section >
1299
1295
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 ">
1308
1296
< dt > readonly attribute DOMString to</ dt >
1309
1297
< dd > MUST return the recipient of the message, i.e. the TP Destination
1310
1298
Address (TP-DA) of the SMS message.</ dd >
@@ -1339,8 +1327,30 @@ <h2><a>SmsMessage</a> Interface</h2>
1339
1327
< h2 > < a > MmsMessage</ a > Interface</ h2 >
1340
1328
< p > The < a > MmsMessage</ a > interface represents an MMS message, as defined in
1341
1329
[[!MMS13]].
1342
- < dl title ="[NoInterfaceObject] interface MmsMessage : Message "
1330
+ < dl title ="[NoInterfaceObject] interface MmsMessage "
1343
1331
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
+
1344
1354
< dt > readonly attribute DOMString[] to</ dt >
1345
1355
< dd > MUST return an array containing the recipient(s) included
1346
1356
in the 'To' field of the MMS message.</ dd >
0 commit comments