diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-ABF4EC7E-557F-4C6D-8B2C-F734A0BBC082.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-ABF4EC7E-557F-4C6D-8B2C-F734A0BBC082.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,93 @@ + + +Criteria for +change notifications

Criteria for +change notifications

+

+

The criteria object specifies the system attribute to +monitor for changes.

+

The criteria object has a three properties: Entity, Key, +and SystemData. These are described in the following +table. Properties enclosed in brackets are optional.

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria object properties
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Entity

+
+

Specifies the entity of the system attribute.

+

Together with Key, this specifies the system attribute +to monitor.

+

For more information about entities, see section System attributes.

+
+

string

+
+

For a complete list of supported entities, see section Supported system attributes (entities and keys).

+

For example: "Battery"

+
+

criteria.Key

+
+

Specifies the key of the system attribute. The available keys depend +on the entity.

+

Together with Entity, this specifies the system +attribute to monitor.

+

For more information about keys, see section System attributes.

+
+

string

+
+

For a complete list of supported keys per entity, see the Key column +of the tables in section Supported system attributes (entities and keys).

+

For example: "BatteryStrength"

+
+

[criteria.SystemData]

+
+

Specifies the value of the system attribute.

+

Some system attributes require this property as input for GetNotification. To find out which attributes, see the Input column of the +tables in section Supported system attributes (entities and keys).

+

The SystemData object has one or more properties +that together represent the system attribute value. The exact set of properties +depends on the system attribute (specifically, on the system data type used +for input).

+

For more information about system attribute values, see sections Supported system attributes (entities and keys).

+
+

object

+
+

The object properties depend on the system attribute. See the Input column +cell for the appropriate system attribute in section Supported system attributes (entities and keys).

+

For example, the Battery - BatteryStrength system +attribute takes Status information as input for GetNotification:

+

SystemData.Status = 50

+
\ No newline at end of file