Hardware Resource
Manager Concepts
This section provides a summary of related concepts and functionality
for Hardware Resource Manager such as plug-ins and policies, and the functions
used for controlling phone resources.
- Hardware Resource Manager Plug-ins
HWRM provides hardware independent plug-in APIs to control different hardware elements such as light, vibration and power.
- Hardware Resource Manager Policy Files
HWRM policy files define the priority for reserving Lights and Vibra resources. Clients having higher priority preempts the reservation of the resource of lower priority client. Policy files are optional.
- Light API
Light API is a library API that provides the ability to control various light targets of the device. It also provides methods to retrieve the current light status and the supported light targets of the device.
- Extended Light API
Extended Light API controls up to 31 custom lights, when available. The number of lights available depends on the hardware, and it is the responsibility of the Symbian developer to implement according to the available hardware. The number of supported targets can be found using CHWRMExtendedLight::SupportedTargets() function.
- Vibra API
Vibra API provides the functionality to control the device vibra, which is accessed using the CHWRMVibra instance. It also provides methods to retrieve the current settings of the vibration feature in the user profile and the current status of the vibra. It uses synchronous method calls which block the client application until a response is received from the plug-in.
- Power API
Power API is a library API and provides the ability to request the detailed information of the following:
- Power State API
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.