Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <remconcoreapitargetobserver.h>
Link against: remconcoreapi.lib

Class MRemConCoreApiTargetObserver

class MRemConCoreApiTargetObserver;

Description

Clients must implement this interface in order to instantiate objects of type CRemConCoreApiTarget. This interface passes incoming commands from RemCon to the client. In order to minimise the number of virtual functions the client has to implement, (a) they aren't pure, and (b) most commands are presented via 'Command' with an operation ID. Commands which are associated with command-specific data come instead through specific methods, e.g. 'Play', which comes with a play speed. Incoming commands are given to client via the MRemConCoreApiTargetObserver mixin. Having received a command, the client is obliged to send a response. A client can only have one send outstanding at any time. If commands come in quickly, the client is responsible for queueing its responses to them. Note that each command delivered to a target involves memory allocated in the server’s heap, which is only released on client closure or when a response is sent.

Members

Defined in MRemConCoreApiTargetObserver:


Member functions


MrccatoCommand(TRemConCoreApiOperationId,TRemConCoreApiButtonAction)

virtual void MrccatoCommand(TRemConCoreApiOperationId aOperationId, TRemConCoreApiButtonAction aButtonAct);

Description

A command has been received.

Parameters

TRemConCoreApiOperationId aOperationId

The operation ID of the command.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.


MrccatoPlay(TRemConCoreApiPlaybackSpeed,TRemConCoreApiButtonAction)

virtual void MrccatoPlay(TRemConCoreApiPlaybackSpeed aSpeed, TRemConCoreApiButtonAction aButtonAct);

Description

A 'play' command has been received.

Parameters

TRemConCoreApiPlaybackSpeed aSpeed

The playback speed.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.


MrccatoTuneFunction(TBool,TUint,TUint,TRemConCoreApiButtonAction)

virtual void MrccatoTuneFunction(TBool aTwoPart, TUint aMajorChannel, TUint aMinorChannel, TRemConCoreApiButtonAction aButtonAct);

Description

A 'tune function' command has been received.

Parameters

TBool aTwoPart

If EFalse, only aMajorChannel is to be used. Otherwise, both aMajorChannel and aMinorChannel are to be used.

TUint aMajorChannel

The major channel number.

TUint aMinorChannel

The minor channel number.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.


MrccatoSelectDiskFunction(TUint,TRemConCoreApiButtonAction)

virtual void MrccatoSelectDiskFunction(TUint aDisk, TRemConCoreApiButtonAction aButtonAct);

Description

A 'select disk function' has been received.

Parameters

TUint aDisk

The disk.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.


MrccatoSelectAvInputFunction(TUint8,TRemConCoreApiButtonAction)

virtual void MrccatoSelectAvInputFunction(TUint8 aAvInputSignalNumber, TRemConCoreApiButtonAction aButtonAct);

Description

A 'select AV input function' has been received.

Parameters

TUint8 aAvInputSignalNumber

The AV input.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.


MrccatoSelectAudioInputFunction(TUint8,TRemConCoreApiButtonAction)

virtual void MrccatoSelectAudioInputFunction(TUint8 aAudioInputSignalNumber, TRemConCoreApiButtonAction aButtonAct);

Description

A 'select audio input function' has been received.

Parameters

TUint8 aAudioInputSignalNumber

The audio input.

TRemConCoreApiButtonAction aButtonAct

The button action associated with the command.