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 S60 5.2
Public Member Functions | |
---|---|
~CFeedbackSpec() | |
IMPORT_C TInt | AddFeedback(TTouchEventType, TTouchLogicalFeedback) |
IMPORT_C TInt | AddFeedback(TTouchEventType, TTouchLogicalFeedback, TTouchFeedbackType) |
IMPORT_C void | GetFeedbackSpec(RArray< TTactileFbItem > &) |
IMPORT_C CFeedbackSpec * | New() |
Private Member Functions | |
---|---|
CFeedbackSpec() |
Private Attributes | |
---|---|
RArray< TTactileFbItem > | iFbArray |
IMPORT_C TInt | AddFeedback | ( | TTouchEventType | aEventType, |
TTouchLogicalFeedback | aFeedback | |||
) |
Adds event/feedback type pair to feedback spec
S60 5.2
KErrNone, or one of standard Symbian OS error codes.
TTouchEventType aEventType | - Touch event type. |
TTouchLogicalFeedback aFeedback | - Logical feedback type. |
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.
S60 5.2
KErrNone, or one of standard Symbian OS error codes.
TTouchEventType aEventType | - Touch event type. |
TTouchLogicalFeedback aFeedback | - Logical feedback type. |
TTouchFeedbackType aFeedbackType | - Bitmask to define feedback type (vibra/audio). |
IMPORT_C void | GetFeedbackSpec | ( | RArray< TTactileFbItem > & | aArray | ) |
Gets defined event/feedback type pairs
S60 5.2
RArray< TTactileFbItem > & aArray | - Event/feedback type pairs is returned here. |
RArray< TTactileFbItem > | iFbArray | [private] |
Array for event type/feedback type pairs Own.