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

Commit ed30313

Browse files
author
Eduardo Fullea
committed
Adding fetch modes 'never' and 'automatic-home' #69
1 parent d09db28 commit ed30313

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

index.html

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -868,12 +868,10 @@ <h2><a>MmsManager</a> Interface</h2>
868868
</dd>
869869

870870
<dt>void setFetchMode ()</dt>
871-
<dd>This method issues a request to the messaging system to set to <a
872-
class="internalDFN" href="#idl-def-FetchMode.manual">manual</a>
873-
or <a class="internalDFN" href="#idl-def-FetchMode.automatic">automatic</a>
874-
the MMS message fetch mode of the specific service, the one identified by
875-
the <code>serviceID</code> attribute, if provided, or all services
876-
otherwise).
871+
<dd>This method issues a request to the messaging system to set the MMS
872+
message fetch mode for the service identified by the <code>serviceID</code>
873+
attribute, if provided, or for all services otherwise, to the mode indicated
874+
in the <code>fetchMode</code> attribute.
877875
<dl class='parameters'>
878876
<dt>FetchMode fetchMode</dt>
879877
<dd>
@@ -1078,7 +1076,10 @@ <h3>Steps</h3>
10781076
identifier of the service at which the message has been received.
10791077
<li>Set the <code>read</code> of the <code>MmsMessage</code> to 'false'.
10801078
<li>if the fetch mode is <a class="internalDFN"
1081-
href="#idl-def-FetchMode.manual">manual</a>:
1079+
href="#idl-def-FetchMode.manual">manual</a>, <a class="internalDFN"
1080+
href="#idl-def-FetchMode.never">never</a> or the device is not in the home
1081+
network and the the fetch mode is <a class="internalDFN"
1082+
href="#idl-def-FetchMode.automatic-home">automatic-home</a>:
10821083
<ol>
10831084
<li>Set the <code>from</code> of the <code>MmsMessage</code> to the
10841085
value of the 'From' field of the MMS notification, if present.
@@ -1104,7 +1105,9 @@ <h3>Steps</h3>
11041105
'not-downloaded'.
11051106
</ol>
11061107
<li>if the fetch mode is otherwise <a class="internalDFN"
1107-
href="#idl-def-FetchMode.automatic">automatic</a>:
1108+
href="#idl-def-FetchMode.automatic">automatic</a> or the device is in the
1109+
home network and the the fetch mode is <a class="internalDFN"
1110+
href="#idl-def-FetchMode.automatic-home">automatic-home</a>:
11081111
<ol>
11091112
<li>Make a request to the system to fetch the MMS message from the URL
11101113
indicated in the X-Mms-Content-Location field of the MMS notification.
@@ -1164,7 +1167,8 @@ <h3>Steps</h3>
11641167

11651168
<p> The <dfn><code>fetch</code></dfn> method can be invoked to fetch an MMS
11661169
message that has not been automatically fetched upon receiving the
1167-
corresponding MMS notification due to the fetch mode being manual. When this
1170+
corresponding MMS notification, e.g. due to the fetch mode being <a
1171+
class="internalDFN" href="#idl-def-FetchMode.manual">manual</a>. When this
11681172
method is invoked the User Agent MUST run the following steps:
11691173
<ol>
11701174
<li>If the <code>messageID</code> parameter passed in the request matches
@@ -1956,11 +1960,25 @@ <h2>Enumerations</h2>
19561960
notification.
19571961
</dd>
19581962

1963+
<dt>automatic-home</dt>
1964+
<dd>
1965+
MMS message is fecthed right after the reception of the MMS
1966+
notification if the device is located in the home network, i.e.
1967+
not roaming, otherwise the message will be fetched upon the device
1968+
entering in the home network again or the user manually requesting
1969+
it.
1970+
</dd>
1971+
19591972
<dt>manual</dt>
19601973
<dd>
19611974
The message is not fecthed until the user manually requests it.
19621975
</dd>
19631976

1977+
<dt>never</dt>
1978+
<dd>
1979+
MMS message retrieval is completely disabled.
1980+
</dd>
1981+
19641982
</dl>
19651983

19661984
</section>

0 commit comments

Comments
 (0)