#include <remconabsvolcontroller.h>
Link against:
remconextapi1.lib
Class CRemConAbsVolController
class CRemConAbsVolController : public CRemConInterfaceBase, public MRemConInterfaceIf;
Description
Client-instantiable type supporting sending AbsVol API responses.
Derivation
MRemConInterfaceIf
- No description.
CRemConInterfaceBase
- No description.
CRemConAbsVolController
- Client-instantiable type supporting sending AbsVol API responses.
Members
Defined in CRemConAbsVolController
:
Construction and destruction
NewL(CRemConInterfaceSelector &,MRemConAbsVolControllerObserver &)
IMPORT_C static CRemConAbsVolController* NewL(CRemConInterfaceSelector &aInterfaceSelector, MRemConAbsVolControllerObserver
&aObserver);
Description
Factory function.
Parameters
Return value
~CRemConAbsVolController()
IMPORT_C ~CRemConAbsVolController();
Description
Destructor.
GetAbsoluteVolume(TRequestStatus &,TUint &)
IMPORT_C void GetAbsoluteVolume(TRequestStatus &aStatus, TUint &aNumRemotes);
Description
Sends a 'get absolute volume' command. The absolute volume will be returned in response(s) via the observer interface. Only
one command per controller session can be outstanding at any one time.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
TUint &aNumRemotes |
The number of remotes to which the command was sent.
|
|
SetAbsoluteVolume(TRequestStatus &,TUint,TUint,TUint &)
IMPORT_C void SetAbsoluteVolume(TRequestStatus &aStatus, TUint aAbsVol, TUint aMaxVol, TUint &aNumRemotes);
Description
Sends a 'set absolute volume' command. The volume is set to aAbsVol, on a range of zero to aMaxVol. Any responses will be
returned via the observer interface. Only one command per controller session can be outstanding at any one time.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
TUint aAbsVol |
The relative volume.
|
TUint aMaxVol |
The maximum against which aAbsVol is relative.
|
TUint &aNumRemotes |
The number of remotes to which the command was sent.
|
|
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.
|
|