RMMFVideoRecordControllerCustomCommands Class Reference
#include
"mmfstandardcustomcommands.h"
Link against: mmfstandardcustomcommands.lib
class RMMFVideoRecordControllerCustomCommands : public RMMFCustomCommandsBase |
Inherits from
- RMMFVideoRecordControllerCustomCommands
Detailed Description
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.
Constructor & Destructor Documentation
RMMFVideoRecordControllerCustomCommands ( RMMFController & )
IMPORT_C | RMMFVideoRecordControllerCustomCommands | ( | 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. |
Returns: One of the system-wide error codes.
GetAudioEnabled ( TBool & )
IMPORT_C TInt | GetAudioEnabled | ( | TBool & | aEnabled | ) | const |
Retrieves whether audio is enabled.
Parameter | Description | aEnabled | A boolean indicating whether audio is enabled. |
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.
GetSupportedSinkAudioTypes ( RArray< TFourCC > & )
Gets the supported sink audio types.
Parameter | Description | aSupportedDataTypes | The supported data types. |
GetSupportedSinkVideoTypes ( CDesC8Array & )
Gets the supported sink video types.
Parameter | Description | aDataTypes | The supported data types. |
Prepare ( )
IMPORT_C TInt | Prepare | ( | ) | const |
Prepares the controller for recording. This should be called before the first attempt to record with the controller.
Returns: One of the system-wide error codes.
RemoveMetaDataEntry ( TInt )
IMPORT_C TInt | RemoveMetaDataEntry | ( | TInt | aIndex | ) | const |
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. |
SetAudioBitRate ( TInt )
IMPORT_C TInt | SetAudioBitRate | ( | TInt | aBitRate | ) | const |
Parameter | Description | aBitRate | The bit rate of the audio stream. |
Returns: One of the system-wide error codes.
SetAudioCodec ( TFourCC )
Sets the audio codec for recording.
Parameter | Description | aAudioCodec | The FourCC code of the audio codec. |
Returns: One of the system-wide error codes.
SetAudioEnabled ( TBool )
IMPORT_C TInt | SetAudioEnabled | ( | TBool | aEnable | ) | const |
Sets whether audio is enabled.
Parameter | Description | aEnable | A boolean indicating if audio should be enabled. |
Returns: One of the system-wide error codes.
SetCameraHandle ( TInt )
IMPORT_C TInt | SetCameraHandle | ( | TInt | aCameraHandle | ) | const |
Sets the handle of the camera to use.
Parameter | Description | aCameraHandle | The handle of the camera to use. |
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. This can be called with the parameter KMMFNoMaxClipSize which signifies no maximum file size. |
Returns: One of the system-wide error codes.
SetVideoBitRate ( TInt )
IMPORT_C TInt | SetVideoBitRate | ( | TInt | aBitRate | ) | const |
Parameter | Description | aBitRate | The bit rate of the video stream. |
Returns: One of the system-wide error codes.
SetVideoCodec ( const TDesC8 & )
IMPORT_C TInt | SetVideoCodec | ( | const TDesC8 & | aVideoCodec | ) | const |
Sets the video codec for recording.
Parameter | Description | aVideoCodec | The MIME type of the video codec. |
Returns: One of the system-wide error codes.
SetVideoFormat ( TUid )
IMPORT_C TInt | SetVideoFormat | ( | TUid | aVideoFormatUid | ) | const |
Sets the format for the video to record.
Parameter | Description | aVideoFormatUid | The UID of the video format. |
Returns: This method will return with one of the system-wide error codes.
SetVideoFrameSize ( TSize )
IMPORT_C TInt | SetVideoFrameSize | ( | TSize | aVideoFrameSize | ) | const |
Sets the frame size of the clip.
Parameter | Description | aVideoFrameSize | The frame size, in pixels. |
Returns: One of the system-wide error codes.