@@ -143,7 +143,7 @@ <h2><a>MessagingManager</a> Interface</h2>
143
143
represents the initial entry point for getting access to the mobile messaging
144
144
services, i.e. SMS and MMS.
145
145
146
- < dl title ="[NoInterfaceObject] interface MessagingManager " class ="idl ">
146
+ < dl title ="interface MessagingManager " class ="idl ">
147
147
148
148
< dt > readonly attribute SmsManager sms</ dt > < dd > Provides access to the
149
149
SMS service's specific functionality.</ dd >
@@ -436,7 +436,7 @@ <h2><a>SmsManager</a> Interface</h2>
436
436
< p > The < a > SmsManager</ a > interface represents the SMS messaging service
437
437
manager.
438
438
439
- < dl title ="[NoInterfaceObject] interface SmsManager : EventTarget "
439
+ < dl title ="interface SmsManager : EventTarget "
440
440
class ="idl ">
441
441
442
442
< dt > readonly attribute MessageType type</ dt > < dd > MUST return the type of the
@@ -447,7 +447,7 @@ <h2><a>SmsManager</a> Interface</h2>
447
447
identifier of the different services for this type of messaging service
448
448
(e.g. 'sms_sim1').</ dd >
449
449
450
- < dt > SmsSegmentInfo getSegmentInfoForText ()</ dt >
450
+ < dt > SmsSegmentInfo segmentInfo ()</ dt >
451
451
< dd > This method returns an < code > SmsSegmentInfo</ code > object including
452
452
information on the number of concatenated SMS segments needed to send the
453
453
text in the < code > text</ code > parameter, the number of characters available
@@ -608,7 +608,7 @@ <h3>Steps</h3>
608
608
</ ol >
609
609
</ ol >
610
610
611
- < p > The < dfn > < code > getSegmentInfoForText </ code > </ dfn > method when invoked MUST
611
+ < p > The < dfn > < code > segmentInfo </ code > </ dfn > method when invoked MUST
612
612
return a < code > SmsSegmentInfo</ code > object that contains the following
613
613
elements:
614
614
< ol >
@@ -793,23 +793,23 @@ <h2>Event handlers</h2>
793
793
794
794
<!------------------------ Interface SmsSegmentInfo -------------------------->
795
795
< section >
796
- < h2 > < a > SmsSegmentInfo</ a > Interface </ h2 >
797
- < p > The < a > SmsSegmentInfo</ a > interface contains information about the
796
+ < h2 > < a > SmsSegmentInfo</ a > Dictionary </ h2 >
797
+ < p > The < a > SmsSegmentInfo</ a > dictionary contains information about the
798
798
segmentation of a given text to be sent as SMS.
799
- < dl title ="[NoInterfaceObject] interface SmsSegmentInfo "
799
+ < dl title ="dictionary SmsSegmentInfo "
800
800
class ="idl ">
801
- < dt > readonly attribute long segments</ dt >
801
+ < dt > long segments</ dt >
802
802
< dd > MUST return the total number of SMS segments needed to send the input
803
803
string, taking into account the encoding to be used to send such message as
804
804
well as the overhead associated to concatenated SMS messages.</ dd >
805
805
806
- < dt > readonly attribute long charsPerSegment</ dt >
806
+ < dt > long charsPerSegment</ dt >
807
807
< dd > MUST return the number of characters available per SMS segment as per
808
808
the encoding to be used to send the SMS message. In case the variable length
809
809
encoding, the value of this element MUST be calculated asumming the minimum
810
810
length for all the characters.</ dd >
811
811
812
- < dt > readonly attribute long charsAvailableInLastSegment</ dt >
812
+ < dt > long charsAvailableInLastSegment</ dt >
813
813
< dd > MUST return the maximum number of available characters in the last
814
814
segment needed to send the input string. In case the variable length
815
815
encoding, the value of this element MUST be calculated asumming the minimum
@@ -825,7 +825,7 @@ <h2><a>MmsManager</a> Interface</h2>
825
825
< p > The < a > MmsManager</ a > interface represents the MMS messaging service
826
826
manager.
827
827
828
- < dl title ="[NoInterfaceObject] interface MmsManager : EventTarget "
828
+ < dl title ="interface MmsManager : EventTarget "
829
829
class ="idl ">
830
830
831
831
< dt > readonly attribute MessageType type</ dt > < dd > MUST return the type of the
@@ -1308,7 +1308,7 @@ <h2><a>SmsMessage</a> Interface</h2>
1308
1308
< p > The < a > SmsMessage</ a > interface represents an SMS message as defined in
1309
1309
[[!GSM-SMS]]. This interface is not intended to represent binary SMS, which
1310
1310
are out of the scope of this API.
1311
- < dl title ="[NoInterfaceObject] interface SmsMessage "
1311
+ < dl title ="interface SmsMessage "
1312
1312
class ="idl ">
1313
1313
< dt > readonly attribute DOMString messageID</ dt >
1314
1314
< dd > MUST return the identifier of the message.</ dd >
@@ -1348,11 +1348,9 @@ <h2><a>SmsMessage</a> Interface</h2>
1348
1348
< dd > MUST return the delivery status of the SMS message.
1349
1349
</ dd >
1350
1350
1351
- < dt > readonly attribute DOMString messageClass</ dt >
1352
- < dd > MUST return the SMS message class, with possible values: 'class-0',
1353
- 'class-1', 'class-2', 'class-3' or 'normal' (same as 'class-1'), according
1354
- to the value indicated in the TP-Data-Coding-Scheme (TP-DCS) field of the
1355
- SMS.</ dd >
1351
+ < dt > readonly attribute MessageClass messageClass</ dt >
1352
+ < dd > MUST return the SMS message class, according to the value indicated in
1353
+ the TP-Data-Coding-Scheme (TP-DCS) field of the SMS.</ dd >
1356
1354
1357
1355
</ dl >
1358
1356
</ section >
@@ -1362,7 +1360,7 @@ <h2><a>SmsMessage</a> Interface</h2>
1362
1360
< h2 > < a > MmsMessage</ a > Interface</ h2 >
1363
1361
< p > The < a > MmsMessage</ a > interface represents an MMS message, as defined in
1364
1362
[[!MMS13]].
1365
- < dl title ="[NoInterfaceObject] interface MmsMessage "
1363
+ < dl title ="interface MmsMessage "
1366
1364
class ="idl ">
1367
1365
< dt > readonly attribute DOMString messageID</ dt >
1368
1366
< dd > MUST return the identifier of the message.</ dd >
@@ -1425,33 +1423,33 @@ <h2><a>MmsMessage</a> Interface</h2>
1425
1423
< section >
1426
1424
< h2 > < a > MmsContent</ a > Dictionary</ h2 >
1427
1425
< dl title ="dictionary MmsContent " class ="idl ">
1428
- < dt > optional attribute DOMString subject</ dt >
1426
+ < dt > DOMString subject</ dt >
1429
1427
< dd > Indicates the subject of the MMS message, corresponding to the
1430
1428
'Subject' field of the MMS message.</ dd >
1431
1429
1432
- < dt > optional DOMString[] to</ dt >
1430
+ < dt > DOMString[] to</ dt >
1433
1431
< dd > Indicates the recipient(s) included in the 'To' field of the MMS
1434
1432
message.
1435
1433
There MUST be at least one recipient in any of the < code > to</ code > ,
1436
1434
< code > cc</ code > or < code > bcc</ code > attributes.</ dd >
1437
1435
1438
- < dt > optional DOMString[] cc</ dt >
1436
+ < dt > DOMString[] cc</ dt >
1439
1437
< dd > Indicates the recipient(s) included in the 'Cc' field of the MMS
1440
1438
message.
1441
1439
There MUST be at least one recipient in any of the < code > to</ code > ,
1442
1440
< code > cc</ code > or < code > bcc</ code > attributes.</ dd >
1443
1441
1444
- < dt > optional DOMString[] bcc</ dt >
1442
+ < dt > DOMString[] bcc</ dt >
1445
1443
< dd > Indicates the recipient(s) included in the 'Bcc' field of the MMS
1446
1444
message.
1447
1445
There MUST be at least one recipient in any of the < code > to</ code > ,
1448
1446
< code > cc</ code > or < code > bcc</ code > attributes.</ dd >
1449
1447
1450
- < dt > optional DOMString smil</ dt >
1448
+ < dt > DOMString smil</ dt >
1451
1449
< dd > Contains the SMIL component, i.e. the presentation element that
1452
1450
determines the way the content of the MMS message MUST be displayed.</ dd >
1453
1451
1454
- < dt > optional MmsAttachment[] attachments</ dt >
1452
+ < dt > MmsAttachment[] attachments</ dt >
1455
1453
< dd > Contains the set of attachments of the MMS message.</ dd >
1456
1454
</ dl >
1457
1455
</ section >
@@ -1461,14 +1459,14 @@ <h2><a>MmsContent</a> Dictionary</h2>
1461
1459
< section >
1462
1460
< h2 > < a > MmsAttachment</ a > Dictionary</ h2 >
1463
1461
< dl title ="dictionary MmsAttachment " class ="idl ">
1464
- < dt > optional DOMString contentID</ dt >
1462
+ < dt > DOMString contentID</ dt >
1465
1463
< dd >
1466
1464
The Content-ID parameter that MAY be used to refer to the attachment from
1467
1465
the SMIL presentation object as described in [[!MMS13]] and [[!MIME-ENC]].
1468
1466
At least one of contentID and contentLocation MUST be specified if the
1469
1467
MMS Message contains an SMIL presentation object.
1470
1468
</ dd >
1471
- < dt > optional DOMString contentLocation</ dt >
1469
+ < dt > DOMString contentLocation</ dt >
1472
1470
< dd >
1473
1471
The Content-Location parameter that MAY be used to refer to the attachment
1474
1472
from the SMIL presentation object as described in [[!MMS13]] and
@@ -1491,7 +1489,7 @@ <h2><a>Conversation</a> Interface</h2>
1491
1489
< p > The < a > Conversation</ a > interface represents a set of messages that are
1492
1490
grouped together either because they are exchanged among the same set of
1493
1491
participants or because they have the same subject.
1494
- < dl title ="[NoInterfaceObject] interface Conversation "
1492
+ < dl title ="interface Conversation "
1495
1493
class ="idl ">
1496
1494
< dt > readonly attribute DOMString conversationID</ dt >
1497
1495
< dd > MUST return the identifier of the conversation, which is globally unique
@@ -1551,7 +1549,7 @@ <h2><a>MessagingCursor</a> Interface</h2>
1551
1549
retrieved, the < a > associated request</ a > 's < code > readyState</ code > must be set
1552
1550
to 'done' and the < code > result</ code > must point to the cursor. If no element
1553
1551
was found, the cursor's < code > element</ code > property must return null.</ p >
1554
- < dl title ="[NoInterfaceObject] interface MessagingCursor "
1552
+ < dl title ="interface MessagingCursor "
1555
1553
class ="idl ">
1556
1554
< dt > readonly attribute any? element</ dt >
1557
1555
< dd >
@@ -1636,7 +1634,7 @@ <h2><a>DeliveryReport</a> Interface</h2>
1636
1634
< h2 > < a > MessagingEvent</ a > Interface</ h2 >
1637
1635
< p > The < a > MessagingEvent</ a > interface represents events related to a message
1638
1636
sent or received.
1639
- < dl title ="[NoInterfaceObject] interface MessagingEvent : ProgressEvent "
1637
+ < dl title ="interface MessagingEvent : ProgressEvent "
1640
1638
class ="idl ">
1641
1639
< dt > readonly attribute (SmsMessage or MmsMessage) message</ dt >
1642
1640
< dd > MUST return the < code > SmsMessage</ code > or < code > MmsMessage</ code >
@@ -1650,7 +1648,7 @@ <h2><a>MessagingEvent</a> Interface</h2>
1650
1648
< h2 > < a > DeliveryReportEvent</ a > Interface</ h2 >
1651
1649
< p > The < a > DeliveryReportEvent</ a > interface represents events related
1652
1650
to a delivery report of a sent message.
1653
- < dl title ="[NoInterfaceObject] interface DeliveryReportEvent : Event "
1651
+ < dl title ="interface DeliveryReportEvent : Event "
1654
1652
class ="idl ">
1655
1653
< dt > readonly attribute DOMString serviceID</ dt >
1656
1654
< dd > MUST return the identifier of the service used to send the message to
@@ -1676,7 +1674,7 @@ <h2><a>DeliveryReportEvent</a> Interface</h2>
1676
1674
< h2 > < a > ServiceChangeEvent</ a > Interface</ h2 >
1677
1675
< p > The < a > ServiceChangeEvent</ a > interface represents events related to
1678
1676
messaging services enabled or disabled.
1679
- < dl title ="[NoInterfaceObject] interface ServiceChangeEvent : Event "
1677
+ < dl title ="interface ServiceChangeEvent : Event "
1680
1678
class ="idl ">
1681
1679
< dt > readonly attribute DOMString serviceID</ dt >
1682
1680
< dd > MUST return the identifier of the messaging service which is enabled or
@@ -1738,7 +1736,7 @@ <h2><a>FilterOptions</a> Dictionary</h2>
1738
1736
<dt>DOMString sortBy</dt>
1739
1737
<dd>Indicates the attribute on which the filtered messages are sorted.</dd>
1740
1738
1741
- <dt>optional DOMString sortOrder</dt>
1739
+ <dt>DOMString sortOrder</dt>
1742
1740
<dd>Indicates the order on which the filtered messages are sorted with
1743
1741
possible values 'ascending' and 'descending'.</dd>
1744
1742
@@ -1838,6 +1836,34 @@ <h2>Enumerations</h2>
1838
1836
</ dd >
1839
1837
</ dl >
1840
1838
1839
+ < p > The attibute < code > messageClass</ code > in an < code > SmsMessage</ code > can have
1840
+ the following values:
1841
+ < dl class ="idl " title ="enum MessageClass ">
1842
+ < dt > class-0</ dt >
1843
+ < dd >
1844
+ The message is of class 0.
1845
+ </ dd >
1846
+
1847
+ < dt > class-1</ dt >
1848
+ < dd >
1849
+ The message is of class 1.
1850
+ </ dd >
1851
+
1852
+ < dt > class-2</ dt >
1853
+ < dd >
1854
+ The message is of class 2.
1855
+ </ dd >
1856
+
1857
+ < dt > class-3</ dt >
1858
+ < dd >
1859
+ The message is of class 3.
1860
+ </ dd >
1861
+
1862
+ < dt > normal</ dt >
1863
+ < dd >
1864
+ The message is of class 1 (same as 'class-1').
1865
+ </ dd >
1866
+ </ dl >
1841
1867
< p > The attibute < code > state</ code > in an < code > SmsMessage</ code > can have
1842
1868
the following values:
1843
1869
< dl class ="idl " title ="enum SmsState ">
0 commit comments