CMMFAudioRecordControllerCustomCommandParser Class Reference

class CMMFAudioRecordControllerCustomCommandParser : public CMMFCustomCommandParserBase

Custom command parser class to be used by controller plugins wishing to support audio record controller commands.

The controller plugin must be derived from MMMFAudioRecordControllerCustomCommandImplementor to use this class.

The controller plugin should create an object of this type and add it to the list of custom command parsers in the controller framework. See the following example code for details.

        void CMMFAudioController::ConstructL()
	{
	// Construct custom command parsers
	CMMFAudioPlayDeviceCustomCommandParser* audPlayDevParser = CMMFAudioPlayDeviceCustomCommandParser::NewL(*this);
	CleanupStack::PushL(audPlayDevParser);
	AddCustomCommandParserL(*audPlayDevParser); //parser now owned by controller framework
	CleanupStack::Pop();//audPlayDevParser

	CMMFAudioRecordDeviceCustomCommandParser* audRecDevParser = CMMFAudioRecordDeviceCustomCommandParser::NewL(*this);
	CleanupStack::PushL(audRecDevParser);
	AddCustomCommandParserL(*audRecDevParser); //parser now owned by controller framework
	CleanupStack::Pop();//audRecDevParser

etc.
	}
       
Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFAudioRecordControllerCustomCommandParser(MMMFAudioRecordControllerCustomCommandImplementor &)

CMMFAudioRecordControllerCustomCommandParser ( MMMFAudioRecordControllerCustomCommandImplementor & aImplementor ) [private]

Constructor.

Since
7.0s

Parameters

MMMFAudioRecordControllerCustomCommandImplementor & aImplementor A reference to the controller plugin that owns this new object.

~CMMFAudioRecordControllerCustomCommandParser()

IMPORT_C ~CMMFAudioRecordControllerCustomCommandParser ( )

Destructor.

Since
7.0s

Member Functions Documentation

DoAddMetaDataEntryL(TMMFMessage &)

TBool DoAddMetaDataEntryL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoCropL(TMMFMessage &)

TBool DoCropL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoGetRecordTimeAvailableL(TMMFMessage &)

TBool DoGetRecordTimeAvailableL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoHandleRequestL(TMMFMessage &)

void DoHandleRequestL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoRemoveMetaDataEntryL(TMMFMessage &)

TBool DoRemoveMetaDataEntryL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoReplaceMetaDataEntryL(TMMFMessage &)

TBool DoReplaceMetaDataEntryL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoSetMaxDurationL(TMMFMessage &)

TBool DoSetMaxDurationL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

DoSetMaxFileSizeL(TMMFMessage &)

TBool DoSetMaxFileSizeL ( TMMFMessage & aMessage ) [private]

Parameters

TMMFMessage & aMessage

HandleRequest(TMMFMessage &)

void HandleRequest ( TMMFMessage & aMessage ) [virtual]

Handles a request from the client. Called by the controller framework.

Since
7.0s

Parameters

TMMFMessage & aMessage The message to be handled.

NewL(MMMFAudioRecordControllerCustomCommandImplementor &)

IMPORT_C CMMFAudioRecordControllerCustomCommandParser * NewL ( MMMFAudioRecordControllerCustomCommandImplementor & aImplementor ) [static]

Creates a new custom command parser capable of handling audio record controller commands.

Since
7.0s

Parameters

MMMFAudioRecordControllerCustomCommandImplementor & aImplementor A reference to the controller plugin that owns this new object.

Member Data Documentation

MMMFAudioRecordControllerCustomCommandImplementor & iImplementor

MMMFAudioRecordControllerCustomCommandImplementor & iImplementor [private]

The object that implements the audio record controller interface.