Location:
remconabsvolcontroller.h
Link against: remconextapi1.lib
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
:
GetAbsoluteVolume()
, GetInterfaceIf()
, MrcibNewMessage()
, NewL()
, SetAbsoluteVolume()
, ~CRemConAbsVolController()
static IMPORT_C CRemConAbsVolController *NewL(CRemConInterfaceSelector &aInterfaceSelector, MRemConAbsVolControllerObserver
&aObserver);
Description
Factory function.
Parameters
Return value
IMPORT_C ~CRemConAbsVolController();
Description
Destructor.
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.
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.
|
|
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.
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
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.
|
|