Symbian3/SDK/Source/GUID-4860A4E6-1641-47D9-8243-C03779276C6D.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     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 task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-4860A4E6-1641-47D9-8243-C03779276C6D" xml:lang="en"><title>Retrieving
       
    13 the supported light targets of a device</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    14 <context>       <p><codeph>SupportedTargets()</codeph> call retrieves the
       
    15 supported light targets of the device.</p> <note> Any attempt to use or reserve
       
    16 unsupported target fails with <codeph>KErrNotSupported</codeph>.</note><p>The
       
    17 following code snippet demonstrates how to retrieve the supported light targets
       
    18 of a device:</p><codeblock xml:space="preserve">// The method returns a bitmask containing supported light targets.
       
    19 TInt supportedTargets = iLight-&gt;SupportedTargets();</codeblock></context>
       
    20 </taskbody></task>