The ReleaseLight() call releases the light target if it was previously reserved for the client. Multiple lights can be specified by using bitwise-or. If the client has not reserved any of the specified lights, this method does nothing. Any reserved light targets that are released and have no other suspended clients are reset to default state, which is either lights ON or lights OFF, depending on the system inactivity time. The following code snippet demonstrates how to release the reserved light targets:
iLight->ReleaseLight( CHWRMLight::EPrimaryDisplay | CHWRMLight::EPrimaryKeyboard );
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.