MMMFAudioRecordControllerCustomCommandImplementor Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

class MMMFAudioRecordControllerCustomCommandImplementor
Public Member Functions
pure virtual voidMarcAddMetaDataEntryL(const CMMFMetaDataEntry &)
pure virtual voidMarcCropL(TBool)
pure virtual voidMarcGetRecordTimeAvailableL(TTimeIntervalMicroSeconds &)
pure virtual voidMarcRemoveMetaDataEntryL(TInt)
pure virtual voidMarcReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &)
pure virtual voidMarcSetMaxDurationL(const TTimeIntervalMicroSeconds &)
pure virtual voidMarcSetMaxFileSizeL(TInt)

Detailed Description

Mixin class to be derived from controller plugins that could support the audio record controller

custom commands.

Member Function Documentation

MarcAddMetaDataEntryL ( const CMMFMetaDataEntry & )

voidMarcAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)[pure virtual]

Adds meta data to the clip.

Since
7.0s
Parameters
aNewEntryThe details of the new entry to be added.

MarcCropL ( TBool )

voidMarcCropL(TBoolaToEnd)[pure virtual]

Removes a portion from the clip, either from the current position to the beginning

or the current position to the end.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

end, EFalse to the beginning.

Since
7.0s
Parameters
aToEndA boolean indicating whether to crop to the end or the beginning. ETrue to crop to the

MarcGetRecordTimeAvailableL ( TTimeIntervalMicroSeconds & )

voidMarcGetRecordTimeAvailableL(TTimeIntervalMicroSeconds &aTime)[pure virtual]

Gets the (possibly estimated) record time left in the clip.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aTimeThe record time available, in microseconds.

MarcRemoveMetaDataEntryL ( TInt )

voidMarcRemoveMetaDataEntryL(TIntaIndex)[pure virtual]

Removes a meta data entry from the clip.

Since
7.0s
Parameters
aIndexThe ID of the meta data entry to delete.

MarcReplaceMetaDataEntryL ( TInt, const CMMFMetaDataEntry & )

voidMarcReplaceMetaDataEntryL(TIntaIndex,
const CMMFMetaDataEntry &aNewEntry
)[pure virtual]

Replaces a meta data entry in the clip.

Since
7.0s
Parameters
aIndexThe ID of the meta data entry to replace.
aNewEntryThe details of the new entry to be added.

MarcSetMaxDurationL ( const TTimeIntervalMicroSeconds & )

voidMarcSetMaxDurationL(const TTimeIntervalMicroSeconds &aMaxDuration)[pure virtual]

Sets the maximum duration of the recorded clip, in microseconds.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aMaxDurationThe maximum duration of the recorded clip, in microseconds.

MarcSetMaxFileSizeL ( TInt )

voidMarcSetMaxFileSizeL(TIntaMaxSize)[pure virtual]

Sets the maximum size of the recorded clip, in bytes.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aMaxSizeThe maximum size of the recorded clip, in bytes.