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.
Most functionality is accessed via the CHWRMVibra
instance.
Separate callback interfaces (MHWRMVibraObserver/MHWRMVibraFeedbackObserver
)
for status reporting are also available.
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. If client requires up-to-date
information about vibra tactile feedback setting, client must register observing
changes by the SetFeedbackObserver()
method.