#include <remconabsvolcontroller.h>
Link against: remconextapi1.lib
class CRemConAbsVolController : public CRemConInterfaceBase, public MRemConInterfaceIf |
Public Member Functions | |
---|---|
~CRemConAbsVolController() | |
IMPORT_C void | GetAbsoluteVolume(TRequestStatus &, TUint &) |
IMPORT_C CRemConAbsVolController * | NewL(CRemConInterfaceSelector &, MRemConAbsVolControllerObserver &) |
IMPORT_C void | SetAbsoluteVolume(TRequestStatus &, TUint, TUint, TUint &) |
Client-instantiable type supporting sending AbsVol API responses.
IMPORT_C void | GetAbsoluteVolume | ( | TRequestStatus & | aStatus, |
TUint & | aNumRemotes | |||
) |
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 | |
---|---|
aStatus | Used by RemCon to indicate completion of the send request. |
aNumRemotes | The number of remotes to which the command was sent. |
IMPORT_C CRemConAbsVolController * | NewL | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
MRemConAbsVolControllerObserver & | aObserver | |||
) | [static] |
Factory function.
Parameters | |
---|---|
aInterfaceSelector | The interface selector. The client must have created one of these first. |
aObserver | The observer of this interface. |
IMPORT_C void | SetAbsoluteVolume | ( | TRequestStatus & | aStatus, |
TUint | aAbsVol, | |||
TUint | aMaxVol, | |||
TUint & | aNumRemotes | |||
) |
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 | |
---|---|
aStatus | Used by RemCon to indicate completion of the send request. |
aAbsVol | The relative volume. |
aMaxVol | The maximum against which aAbsVol is relative. |
aNumRemotes | The number of remotes to which the command was sent. |