CFeedbackSpec Class Reference
class CFeedbackSpec : public CBase
|
Contains feedback types used for setting feedback area
This class acts as container for event/feedback type pairs. These pairs define what kind of feedback is producent when area is touched.
touchfeedback.lib
-
Since
-
S60 5.2
Constructor & Destructor Documentation
CFeedbackSpec()
CFeedbackSpec
|
(
|
)
|
[private]
|
~CFeedbackSpec()
~CFeedbackSpec
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddFeedback(TTouchEventType, TTouchLogicalFeedback)
IMPORT_C
TInt
|
AddFeedback
|
(
|
TTouchEventType
|
aEventType,
|
|
TTouchLogicalFeedback
|
aFeedback
|
|
)
|
|
Adds event/feedback type pair to feedback spec
Parameters
TTouchEventType
aEventType
|
- Touch event type.
|
TTouchLogicalFeedback
aFeedback
|
- Logical feedback type.
|
AddFeedback(TTouchEventType, TTouchLogicalFeedback, TTouchFeedbackType)
IMPORT_C
TInt
|
AddFeedback
|
(
|
TTouchEventType
|
aEventType,
|
|
TTouchLogicalFeedback
|
aFeedback,
|
|
TTouchFeedbackType
|
aFeedbackType
|
|
)
|
|
Adds event/feedback type pair to feedback spec. Using this overload it is possible to define only one feedback type (vibra/audio) for event.
Parameters
TTouchEventType
aEventType
|
- Touch event type.
|
TTouchLogicalFeedback
aFeedback
|
- Logical feedback type.
|
TTouchFeedbackType
aFeedbackType
|
- Bitmask to define feedback type (vibra/audio).
|
GetFeedbackSpec(RArray< TTactileFbItem > &)
Gets defined event/feedback type pairs
Member Data Documentation
RArray< TTactileFbItem > iFbArray
Array for event type/feedback type pairs Own.
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.