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

Commit 83f84b5

Browse files
author
Eduardo Fullea
committed
Renaming recipient and sender. Issue #3
1 parent 11a0c94 commit 83f84b5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -534,14 +534,14 @@ <h3>Steps</h3>
534534
<li>set the <code>type</code> of the <code>SmsMessage</code> to 'sms'
535535
<li>set the <code>serviceID</code> of the <code>SmsMessage</code> to the
536536
identifier of the service at which the message has been received.
537-
<li>set the <code>sender</code> of the <code>SmsMessage</code> to the
537+
<li>set the <code>from</code> of the <code>SmsMessage</code> to the
538538
sender of the SMS message, i.e. the value of the TP Originating Address
539539
(TP-OA) field of the SMS message
540540
<li>set the <code>timestamp</code> of the <code>SmsMessage</code> to the
541541
timestamp of the SMS message, i.e. the value if the TP Service Centre
542542
Time Stamp (TP-SCTS) field of the SMS message
543543
<li>set the <code>read</code> of the <code>SmsMessage</code> to 'false'
544-
<li>set the <code>recipient</code> of the <code>SmsMessage</code> to the
544+
<li>set the <code>to</code> of the <code>SmsMessage</code> to the
545545
recipient of the SMS message, i.e. the value of the TP Destination
546546
Address (TP-DA) field of the SMS message
547547
<li>set the <code>messageClass</code> of the <code>SmsMessage</code> to
@@ -568,7 +568,7 @@ <h3>Steps</h3>
568568
<li>set the <code>type</code> of the <code>MmsMessage</code> to 'mms'
569569
<li>set the <code>serviceID</code> of the <code>MmsMessage</code> to the
570570
identifier of the service at which the message has been received.
571-
<li>set the <code>sender</code> of the <code>MmsMessage</code> to the
571+
<li>set the <code>from</code> of the <code>MmsMessage</code> to the
572572
value of the 'From' field of the MMS message
573573
<li>set the <code>timestamp</code> of the <code>MmsMessage</code> to
574574
the value of the 'Date' field of the MMS message
@@ -806,10 +806,10 @@ <h3>Steps</h3>
806806
the <code>serviceID</code> parameter, if provided, or otherwise to the
807807
first element in the <code>serviceIDs</code> attribute of the
808808
<code>SmsManager</code>
809-
<li>set the <code>sender</code> of the <code>SmsMessage</code> to the
809+
<li>set the <code>from</code> of the <code>SmsMessage</code> to the
810810
number of the mobile subscription used to send this SMS message
811811
<li>set the <code>read</code> of the <code>SmsMessage</code> to 'true'
812-
<li>set the <code>recipient</code> of the <code>SmsMessage</code> to
812+
<li>set the <code>to</code> of the <code>SmsMessage</code> to
813813
the value of the <code>to</code> parameter
814814
<li>set the <code>body</code> of the <code>SmsMessage</code> to the value
815815
of the <code>text</code> parameter
@@ -1015,7 +1015,7 @@ <h3>Steps</h3>
10151015
the <code>serviceID</code> parameter, if provided, or otherwise to the
10161016
first element in the <code>serviceIDs</code> attribute of the
10171017
<code>MmsManager</code>.
1018-
<li>set the <code>sender</code> of the <code>MmsMessage</code> to the
1018+
<li>set the <code>from</code> of the <code>MmsMessage</code> to the
10191019
number of the mobile subscription used to send this MMS message
10201020
<li>set the <code>read</code> of the <code>MmsMessage</code> to 'true'
10211021
<li>set the <code>to</code> of the <code>MmsMessage</code> to the
@@ -1213,7 +1213,7 @@ <h2><a>Message</a> Interface</h2>
12131213
<dd>MUST return the messaging service id</a> used to send / receive this
12141214
message.</dd>
12151215

1216-
<dt>readonly attribute DOMString sender</dt>
1216+
<dt>readonly attribute DOMString from</dt>
12171217
<dd>MUST return the sender of the message, i.e. the TP Originating Address
12181218
(TP-OA) of the SMS message or the 'From' field of the MMS message.</dd>
12191219

@@ -1237,7 +1237,7 @@ <h2><a>SmsMessage</a> Interface</h2>
12371237
intended to represent binary SMS, which are out of the scope of this API.
12381238
<dl title="[NoInterfaceObject] interface SmsMessage : Message"
12391239
class="idl">
1240-
<dt>readonly attribute DOMString recipient</dt>
1240+
<dt>readonly attribute DOMString to</dt>
12411241
<dd>MUST return the recipient of the message, i.e. the TP Destination
12421242
Address (TP-DA) of the SMS message.</dd>
12431243

@@ -1551,7 +1551,7 @@ <h2><a>MessagingFilter</a> Interface</h2>
15511551
<dd>Indicates that messages with timestamp after this date will not be
15521552
provided in the results of this filter.</dd>
15531553

1554-
<dt>attribute DOMString? sender</dt>
1554+
<dt>attribute DOMString? from</dt>
15551555
<dd>Indicates that just messages sent from this number are to be provided in
15561556
the results of this filter.</dd>
15571557

0 commit comments

Comments
 (0)