2009/dap/messaging Overview.html,1.11,1.12

Update of /sources/public/2009/dap/messaging
In directory hutz:/tmp/cvs-serv10674

Modified Files:
	Overview.html 
Log Message:
Decisions from the f2f:
- messagingType -> type
- Message inherits from MessageProperties, not implements
- sent and received timestamps
- optional error callback


Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/messaging/Overview.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Overview.html	25 Mar 2010 16:30:46 -0000	1.11
+++ Overview.html	25 Mar 2010 16:45:21 -0000	1.12
@@ -192,7 +192,7 @@
       	<section>
 			<h2><a>DeviceMessaging</a> interface</h2>
 			<p>
-				The <a href='#devicemessaging-interface'><code>DeviceMessaging</code></a>object is exposed on the <code>navigator.device</code> object, as defined in [[CORE_DEVICE]]. 
+				The <a href='#devicemessaging-interface'>DeviceMessaging</a> object is exposed on the <code>navigator.device</code> object, as defined in [[CORE_DEVICE]]. 
 			</p>
 			
 			<div class='idl' title='Device implements DeviceMessaging'></div>
@@ -256,12 +256,12 @@
 					
 				
 					
-				<dt>int subscribe (in unsigned short messagingType, in OnIncomingSMS smsEventCB)</dt>
+				<dt>int subscribe (in unsigned short type, in OnIncomingSMS smsEventCB)</dt>
 					<dd>
 						Registers the page to be notified on incoming new messages. The function call returns a handle to the  subscription
 						<dl class='parameters'>
 							<dt>
-								unsigned short messagingType
+								unsigned short type
 							</dt>
 							<dd>
 								The type of messaging events (e.g. SMS, MMS or email) to listen to. 
@@ -299,7 +299,7 @@
 			<p>
 				This interface describes generic functionality of message. 
 			</p>
-			<dl title='[NoInterfaceObject] interface Message implements MessageProperties' class='idl'>
+			<dl title='[NoInterfaceObject] interface Message : MessageProperties' class='idl'>
 				<dt>const unsigned short SMS_TYPE = 1</dt>
 					<dd>
 						Constant to indicate messages of type SMS. 
@@ -312,28 +312,30 @@
 					<dd>
 						Constant to indicate messages of type email. 
 					</dd>
-        <dt>readonly attribute unsigned short type</dt>
-          <dd>
-            The type of message. This attribute must take a value
-            among the constants defined in this interface.
-          </dd>
 				<dt> readonly attribute DOMString id </dt>
 				<dd> 
 					System set read-only unique identifier to assigned to the message by the platform. 
 				</dd>
 				<dt>
-					readonly attribute Date timestamp
+					readonly attribute Date sent
 				</dt>
 				<dd>
-					A readonly time stamp indicating when the message was sent, edited or recieved. Interpretation of datetime depends on what message folder the message is found in. 
+					A readonly time stamp indicating when the message was sent.
 				</dd>
 				<dt>
-					readonly attribute unsigned short messagingType
+					readonly attribute Date received
 				</dt>
 				<dd>
-					The type of the message.
+					A readonly time stamp indicating when the message was received.
 				</dd>
-				<dt>PendingOp send (in SuccessCallback successCB, [optional] in ErrorCallback errorCB)</dt>
+				<dt>
+					readonly attribute unsigned short type
+				</dt>
+				<dd>
+					The type of the message. This attribute must take a value
+					among the constants defined in this interface.
+				</dd>
+				<dt>PendingOp send ()</dt>
 					<dd>
 						Sends the message. The success function is called when the message has been sent, to the implementation it means that the message has been placed in the Outgoing Messages folder. The <code>pendingOp</code> return object allows canceling the sending of the message. 
 						<dl class='parameters'>
@@ -345,7 +347,7 @@
 							</dd>
 							
 							<dt>
-								ErrorCallback errorCB
+								optional ErrorCallback errorCB
 							</dt>
 							<dd>
 							</dd>

Received on Thursday, 25 March 2010 16:45:32 UTC