class MTactileFeedbackServer |
Direct feedback interface for Anim Dll plugins.
This interface can be used for triggering feedback from Anim Dll plugins, or from any other DLLs which run in window server's process.
Usage example:
MTactileFeedbackServer* feedback = MTactileFeedbackServer::Instance() ; if ( feedback ) { feedback->InstantFeedback( ETouchFeedbackBasic ); }
Public Member Functions | |
---|---|
IMPORT_C MTactileFeedbackServer * | Instance () |
void | InstantFeedback ( TTouchLogicalFeedback ) |
IMPORT_C MTactileFeedbackServer * | Instance | ( | ) | [static] |
Can be used for acquiring a pointer to touch feedback instance.
Pointer is retrieved from thread local storage, and thus it is best to store the returned pointer as member variable in case it shall be needed frequently.
NULL is returned in case there is no instance. In that case feedback playing is not possible.
void | InstantFeedback | ( | TTouchLogicalFeedback | aType | ) | [pure virtual] |
Gives instant feedback.
Notice that the feedback might not be actually played, if for example user has disabled the feedback from the settings.
TTouchLogicalFeedback aType | - The logical feedback type to play. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.