#include <remconabsvoltarget.h>
Link against:
remconextapi1.lib
Class CRemConAbsVolTarget
class CRemConAbsVolTarget : public CRemConInterfaceBase, public MRemConInterfaceIf;
Description
Client-instantiable type supporting sending AbsVol API responses.
Derivation
MRemConInterfaceIf
- No description.
CRemConInterfaceBase
- No description.
CRemConAbsVolTarget
- Client-instantiable type supporting sending AbsVol API responses.
Members
Defined in CRemConAbsVolTarget
:
Construction and destruction
NewL(CRemConInterfaceSelector &,MRemConAbsVolTargetObserver &)
IMPORT_C static CRemConAbsVolTarget* NewL(CRemConInterfaceSelector &aInterfaceSelector, MRemConAbsVolTargetObserver &aObserver);
Description
Factory function.
Parameters
Return value
IMPORT_C ~CRemConAbsVolTarget();
Description
Destructor.
GetAbsoluteVolumeResponse(TRequestStatus &,TUint,TUint,TInt)
IMPORT_C void GetAbsoluteVolumeResponse(TRequestStatus &aStatus, TUint aAbsVol, TUint aMaxVol, TInt aError);
Description
Sends a response to a 'get absolute volume' command. Only one response per target session can be outstanding at any one time.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
TUint aAbsVol |
The volume, on a scale of 0 to aMaxVol.
|
TUint aMaxVol |
The maximum volume, to which aAbsVol is relative.
|
TInt aError |
The response error.
|
|
SetAbsoluteVolumeResponse(TRequestStatus &,TInt)
IMPORT_C void SetAbsoluteVolumeResponse(TRequestStatus &aStatus, TInt aError);
Description
Sends a response to a 'set absolute volume' command. Only one response per target session can be outstanding at any one time.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the request.
|
TInt aError |
The response error.
|
|
private: virtual TAny* GetInterfaceIf(TUid aUid);
Description
Called by the interface selector to get a pointer to an object which implements the interface API with UID aUid. This is a
mechanism for allowing future change to the interface API without breaking BC in existing (non-updated) interfaces.
Parameters
Return value
MrcibNewMessage(TUint,const TDesC8 &)
private: virtual void MrcibNewMessage(TUint aOperationId, const TDesC8 &aData);
Description
Called when a message comes in for this interface.
Parameters
TUint aOperationId |
The interface-specific operation id.
|
const TDesC8 &aData |
Any operation-specific data.
|
|