Symbian3/PDK/Source/GUID-BA1FA926-8511-4D31-AD01-4A8BCABB825D.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 11:56:28 +0100
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 14 578be2adaf3e
permissions -rw-r--r--
Week 12 contribution of PDK documentation_content. See release notes for details. Fixes Bug 2054, Bug 1583, Bug 381, Bug 390, Bug 463, Bug 1897, Bug 344, Bug 1319, Bug 394, Bug 1520, Bug 1522, Bug 1892"

<?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 task
  PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="GUID-BA1FA926-8511-4D31-AD01-4A8BCABB825D" xml:lang="en"><title>Retrieving
the status of the lights</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
<context>       <p>Retrieve the status of various lights by calling <codeph>LightStatus()</codeph> method.
This method can be used to find the status of only one target at a time. The
function is called by passing a target as a parameter.</p><p>The following
code snippet demonstrates how a client retrieves the status of the primary
display on the device:</p><codeblock xml:space="preserve">CHWRMExtendedLight::TLightStatus lightstatus = iLight-&gt;LightStatus( CHWRMExtendedlight::EPrimaryDisplay );</codeblock></context>
</taskbody></task>