Symbian3/SDK/Source/GUID-D157C4D3-FC2F-47DD-BD33-F8BA6156833D.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-D157C4D3-FC2F-47DD-BD33-F8BA6156833D" xml:lang="en"><title>Sending
       
    13 tactile feedback pulse</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    14 <context>       <p>The Vibra API clients can request the device to send tactile
       
    15 vibration pulse using <codeph>PulseVibraL()</codeph> method. The <codeph>PulseVibraL()</codeph> will
       
    16 be executed only if there is an active tactile feedback settings in the user
       
    17 profile. The clients can check the current settings by calling the <codeph>VibraFeedbackSettings()</codeph> function.
       
    18 The overloaded <codeph>PulseVibraL()</codeph> methods allows the client to
       
    19 :</p><ul>
       
    20 <li><p>Use the default intensity and duration.</p></li>
       
    21 <li><p>Use default intensity and specify the duration using <codeph>aDuration</codeph> parameter.</p></li>
       
    22 <li><p>Specify both intensity and duration using the parameters <codeph>aIntensity</codeph> and <codeph>aDuration</codeph>.</p></li>
       
    23 </ul><p><codeph>SetFeedbackObserver()</codeph> is used to register the clients
       
    24 to receive notification of any changes to the tactile feedback settings in
       
    25 the active user profile. <codeph>MHWRMVibraFeedbackObserver</codeph> provides
       
    26 a pure virtual function <codeph>VibraFeedbackModeChanged()</codeph> which
       
    27 is called to notify the clients to notify of any changes to the user profile
       
    28 settings.</p></context>
       
    29 </taskbody></task>