RTactileFeedback Class Reference
class RTactileFeedback : public RSessionBase |
Client interface to tactile feedback server.
tactilefeedbackresolver.lib
- Since
- S60 5.2
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Private Attributes |
---|
CThreadPlayer * | iThread |
Constructor & Destructor Documentation
RTactileFeedback()
IMPORT_C | RTactileFeedback | ( | ) | |
C++ default constructor.
- Since
- S60 5.2
Member Functions Documentation
Close()
Closes connection to tactile feedback server.
- Since
- S60 5.2
Connect()
Creates connection to tactile feedback server.
- Since
- S60 5.2
FeedbackEnabledForDevice(TTouchFeedbackType &)
Used to check enabled feedback types for the device.
- Since
- S60 5.2
Parameters
TTouchFeedbackType & aFeedbackEnabled | - Enabled feedback types are returned to this parameter as a bitmask. |
ModifyFeedback(TInt)
IMPORT_C void | ModifyFeedback | ( | TInt | aIntensity | ) | |
Modifies the intensity of ongoing continuous feedback.
- Since
- S60 5.2
Parameters
TInt aIntensity | - New intensity for continuous feedback. Value range for intensity is 0-100%. |
ModifyPreviewFeedback(TInt)
IMPORT_C void | ModifyPreviewFeedback | ( | TInt | aIntensity | ) | |
Modifies the intensity of ongoing preview of continuous feedback.
Parameters
TInt aIntensity | - New intensity for continuous feedback. Value range for intensity is 0-100% from basic strength. |
PlayFeedback(TTouchLogicalFeedback, TBool, TBool)
Produces immediately physical feedback according to given logical feedback type.
Parameters
TTouchLogicalFeedback aFeedbackType | - Logical feedback type. |
TBool aPlayVibra | - ETrue to play vibra feedback, EFalse if vibra feedback is disabled. |
TBool aPlayAudio | - ETrue to play audio feedback, EFalse if audio feedback is disabled. |
PlayPreviewFeedback(TInt, TTouchLogicalFeedback, TTouchFeedbackType)
Produces immediate physical feedback according to given logical feedback type and given level.
Maximum feedback level depends on used player and it is defined in Central Repository settings (KTactileFeedbackVibraLevels & KTactileFeedbackAudioLevels).
UID for tactile feedback settings is: KCRUidTactileFeedback = 0x2000B494;
Parameters
TInt aLevel | - Level value defines the strength of playing effect. Maximum level value is player dependent. |
TTouchLogicalFeedback aFeedback | |
TTouchFeedbackType aType | - Type of feedback to be previewed. Feedback type in preview mode must be either audio or haptics, not both. |
SetFeedbackEnabledForDevice(TTouchFeedbackType)
Enables or disables audio or/and vibra feedback in whole device.
Parameters
TTouchFeedbackType aFeedbackType | - Feedback types to be enabled/disabled defined as a bitmask combination of enumeration items from TTouchFeedbackType. |
StartFeedback(TTouchContinuousFeedback, TInt)
Starts playing continuous feedback.
Parameters
TTouchContinuousFeedback aType | - Type of continuous feedback to be played. |
TInt aIntensity | - Intensity of continuous feedback. Value range for intensity is 0-100%. |
StartPreviewFeedback(TInt, TTouchContinuousFeedback, TInt, TTouchFeedbackType)
Starts playing continuous feedback of given type on given level.
Maximum feedback level depends on used player and it is defined in Central Repository settings (KTactileFeedbackVibraLevels & KTactileFeedbackAudioLevels).
UID for tactile feedback settings is: KCRUidTactileFeedback = 0x2000B494;
Parameters
TInt aLevel | - Level value defines the strength of playing effect. Maximum level value is player dependent. |
TTouchContinuousFeedback aFeedback | - Type of continuous feedback to be played. |
TInt aIntensity | - Intensity of continuous feedback. Value range for intensity is 0-100% from basic strength (see aLevel). |
TTouchFeedbackType aType | - Type of feedback to be previewed. Feedback type in preview mode must be either audio or haptics, not both. |
StopFeedback()
IMPORT_C void | StopFeedback | ( | ) | |
Stops the ongoing feedback.
StopPreviewFeedback()
IMPORT_C void | StopPreviewFeedback | ( | ) | |
Stops the ongoing preview of continuous feedback.
Version()
Returns the version of Tactile Feedback Server.
Member Data Documentation
CThreadPlayer * iThread
CThreadPlayer * | iThread | [private] |
Instance of a class, which creates a new thread for the tactile feedback server 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.