HWRMVibraSDKCRKeys.h File Reference

Capability Information

Required Capabilities

None

Exceptions

The capability WriteDeviceData is required when setting value of the key KVibraCtrlProfileVibraEnabled.

Other: Vibra Settings API is not a real API (it doesn't have any functions), it only provides the vibra related Central Repository keys.


#include <e32std.h>

Go to the source code of this file.


Variables

const TUid KCRUidVibraCtrl = {0x10200C8B}
 CenRep UID for all vibra related settings keys provided by this API.
const TUint32 KVibraCtrlProfileVibraEnabled = 0x00000001
 Vibra setting controlled by Profiles.
const TUint32 KVibraCtrlMaxTime = 0x00000002
 Maximum vibrating time supported by device.
const TUint32 KVibraMinOffTime = 0x00000003
 Minimum time vibra cannot be started after it was forcibly turned off when maximum time was reached.
const TUint32 KVibraCtrlProfileFeedbackEnabled = 0x00000004
 Tactile feedback setting controlled by Profiles.
const TUint32 KVibraCtrlFeedbackIntensity = 0x00000005
 Tactile feedback vibration default intensity.
const TUint32 KVibraCtrlFeedbackDuration = 0x00000006
 Tactile feedback vibration default duration.

Variable Documentation

const TUid KCRUidVibraCtrl = {0x10200C8B}
 

CenRep UID for all vibra related settings keys provided by this API.

const TUint32 KVibraCtrlFeedbackDuration = 0x00000006
 

Tactile feedback vibration default duration.

Value is milliseconds as an integer.

Value is read-only.

Default value: 20

const TUint32 KVibraCtrlFeedbackIntensity = 0x00000005
 

Tactile feedback vibration default intensity.

Possible default intensity values are from the range -100...100.

Value is read-only.

Default value: 100

const TUint32 KVibraCtrlMaxTime = 0x00000002
 

Maximum vibrating time supported by device.

Value is milliseconds as an integer. If value is zero, no maximum time is supported. Maximum supported time is TMaxTInt microseconds in milliseconds.

Value is read-only.

Default value: 10000.

const TUint32 KVibraCtrlProfileFeedbackEnabled = 0x00000004
 

Tactile feedback setting controlled by Profiles.

Possible integer values:

0 = Tactile feedback is off in profile (default value)
1 = Tactile feedback is on in profile

const TUint32 KVibraCtrlProfileVibraEnabled = 0x00000001
 

Vibra setting controlled by Profiles.

Possible integer values:

0 = Vibra is off in profile (default value)
1 = Vibra is on in profile

const TUint32 KVibraMinOffTime = 0x00000003
 

Minimum time vibra cannot be started after it was forcibly turned off when maximum time was reached.

This can be used to enforce vibra cooling after long use periods.

Value is milliseconds as an integer.

Value is read-only.

Default value: 0


Copyright © Nokia Corporation 2001-2007
Back to top