diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-894E87F7-7146-44DD-8CAF-60F7C446B0D8.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-894E87F7-7146-44DD-8CAF-60F7C446B0D8.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,96 @@ + + +
Description:
+The RequestNotification
method registers the widget to receive notifications of changes to the event
+log.
This is an asynchronous method.
+Syntax:
+result = so.IDataSource.RequestNotification(criteria, callback);+ +
Arguments:
+criteria
:
This is an object that specifies the request for notification of changes +to the event log. For more information about the object properties and how +to define them, see section Criteria for requesting notification.
+ +callback
:
The callback
argument is the name of the method
+that is executed when an asynchronous RequestNotification
call
+has results or status information to return. You must define this method separately.
+Follow the instructions in section Defining the callback handler for an asynchronous method to
+define the callback
method.
Return value:
+The RequestNotification
method returns an object
+that contains a transaction ID for the callback
instance,
+an error code, and an error message (see the following table). When the asynchronous
+call has completed, callback
returns an object that contains
+an error code and an error message (see Table:
+Callback return value).
+ Property + |
+ Description + |
+ Value + |
---|---|---|
+
|
+
+ This is a number used as an identification to match transactions started
+with the asynchronous This property is only valid for asynchronous calls. + |
++ |
+
|
+
+ This is a number that specifies a predefined error code. + |
++ + | +
+
|
+
+ This is a text string that describes the error. + |
++ + | +
Example code:
+ +For the complete source of a sample widget +that demonstrates how to use this Service API, see the +full example.
+ + +