#include <mmf/common/mmfstandardcustomcommands.h>
Link against: mmfstandardcustomcommands.lib
| class RMMFVideoRecordControllerCustomCommands : public RMMFCustomCommandsBase, public RMMFCustomCommandsBase |
| Public Member Functions | |
|---|---|
| RMMFVideoRecordControllerCustomCommands(RMMFController &) | |
| IMPORT_C void | AddMetaDataEntryL(const CMMFMetaDataEntry &) |
| IMPORT_C TInt | GetAudioEnabled(TBool &) |
| IMPORT_C TInt | GetRecordTimeAvailable(TTimeIntervalMicroSeconds &) |
| IMPORT_C TInt | GetSupportedSinkAudioTypes(RArray< TFourCC > &) |
| IMPORT_C TInt | GetSupportedSinkVideoTypes(CDesC8Array &) |
| IMPORT_C TInt | Prepare() |
| IMPORT_C TInt | RemoveMetaDataEntry(TInt) |
| IMPORT_C void | ReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &) |
| IMPORT_C TInt | SetAudioBitRate(TInt) |
| IMPORT_C TInt | SetAudioCodec(TFourCC) |
| IMPORT_C TInt | SetAudioEnabled(TBool) |
| IMPORT_C TInt | SetCameraHandle(TInt) |
| IMPORT_C TInt | SetMaxFileSize(TInt) |
| IMPORT_C TInt | SetVideoBitRate(TInt) |
| IMPORT_C TInt | SetVideoCodec(const TDesC8 &) |
| IMPORT_C TInt | SetVideoFormat(TUid) |
| IMPORT_C TInt | SetVideoFrameSize(TSize) |
| Inherited Attributes | |
|---|---|
| RMMFCustomCommandsBase::iController | |
| RMMFCustomCommandsBase::iDestinationPckg | |
| Inherited Functions | |
|---|---|
| RMMFCustomCommandsBase::RMMFCustomCommandsBase(RMMFController &,TUid) | |
Client class to access functionality specific to a video recorder 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 | RMMFVideoRecordControllerCustomCommands | ( | 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 | ) | const |
Adds meta data to the clip.
| Parameters | |
|---|---|
| aNewEntry | The details of the new entry to be added. |
| 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 TInt | GetSupportedSinkVideoTypes | ( | CDesC8Array & | aDataTypes | ) | const |
Gets the supported sink video types.
| Parameters | |
|---|---|
| aDataTypes | The supported data types. |
| IMPORT_C TInt | Prepare | ( | ) | const |
Prepares the controller for recording. This should be called before the first attempt to record
with the controller.
| IMPORT_C void | ReplaceMetaDataEntryL | ( | TInt | aIndex, |
| const CMMFMetaDataEntry & | aNewEntry | |||
| ) | const | |||
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. |
Sets the maximum size of the recorded clip, in bytes.
KMMFNoMaxClipSize which signifies no maximum file size.
| Parameters | |
|---|---|
| aMaxSize | The maximum size of the recorded clip, in bytes. This can be called with the parameter |