RMMFAudioRecordControllerCustomCommands Class Reference

class RMMFAudioRecordControllerCustomCommands : public RMMFCustomCommandsBase

Client class to access functionality specific to an audio record controller.

The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

RMMFAudioRecordControllerCustomCommands(RMMFController &)

IMPORT_CRMMFAudioRecordControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s

Parameters

RMMFController & aControllerThe client side controller object to be used by this custom command interface.

Member Functions Documentation

AddMetaDataEntryL(const CMMFMetaDataEntry &)

IMPORT_C voidAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)

Adds meta data to the clip.

Since
7.0s

Parameters

const CMMFMetaDataEntry & aNewEntryThe details of the new entry to be added.

Crop(TBool)

IMPORT_C TIntCrop(TBoolaToEnd)

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

Since
7.0s

Parameters

TBool aToEndA boolean indicating whether to crop to the end. Crops to the end if set to ETrue, to the beginning set to EFalse.

GetRecordTimeAvailable(TTimeIntervalMicroSeconds &)

IMPORT_C TIntGetRecordTimeAvailable(TTimeIntervalMicroSeconds &aTime)const

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

Since
7.0s

Parameters

TTimeIntervalMicroSeconds & aTimeThe record time available, in microseconds.

RemoveMetaDataEntry(TInt)

IMPORT_C TIntRemoveMetaDataEntry(TIntaIndex)

Removes a meta data entry from the clip.

Since
7.0s

Parameters

TInt aIndexThe ID of the meta data entry to delete.

ReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &)

IMPORT_C voidReplaceMetaDataEntryL(TIntaIndex,
const CMMFMetaDataEntry &aNewEntry
)

Replaces a meta data in the clip.

Since
7.0s

Parameters

TInt aIndexThe ID of the meta data entry to replace.
const CMMFMetaDataEntry & aNewEntryThe details of the new entry to be added.

SetMaxDuration(const TTimeIntervalMicroSeconds &)

IMPORT_C TIntSetMaxDuration(const TTimeIntervalMicroSeconds &aMaxDuration)const

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

Since
7.0s

Parameters

const TTimeIntervalMicroSeconds & aMaxDurationThe maximum duration of the recorded clip, in microseconds.

SetMaxFileSize(TInt)

IMPORT_C TIntSetMaxFileSize(TIntaMaxSize)const

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

Since
7.0s

Parameters

TInt aMaxSizeThe maximum size of the recorded clip, in bytes.