Symbian3/PDK/Source/GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-6E50BB39-A7F2-5A35-99D5-7F086BF2654D" xml:lang="en"><title>Configuring
       
    13 Per-Bearer-Type Download Rules</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <p>This tutorial explains how to configure the download rules. </p>
       
    15 <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>
       
    16 <section><title>Procedure</title> <ol id="GUID-C3107EB3-A2FC-5FAF-AE44-D53D48447894">
       
    17 <li id="GUID-44E7BA5E-DFAD-5BD4-B5DD-8665F688BDAC"><p>Create an instance of
       
    18 the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> class. </p> </li>
       
    19 <li id="GUID-1F9B118B-43CE-5000-A3C4-234FAF732DC7"><p>Create an instance of
       
    20 the <xref href="GUID-9CAB9BE5-7233-3A01-A906-756177CF4460.dita"><apiname>CImIAPPreferences</apiname></xref> class that has to be used by the
       
    21 email service. </p> </li>
       
    22 <li id="GUID-2E33CC4E-CA01-5235-83E8-069AAFA67F02"><p>Create an instance of
       
    23 the <xref href="GUID-55F11633-988C-39D5-ADE7-23C4966FD995.dita"><apiname>CImImap4Settings</apiname></xref> class. </p> </li>
       
    24 <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
       
    25 and the <xref href="GUID-55F11633-988C-39D5-ADE7-23C4966FD995.dita"><apiname>CImImap4Settings</apiname></xref> class from the central repository
       
    26 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>
       
    27 <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,
       
    28 and set the <xref href="GUID-4B942C06-1BAC-3A21-B3B1-89FB5C51ADA0.dita"><apiname>TBool</apiname></xref> parameter to either of the following
       
    29 value: </p> <ul>
       
    30 <li id="GUID-64DC78C0-3773-59B6-9FCD-D00A2308F398"><p> <codeph>ETrue</codeph> to
       
    31 enable download rules. </p> </li>
       
    32 <li id="GUID-456E4900-0D77-579E-9E86-E103565D0F0F"><p> <codeph>EFalse</codeph> to
       
    33 disable download rules. </p> </li>
       
    34 </ul> </li>
       
    35 <li id="GUID-8126E421-FC55-4DCD-988E-D5A3163FCFAA"><p>Store the updated settings
       
    36 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>
       
    37 </ol> </section>
       
    38 <section><title>See also</title> <p> <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita">Bearer
       
    39 Mobility Overview</xref>  </p> </section>
       
    40 </conbody></concept>