Symbian3/PDK/Source/GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 02 Jul 2010 12:51:36 +0100
changeset 11 5072524fcc79
parent 5 f345bda72bc4
child 14 578be2adaf3e
permissions -rw-r--r--
Fixing terminology

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D" xml:lang="en"><title>Configuring
Per-Bearer-Type Download Rules</title><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>This tutorial explains how to configure the download rules. </p>
<note> Before configuring the download rules, see <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita#GUID-24860917-0FE2-5C8F-B436-96928350996E/GUID-CC4028E7-ECD9-5045-9057-5BC687C3DF3A">Important considerations</xref>.</note>
<section><title>Procedure</title> <ol id="GUID-C3107EB3-A2FC-5FAF-AE44-D53D48447894">
<li id="GUID-44E7BA5E-DFAD-5BD4-B5DD-8665F688BDAC"><p>Create an instance of
the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> class. </p> </li>
<li id="GUID-1F9B118B-43CE-5000-A3C4-234FAF732DC7"><p>Create an instance of
the <xref href="GUID-9CAB9BE5-7233-3A01-A906-756177CF4460.dita"><apiname>CImIAPPreferences</apiname></xref> class that has to be used by the
email service. </p> </li>
<li id="GUID-2E33CC4E-CA01-5235-83E8-069AAFA67F02"><p>Create an instance of
the <xref href="GUID-55F11633-988C-39D5-ADE7-23C4966FD995.dita"><apiname>CImImap4Settings</apiname></xref> class. </p> </li>
<li id="GUID-41B4E5FF-41D1-52B6-881A-E8D9DE8B3266"><p>Populate the <xref href="GUID-9CAB9BE5-7233-3A01-A906-756177CF4460.dita"><apiname>CImIAPPreferences</apiname></xref> class
and the <xref href="GUID-55F11633-988C-39D5-ADE7-23C4966FD995.dita"><apiname>CImImap4Settings</apiname></xref> class from the central repository
using <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-6B2FEE89-0DC1-3A2F-BE4A-6E14E8F2C031"><apiname>CEmailAccounts::PopulateDefaultImapSettingsL</apiname></xref> function. </p> </li>
<li id="GUID-85D5046A-1E0C-56DD-8B1F-926E4DE607F6"><p>Use the <xref href="GUID-05C509ED-8BF0-321D-9C74-BFD13F233879.dita#GUID-05C509ED-8BF0-321D-9C74-BFD13F233879/GUID-582312E1-3CFC-3775-A39B-608271EB92EA"><apiname>CImImapSettings::SetUseDownloadSyncRules</apiname></xref> function,
and set the <xref href="GUID-4B942C06-1BAC-3A21-B3B1-89FB5C51ADA0.dita"><apiname>TBool</apiname></xref> parameter to either of the following
value: </p> <ul>
<li id="GUID-64DC78C0-3773-59B6-9FCD-D00A2308F398"><p> <codeph>ETrue</codeph> to
enable download rules. </p> </li>
<li id="GUID-456E4900-0D77-579E-9E86-E103565D0F0F"><p> <codeph>EFalse</codeph> to
disable download rules. </p> </li>
</ul> </li>
<li id="GUID-8126E421-FC55-4DCD-988E-D5A3163FCFAA"><p>Store the updated settings
classes to central repository (CenRep) using the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-F1368103-522C-3CFD-9448-0C7000CFEC3C"><apiname>CEmailAccounts::SaveImapSyncDownloadRulesL()</apiname></xref> function.</p></li>
</ol> </section>
<section><title>See also</title> <p> <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita">Bearer
Mobility Overview</xref>  </p> </section>
</conbody></concept>