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

Commit 3ac612b

Browse files
author
Eduardo Fullea
committed
Merge pull request #62 from efullea/expiry
Exposing expiry time for MMS. Closes #55
2 parents 34ea815 + 1686e2c commit 3ac612b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,8 @@ <h3>Steps</h3>
10841084
notification, i.e. the value of the TP-Service-Centre-Time-Stamp
10851085
(TP-SCTS) parameter received in the SMS-DELIVER Protocol Data Unit
10861086
[[!GSM-SMS]].
1087+
<li>Set the <code>expiry</code> of the <code>MmsMessage</code> to the
1088+
value of the 'X-Mms-Expiry' field of the MMS notification.
10871089
<li>Add a new element in the <code>to</code> array of the
10881090
<code>MmsMessage</code> for each of recipients in the 'To' field of the
10891091
MMS notification [[!MMS13]], if present.
@@ -1400,6 +1402,11 @@ <h2><a>MmsMessage</a> Interface</h2>
14001402
<dd>MUST return the time the message was sent at, i.e. the 'Date' field of
14011403
the MMS message.</dd>
14021404

1405+
<dt>readonly attribute unsigned long? expiry</dt>
1406+
<dd>MUST return the number of seconds the message will be stored in the
1407+
Multimedia Messaging Service Center and thus available for download. This
1408+
time is calculated since the date the MMS Notification was sent.</dd>
1409+
14031410
<dt>readonly attribute boolean read</dt>
14041411
<dd>MUST return 'true' if the message has been marked as read, or 'false'
14051412
otherwise.</dd>

0 commit comments

Comments
 (0)