|
1 |
|
2 <!DOCTYPE html |
|
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for modifying a system attribute value"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-AEB26A58-1DE2-46CB-81EC-6DB3A477B7A3"/><meta name="DC.Relation" scheme="URI" content="GUID-4347A7F1-1560-4B28-B4A8-DC570864F505"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-13E5F1C9-D033-4260-AEE8-168F2622A147"/><title>Criteria for |
|
5 modifying a system attribute value </title><script type="text/javascript"> |
|
6 function initPage() {} |
|
7 </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-13E5F1C9-D033-4260-AEE8-168F2622A147"><span>Criteria</span> for |
|
8 modifying a system attribute value</h1><div> |
|
9 <p>The <code>criteria</code> object specifies the new value |
|
10 for the <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">system attribute</a>.</p> |
|
11 <p>The <code>criteria</code> object has three properties: <code>Entity</code>, <code>Key</code>, |
|
12 and <code>SystemData</code>. These are described in the following |
|
13 table.</p> |
|
14 <div class="tablenoborder"><a name="GUID-275A0FA2-70D9-4796-9074-10F91964B83A"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-275A0FA2-70D9-4796-9074-10F91964B83A" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption> |
|
15 |
|
16 <thead align="left"> |
|
17 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e68307"> |
|
18 <p>Property</p> |
|
19 </th><th class="cellrowborder" valign="top" width="25%" id="d0e68312"> |
|
20 <p>Description</p> |
|
21 </th><th class="cellrowborder" valign="top" width="25%" id="d0e68317"> |
|
22 <p>Type</p> |
|
23 </th><th class="cellrowborder" valign="top" width="25%" id="d0e68322"> |
|
24 <p>Value</p> |
|
25 </th></tr> |
|
26 </thead> |
|
27 <tbody> |
|
28 <tr class=""> |
|
29 <td class="cellrowborder" valign="top" width="25%" headers="d0e68307 "> |
|
30 <p><code>criteria.Entity</code></p> |
|
31 </td> |
|
32 <td class="cellrowborder" valign="top" width="25%" headers="d0e68312 "> |
|
33 <p>Specifies the entity of the system attribute.</p> |
|
34 <p>Together with <code>Key</code>, this specifies the system attribute |
|
35 to modify.</p> |
|
36 <p>For more information about entities, see section <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">System attributes</a>.</p> |
|
37 </td> |
|
38 <td class="cellrowborder" valign="top" width="25%" headers="d0e68317 "> |
|
39 <p>string</p> |
|
40 </td> |
|
41 <td class="cellrowborder" valign="top" width="25%" headers="d0e68322 "> |
|
42 <p>For a complete list of supported entities, see section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p> |
|
43 <p>For example: <code>"Display"</code></p> |
|
44 </td> |
|
45 </tr> |
|
46 <tr class="bg "> |
|
47 <td class="cellrowborder" valign="top" width="25%" headers="d0e68307 "> |
|
48 <p><code>criteria.Key</code></p> |
|
49 </td> |
|
50 <td class="cellrowborder" valign="top" width="25%" headers="d0e68312 "> |
|
51 <p>Specifies the key of the system attribute. The available keys depend |
|
52 on the entity.</p> |
|
53 <p>Together with <code>Entity</code>, this specifies the system |
|
54 attribute to modify.</p> |
|
55 <p>For more information about keys, see section <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">System attributes</a>.</p> |
|
56 </td> |
|
57 <td class="cellrowborder" valign="top" width="25%" headers="d0e68317 "> |
|
58 <p>string</p> |
|
59 </td> |
|
60 <td class="cellrowborder" valign="top" width="25%" headers="d0e68322 "> |
|
61 <p>For a complete list of supported keys per entity, see the <strong>Key</strong> column |
|
62 of the tables in section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p> |
|
63 <p>For example: <code>"Wallpaper"</code></p> |
|
64 </td> |
|
65 </tr> |
|
66 <tr class=""> |
|
67 <td class="cellrowborder" valign="top" width="25%" headers="d0e68307 "> |
|
68 <p><code>criteria.SystemData</code></p> |
|
69 </td> |
|
70 <td class="cellrowborder" valign="top" width="25%" headers="d0e68312 "> |
|
71 <p>Specifies the new value for the system attribute.</p> |
|
72 <p>The <code>SystemData</code> object has one or more properties |
|
73 that together represent the system attribute value. The exact set of properties |
|
74 depends on the system attribute (specifically, on the system data type used |
|
75 for input).</p> |
|
76 <p>For more information about system attribute values, see section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p> |
|
77 </td> |
|
78 <td class="cellrowborder" valign="top" width="25%" headers="d0e68317 "> |
|
79 <p>object</p> |
|
80 </td> |
|
81 <td class="cellrowborder" valign="top" width="25%" headers="d0e68322 "> |
|
82 <p>The object properties depend on the system attribute. See the <strong>Input</strong> column |
|
83 cell for the appropriate system attribute in section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p> |
|
84 <p>For example, the <code>Display - Wallpaper</code> system attribute |
|
85 takes <a href="GUID-4C79E511-1C1A-475D-BBBB-4F1F6D406340.html#GUID-441D3468-5504-4321-860D-A15B4CC4E278"><code>StringData</code></a> information |
|
86 as input for <code>SetInfo</code>:</p> |
|
87 <p><code>SystemData.StringData = "C://Data//Others//wallpaper.jpeg"</code></p> |
|
88 </td> |
|
89 </tr> |
|
90 </tbody> |
|
91 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |