S60 Vibra API Specification: API description

Vibra API is a library API providing the ability to control the device vibra. The API provides also methods to retrieve the current settings of the vibration feature in the user profile and the current status of the vibra. The API is meant for all applications which need to control the device vibra.

Vibra API is a synchronous method call.

API class structure

Most functionality is accessed via the CHWRMVibra instance. A separate callback interface (MHWRMVibraObserver) for status reporting is also used.

The client creates an instance of CHWRMVibra using standard Symbian C-class NewL-pattern. If the client requires up-to-date status information, it should also provide callback pointer of the MHWRMVibraObserver implementing class for the NewL method.


Copyright © Nokia Corporation 2001-2008
Back to top