@@ -850,12 +850,11 @@ <h2><a>MmsManager</a> Interface</h2>
850
850
identifier of the different services for this type of messaging service
851
851
(e.g. 'sms_sim1').</ dd >
852
852
853
- < dt > DOMString getFetchMode ()</ dt >
853
+ < dt > FetchMode getFetchMode ()</ dt >
854
854
< dd > This method requests to retrieve the fetch mode associated to a specific
855
855
service (the one identified by the < code > serviceID</ code > attribute, if
856
856
provided, or the first element in the < code > serviceIDs</ code > attribute of
857
- the < code > MmsManager</ code > otherwise). It can have one of the following
858
- values: 'manual' or 'automatic'.
857
+ the < code > MmsManager</ code > otherwise).
859
858
< dl class ='parameters '>
860
859
< dt > optional DOMString serviceID</ dt >
861
860
< dd >
@@ -865,15 +864,16 @@ <h2><a>MmsManager</a> Interface</h2>
865
864
</ dd >
866
865
867
866
< dt > void setFetchMode ()</ dt >
868
- < dd > This method issues a request to the messaging system to set to 'manual'
869
- or 'automatic' the MMS message fetch mode of the specific service, the one
870
- identified by the < code > serviceID</ code > attribute, if provided, or all
871
- services otherwise).
867
+ < dd > This method issues a request to the messaging system to set to < a
868
+ class ="internalDFN " href ="#idl-def-FetchMode.manual "> manual</ a >
869
+ or < a class ="internalDFN " href ="#idl-def-FetchMode.automatic "> automatic</ a >
870
+ the MMS message fetch mode of the specific service, the one identified by
871
+ the < code > serviceID</ code > attribute, if provided, or all services
872
+ otherwise).
872
873
< dl class ='parameters '>
873
- < dt > DOMString fetchMode</ dt >
874
+ < dt > FetchMode fetchMode</ dt >
874
875
< dd >
875
- Fetch mode that is requested to be set for a specific service. The
876
- allowed values for this attribute are 'manual' and 'automatic'.
876
+ Fetch mode that is requested to be set for a specific service.
877
877
</ dd >
878
878
< dt > optional DOMString serviceID</ dt >
879
879
< dd >
@@ -1077,7 +1077,8 @@ <h3>Steps</h3>
1077
1077
< li > Set the < code > serviceID</ code > of the < code > MmsMessage</ code > to the
1078
1078
identifier of the service at which the message has been received.
1079
1079
< li > Set the < code > read</ code > of the < code > MmsMessage</ code > to 'false'.
1080
- < li > if the fetch mode is manual:
1080
+ < li > if the fetch mode is < a class ="internalDFN "
1081
+ href ="#idl-def-FetchMode.manual "> manual</ a > :
1081
1082
< ol >
1082
1083
< li > Set the < code > from</ code > of the < code > MmsMessage</ code > to the
1083
1084
value of the 'From' field of the MMS notification, if present.
@@ -1099,7 +1100,8 @@ <h3>Steps</h3>
1099
1100
< li > Set the < code > state</ code > of the < code > MmsMessage</ code > to
1100
1101
'not-downloaded'.
1101
1102
</ ol >
1102
- < li > if the fetch mode is otherwise automatic:
1103
+ < li > if the fetch mode is otherwise < a class ="internalDFN "
1104
+ href ="#idl-def-FetchMode.automatic "> automatic</ a > :
1103
1105
< ol >
1104
1106
< li > Make a request to the system to fetch the MMS message from the URL
1105
1107
indicated in the X-Mms-Content-Location field of the MMS notification.
@@ -1166,8 +1168,8 @@ <h3>Steps</h3>
1166
1168
handler</ a > of the < code > MessagingRequest</ code > object.
1167
1169
< li > When the request has been completed:
1168
1170
< ol >
1169
- < li > Run the < a href ="#dfn-fill-mms-message "> steps for filling the
1170
- < code > MmsMessage</ code > object with the data contained in the MMS message</ a > .
1171
+ < li > Run the < a class =" internalDFN " href ="#dfn-fill-mms-message "> steps for filling the
1172
+ MmsMessage object with the data contained in the MMS message</ a > .
1171
1173
< li > Set the < code > readyState</ code > of the
1172
1174
< code > MessagingRequest</ code > object to 'done'.
1173
1175
< li > Set the < code > result</ code > of the < code > MessagingRequest</ code >
@@ -1974,6 +1976,21 @@ <h2>Enumerations</h2>
1974
1976
</ dd >
1975
1977
</ dl >
1976
1978
1979
+ < p > The MMS fetch mode can have the following values:
1980
+ < dl class ="idl " title ="enum FetchMode ">
1981
+ < dt > automatic</ dt >
1982
+ < dd >
1983
+ MMS message is fecthed right after the reception of the MMS
1984
+ notification.
1985
+ </ dd >
1986
+
1987
+ < dt > manual</ dt >
1988
+ < dd >
1989
+ The message is not fecthed until the user manually requests it.
1990
+ </ dd >
1991
+
1992
+ </ dl >
1993
+
1977
1994
</ section >
1978
1995
1979
1996
0 commit comments