Symbian3/SDK/Source/GUID-D157C4D3-FC2F-47DD-BD33-F8BA6156833D.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Tue, 20 Jul 2010 12:00:49 +0100
changeset 13 48780e181b38
parent 0 89d6a7a84779
permissions -rw-r--r--
Week 28 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 1897 and Bug 1522.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE task
  PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="GUID-D157C4D3-FC2F-47DD-BD33-F8BA6156833D" xml:lang="en"><title>Sending
tactile feedback pulse</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
<context>       <p>The Vibra API clients can request the device to send tactile
vibration pulse using <codeph>PulseVibraL()</codeph> method. The <codeph>PulseVibraL()</codeph> will
be executed only if there is an active tactile feedback settings in the user
profile. The clients can check the current settings by calling the <codeph>VibraFeedbackSettings()</codeph> function.
The overloaded <codeph>PulseVibraL()</codeph> methods allows the client to
:</p><ul>
<li><p>Use the default intensity and duration.</p></li>
<li><p>Use default intensity and specify the duration using <codeph>aDuration</codeph> parameter.</p></li>
<li><p>Specify both intensity and duration using the parameters <codeph>aIntensity</codeph> and <codeph>aDuration</codeph>.</p></li>
</ul><p><codeph>SetFeedbackObserver()</codeph> is used to register the clients
to receive notification of any changes to the tactile feedback settings in
the active user profile. <codeph>MHWRMVibraFeedbackObserver</codeph> provides
a pure virtual function <codeph>VibraFeedbackModeChanged()</codeph> which
is called to notify the clients to notify of any changes to the user profile
settings.</p></context>
</taskbody></task>