RMMFAudioRecordControllerCustomCommands Class Reference
#include
"mmfstandardcustomcommands.h"
Link against: mmfstandardcustomcommands.lib
class RMMFAudioRecordControllerCustomCommands : public RMMFCustomCommandsBase |
Inherits from
- RMMFAudioRecordControllerCustomCommands
Detailed Description
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.
Constructor & Destructor Documentation
RMMFAudioRecordControllerCustomCommands ( RMMFController & )
IMPORT_C | RMMFAudioRecordControllerCustomCommands | ( | RMMFController & | aController | ) | |
Parameter | Description | aController | The client side controller object to be used by this custom command interface. |
Member Function Documentation
AddMetaDataEntryL ( const CMMFMetaDataEntry & )
Adds meta data to the clip.
Parameter | Description | aNewEntry | The details of the new entry to be added. |
Crop ( TBool )
Removes a portion from the clip, either from the current position to the beginning or the current position to the end.
Parameter | Description | aToEnd | A boolean indicating whether to crop to the end. Crops to the end if set to ETrue, to the beginning set to EFalse. |
Returns: One of the system-wide error codes.
GetRecordTimeAvailable ( TTimeIntervalMicroSeconds & )
Gets the (possibly estimated) record time left in the clip.
Parameter | Description | aTime | The record time available, in microseconds. |
Returns: One of the system-wide error codes.
RemoveMetaDataEntry ( TInt )
IMPORT_C TInt | RemoveMetaDataEntry | ( | TInt | aIndex | ) | |
Removes a meta data entry from the clip.
Parameter | Description | aIndex | The ID of the meta data entry to delete. |
Returns: One of the system-wide error codes.
ReplaceMetaDataEntryL ( TInt, const CMMFMetaDataEntry & )
Replaces a meta data in the clip.
Parameter | Description | aIndex | The ID of the meta data entry to replace. |
aNewEntry | The details of the new entry to be added. |
SetMaxDuration ( const TTimeIntervalMicroSeconds & )
Sets the maximum duration of the recorded clip, in microseconds.
Parameter | Description | aMaxDuration | The maximum duration of the recorded clip, in microseconds. |
Returns: One of the system-wide error codes.
SetMaxFileSize ( TInt )
IMPORT_C TInt | SetMaxFileSize | ( | TInt | aMaxSize | ) | const |
Sets the maximum size of the recorded clip, in bytes.
Parameter | Description | aMaxSize | The maximum size of the recorded clip, in bytes. |
Returns: One of the system-wide error codes.