HWRMVibra.h File Reference

Link against: HWRMVibraClient.lib

Capability Information

Required Capabilities

None


#include <e32base.h>

Go to the source code of this file.


Data Structures

class  CHWRMVibra
 The class used to control the device vibra. More...
class  MHWRMVibraObserver
 A callback interface for vibra status reporting. More...
class  MHWRMVibraFeedbackObserver
 A callback interface for tactile feedback vibra mode reporting. More...

Variables

const TInt KHWRMVibraMinIntensity = -100
 Minimum allowed intensity setting for vibra.
const TInt KHWRMVibraMinPulseIntensity = 1
 Minimum allowed intensity setting for vibra pulse.
const TInt KHWRMVibraMaxIntensity = 100
 Maximum allowed intensity setting for vibra.
const TInt KHWRMVibraMaxDuration = (KMaxTInt / 1000) - 1
 Maximum allowed duration value in milliseconds.
const TInt KHWRMVibraInfiniteDuration = 0
 KHWRMVibraInfiniteDuration specifies, that vibrating should continue maximum vibrating time supported by device if vibrating is not explicitly stopped.

Variable Documentation

const TInt KHWRMVibraInfiniteDuration = 0
 

KHWRMVibraInfiniteDuration specifies, that vibrating should continue maximum vibrating time supported by device if vibrating is not explicitly stopped.

const TInt KHWRMVibraMaxDuration = (KMaxTInt / 1000) - 1
 

Maximum allowed duration value in milliseconds.

Maximum vibrating time supported by device is declared in KVibraCtrlMaxTime cenrep-key.

Note that duration probably has device specific maximum duration that is much lower.

const TInt KHWRMVibraMaxIntensity = 100
 

Maximum allowed intensity setting for vibra.

When intensity is positive, the vibra motor rotates in the positive direction. Value 0 effectively stops the vibra.

const TInt KHWRMVibraMinIntensity = -100
 

Minimum allowed intensity setting for vibra.

When intensity is negative, the vibra motor rotates in the negative direction.

const TInt KHWRMVibraMinPulseIntensity = 1
 

Minimum allowed intensity setting for vibra pulse.


Copyright © Nokia Corporation 2001-2007
Back to top