diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-F575F364-4BCA-42C7-BE00-7B31D8B55AE1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-F575F364-4BCA-42C7-BE00-7B31D8B55AE1.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,29 @@ + + + + + +Reserving +the device vibra +

The ReserveVibraL() call reserves the +vibration feature exclusively for the client. A higher priority client may +cause lower priority client reservation to be temporarily suspended. Commands +can still be issued in suspended state, but they are not acted upon unless +suspension is lifted within specified duration. The suspended client does +not receive any notification about suspension. If vibra is already reserved +by a higher or equal priority application, reserving still succeeds but suspended +immediately.

The following code snippet demonstrates how to reserve +the device vibration feature:

iVibra->ReserveVibraL( ETrue, EFalse );

First +parameter ETrue means that any previously frozen state is +restored. Second parameter EFalse means that the CCoeEnv background/foreground +status is always used to control further reservations.

Calling the ReserveVibraL() method +without parameters is equal to calling ReserveVibraL(EFalse, EFalse), +i.e. any previously frozen state is not restored and the CCoeEnv background/foreground +status is always used to control further reservations.

+
\ No newline at end of file