#include <mmf/common/mmfstandardcustomcommands.h>
Link against: mmfstandardcustomcommands.lib
class RMMFAudioRecordControllerCustomCommands : public RMMFCustomCommandsBase, public RMMFCustomCommandsBase |
Public Member Functions | |
---|---|
RMMFAudioRecordControllerCustomCommands(RMMFController &) | |
IMPORT_C void | AddMetaDataEntryL(const CMMFMetaDataEntry &) |
IMPORT_C TInt | Crop(TBool) |
IMPORT_C TInt | GetRecordTimeAvailable(TTimeIntervalMicroSeconds &) |
IMPORT_C TInt | RemoveMetaDataEntry(TInt) |
IMPORT_C void | ReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &) |
IMPORT_C TInt | SetMaxDuration(const TTimeIntervalMicroSeconds &) |
IMPORT_C TInt | SetMaxFileSize(TInt) |
Inherited Attributes | |
---|---|
RMMFCustomCommandsBase::iController | |
RMMFCustomCommandsBase::iDestinationPckg |
Inherited Functions | |
---|---|
RMMFCustomCommandsBase::RMMFCustomCommandsBase(RMMFController &,TUid) |
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.
IMPORT_C | RMMFAudioRecordControllerCustomCommands | ( | RMMFController & | aController | ) |
Constructor.
Parameters | |
---|---|
aController | The client side controller object to be used by this custom command interface. |
IMPORT_C void | AddMetaDataEntryL | ( | const CMMFMetaDataEntry & | aNewEntry | ) |
Adds meta data to the clip.
Parameters | |
---|---|
aNewEntry | The details of the new entry to be added. |
Removes a portion from the clip, either from the current position to the beginning or the
current position to the end.
the beginning set to EFalse.
Parameters | |
---|---|
aToEnd | A boolean indicating whether to crop to the end. Crops to the end if set to ETrue, to |
IMPORT_C TInt | GetRecordTimeAvailable | ( | TTimeIntervalMicroSeconds & | aTime | ) | const |
Gets the (possibly estimated) record time left in the clip.
Parameters | |
---|---|
aTime | The record time available, in microseconds. |
IMPORT_C void | ReplaceMetaDataEntryL | ( | TInt | aIndex, |
const CMMFMetaDataEntry & | aNewEntry | |||
) |
Replaces a meta data in the clip.
Parameters | |
---|---|
aIndex | The ID of the meta data entry to replace. |
aNewEntry | The details of the new entry to be added. |
IMPORT_C TInt | SetMaxDuration | ( | const TTimeIntervalMicroSeconds & | aMaxDuration | ) | const |
Sets the maximum duration of the recorded clip, in microseconds.
Parameters | |
---|---|
aMaxDuration | The maximum duration of the recorded clip, in microseconds. |