class MHWRMHapticsObserver |
MHWRMHapticsObserver observer class.
A client should derive from this abstract class to receive haptics status notifications and notification of effect completion.
Public Member Functions | |
---|---|
void | EffectCompletedL(TInt, TInt) |
void | HapticsStatusChangedL(THWRMHapticsStatus) |
Public Member Enumerations | |
---|---|
enum | THWRMHapticsStatus { EHWRMHapticsStatusAvailable = 0, EHWRMHapticsStatusReserved, EHWRMHapticsStatusSuspended } |
void | EffectCompletedL | ( | TInt | aError, |
TInt | aEffectHandle | |||
) | [pure virtual] |
Called when effect has completed playing.
Method reserved for future use.
void | HapticsStatusChangedL | ( | THWRMHapticsStatus | aStatus | ) | [pure virtual] |
Called when the device's haptics feature state changes
THWRMHapticsStatus aStatus | Indicates haptics status. |
Haptics status.
EHWRMHapticsStatusAvailable = 0 |
Haptics is available for the observing client. |
EHWRMHapticsStatusReserved |
Haptics is reserved for another client. The client making the active reservation does not receive this notification, but a success code for the reservation command. |
EHWRMHapticsStatusSuspended |
Haptics has been suspended for this client. This occurs, when another client with higher priority makes reservation for haptics, or when this client is making reservation and haptics has already been reserved for a client with higher priority. In suspended state, haptics effects are not played for the suspended client, but other commands are executed as normal. |
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.