CRemConAbsVolTarget Class Reference

#include <remconabsvoltarget.h>

Link against: remconextapi1.lib

class CRemConAbsVolTarget : public CRemConInterfaceBase, public MRemConInterfaceIf

Inherits from

Detailed Description

Client-instantiable type supporting sending AbsVol API responses.

Constructor & Destructor Documentation

~CRemConAbsVolTarget ( )

IMPORT_C~CRemConAbsVolTarget()

Destructor.

Member Function Documentation

GetAbsoluteVolumeResponse ( TRequestStatus &, TUint, TUint, TInt )

IMPORT_C voidGetAbsoluteVolumeResponse(TRequestStatus &aStatus,
TUintaAbsVol,
TUintaMaxVol,
TIntaError
)

Sends a response to a 'get absolute volume' command. Only one response per target session can be outstanding at any one time.

Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aAbsVolThe volume, on a scale of 0 to aMaxVol.
aMaxVolThe maximum volume, to which aAbsVol is relative.
aErrorThe response error.

NewL ( CRemConInterfaceSelector &, MRemConAbsVolTargetObserver & )

IMPORT_C CRemConAbsVolTarget *NewL(CRemConInterfaceSelector &aInterfaceSelector,
MRemConAbsVolTargetObserver &aObserver
)[static]

Factory function.

Parameters
aInterfaceSelectorThe interface selector. The client must have created one of these first.
aObserverThe observer of this interface.
Return Value
A new CRemConAbsVolTarget, owned by the interface selector.

SetAbsoluteVolumeResponse ( TRequestStatus &, TInt )

IMPORT_C voidSetAbsoluteVolumeResponse(TRequestStatus &aStatus,
TIntaError
)

Sends a response to a 'set absolute volume' command. Only one response per target session can be outstanding at any one time.

Parameters
aStatusUsed by RemCon to indicate completion of the request.
aErrorThe response error.