The LightStatus() method retrieves the current light status. This method supports only the single target, as different targets can have different status. If multiple targets were specified, CHWRMLight::ELightStatusUnknown is returned.
The following code snippet demonstrates how to retrieve the current light status:
CHWRMLight::TLightStatus lightStatus = iLight->LightStatus( CHWRMLight::EPrimaryDisplay );
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.