#include <remconabsvoltarget.h>
Link against: remconextapi1.lib
| class CRemConAbsVolTarget : public CRemConInterfaceBase, public MRemConInterfaceIf |
| Public Member Functions | |
|---|---|
| ~CRemConAbsVolTarget() | |
| IMPORT_C void | GetAbsoluteVolumeResponse(TRequestStatus &, TUint, TUint, TInt) |
| IMPORT_C CRemConAbsVolTarget * | NewL(CRemConInterfaceSelector &, MRemConAbsVolTargetObserver &) |
| IMPORT_C void | SetAbsoluteVolumeResponse(TRequestStatus &, TInt) |
Client-instantiable type supporting sending AbsVol API responses.
| IMPORT_C void | GetAbsoluteVolumeResponse | ( | TRequestStatus & | aStatus, |
| TUint | aAbsVol, | |||
| TUint | aMaxVol, | |||
| TInt | aError | |||
| ) | ||||
Sends a response to a 'get absolute volume' command. Only one response per target session can be outstanding at any one time.
| Parameters | |
|---|---|
| aStatus | Used by RemCon to indicate completion of the send request. |
| aAbsVol | The volume, on a scale of 0 to aMaxVol. |
| aMaxVol | The maximum volume, to which aAbsVol is relative. |
| aError | The response error. |
| IMPORT_C CRemConAbsVolTarget * | NewL | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
| MRemConAbsVolTargetObserver & | 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 | SetAbsoluteVolumeResponse | ( | TRequestStatus & | aStatus, |
| TInt | aError | |||
| ) | ||||
Sends a response to a 'set absolute volume' command. Only one response per target session can be outstanding at any one time.
| Parameters | |
|---|---|
| aStatus | Used by RemCon to indicate completion of the request. |
| aError | The response error. |