hapticsservices_pub/tactile_feedback_client_api/inc/touchfeedback.h
changeset 27 dabdd02a1ba9
parent 0 d54f32e146dd
equal deleted inserted replaced
22:4838b44af342 27:dabdd02a1ba9
   692     virtual void InstantFeedback( const CCoeControl* aControl,
   692     virtual void InstantFeedback( const CCoeControl* aControl,
   693                                   TTouchLogicalFeedback aType,
   693                                   TTouchLogicalFeedback aType,
   694                                   TTouchFeedbackType aFeedbackType,
   694                                   TTouchFeedbackType aFeedbackType,
   695                                   const TPointerEvent& aPointerEvent ) = 0;
   695                                   const TPointerEvent& aPointerEvent ) = 0;
   696 
   696 
       
   697     /**
       
   698      * Gives direct feedback.
       
   699      *
       
   700      * Notice that the feedback might not be actually played, if 
       
   701      * for example user has disabled the feedback from the settings.
       
   702      *
       
   703      * This function always causes a synchronous client-server transaction, 
       
   704      * and potentially flushing of window server client-side buffer. Using this
       
   705      * overload it is also possible to disable unwanted feedback (vibra/audio)
       
   706      * by giving only wanted feedback type as parameter.
       
   707      *
       
   708      * @since S60 5.2
       
   709      * @param aType         - The logical feedback type to play.
       
   710      * @param aFeedbackType - Feedback types to be played as a bitmask 
       
   711      *                        combination of enumeration items from
       
   712      *                        TTouchFeedbackType
       
   713      */
       
   714     virtual void InstantFeedback( TTouchLogicalFeedback aType,
       
   715                                   TTouchFeedbackType aFeedbackType ) = 0;
   697 
   716 
   698 
   717 
   699     };
   718     };
   700 
   719 
   701 
   720