MMMFVideoRecordControllerCustomCommandImplementor Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

class MMMFVideoRecordControllerCustomCommandImplementor
Public Member Functions
pure virtual voidMvrcAddMetaDataEntryL(const CMMFMetaDataEntry &)
pure virtual voidMvrcGetAudioEnabledL(TBool &)
pure virtual voidMvrcGetRecordTimeAvailableL(TTimeIntervalMicroSeconds &)
pure virtual voidMvrcGetSupportedSinkAudioTypesL(RArray< TFourCC > &)
pure virtual voidMvrcGetSupportedSinkVideoTypesL(CDesC8Array &)
pure virtual voidMvrcPrepareL()
pure virtual voidMvrcRemoveMetaDataEntryL(TInt)
pure virtual voidMvrcReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &)
pure virtual voidMvrcSetAudioBitRateL(TInt &)
pure virtual voidMvrcSetAudioCodecL(TFourCC)
pure virtual voidMvrcSetAudioEnabledL(TBool)
pure virtual voidMvrcSetCameraHandleL(TInt)
pure virtual voidMvrcSetMaxFileSizeL(TInt)
pure virtual voidMvrcSetVideoBitRateL(TInt &)
pure virtual voidMvrcSetVideoCodecL(const TDesC8 &)
pure virtual voidMvrcSetVideoFormatL(TUid)
pure virtual voidMvrcSetVideoFrameSizeL(TSize)

Detailed Description

Mixin class to be derived from controller plugins that could support the video record controller

custom commands.

Member Function Documentation

MvrcAddMetaDataEntryL ( const CMMFMetaDataEntry & )

voidMvrcAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)[pure virtual]

Adds meta data to the clip.

Since
7.0s
Parameters
aNewEntryThe details of the new entry to be added.

MvrcGetAudioEnabledL ( TBool & )

voidMvrcGetAudioEnabledL(TBool &aEnabled)[pure virtual]

Indicates if the audio is enabled.

Since
7.0s
Parameters
aEnabledA boolean indicating if the audio is enabled.

MvrcGetRecordTimeAvailableL ( TTimeIntervalMicroSeconds & )

voidMvrcGetRecordTimeAvailableL(TTimeIntervalMicroSeconds &aTime)[pure virtual]

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

Since
7.0s
Parameters
aTimeThe record time available, in microseconds.

MvrcGetSupportedSinkAudioTypesL ( RArray< TFourCC > & )

voidMvrcGetSupportedSinkAudioTypesL(RArray< TFourCC > &aDataTypes)[pure virtual]

Gets the supported sink audio types.

Since
7.0s
Parameters
aDataTypesThe supported data types.
Return Value
One of the system-wide error codes.

MvrcGetSupportedSinkVideoTypesL ( CDesC8Array & )

voidMvrcGetSupportedSinkVideoTypesL(CDesC8Array &aDataTypes)[pure virtual]

Gets the supported sink video types.

Since
7.0s
Parameters
aDataTypesThe supported data types.
Return Value
One of the system-wide error codes.

MvrcPrepareL ( )

voidMvrcPrepareL()[pure virtual]

Prepares the controller for recording. This needs to be called before

the first call to Record().

Since
7.0s

MvrcRemoveMetaDataEntryL ( TInt )

voidMvrcRemoveMetaDataEntryL(TIntaIndex)[pure virtual]

Removes a meta data entry from the clip.

Since
7.0s
Parameters
aIndexThe ID of the meta data entry to delete.

MvrcReplaceMetaDataEntryL ( TInt, const CMMFMetaDataEntry & )

voidMvrcReplaceMetaDataEntryL(TIntaIndex,
const CMMFMetaDataEntry &aNewEntry
)[pure virtual]

Replaces a meta data in the clip.

Since
7.0s
Parameters
aIndexThe ID of the meta data entry to replace.
aNewEntryThe details of the new entry to be added.

MvrcSetAudioBitRateL ( TInt & )

voidMvrcSetAudioBitRateL(TInt &aBitRate)[pure virtual]

Sets the audio bit rate.

Since
7.0s
Parameters
aBitRateThe bit rate of the audio stream.
Return Value
One of the system-wide error codes.

MvrcSetAudioCodecL ( TFourCC )

voidMvrcSetAudioCodecL(TFourCCaAudioCodec)[pure virtual]

Sets the audio codec for recording.

Since
7.0s
Parameters
aAudioCodecThe FourCC code of the audio codec.
Return Value
One of the system-wide error codes.

MvrcSetAudioEnabledL ( TBool )

voidMvrcSetAudioEnabledL(TBoolaEnable)[pure virtual]

Sets whether audio is enabled.

Since
7.0s
Parameters
aEnableA boolean indicating if audio is enabled.

MvrcSetCameraHandleL ( TInt )

voidMvrcSetCameraHandleL(TIntaCameraHandle)[pure virtual]

Sets the handle of the camera to use for recording.

Since
7.0s

MvrcSetMaxFileSizeL ( TInt )

voidMvrcSetMaxFileSizeL(TIntaMaxFileSize)[pure virtual]

Sets the maximum file size.

KMMFNoMaxClipSize which signifies no maximum file size.

Since
7.0s
Parameters
aMaxFileSizeThe maximum file size allowed for recording. This can be called with the parameter

MvrcSetVideoBitRateL ( TInt & )

voidMvrcSetVideoBitRateL(TInt &aBitRate)[pure virtual]

Sets the video bit rate.

KMMFVariableVideoBitRate which specifies a variable bit rate.

Since
7.0s
Parameters
aBitRateThe bit rate of the video stream. This can be called with the parameter
Return Value
One of the system-wide error codes.

MvrcSetVideoCodecL ( const TDesC8 & )

voidMvrcSetVideoCodecL(const TDesC8 &aVideoCodec)[pure virtual]

Sets the video codec for recording.

Since
7.0s
Parameters
aVideoCodecThe MIME type of the video codec.
Return Value
One of the system-wide error codes.

MvrcSetVideoFormatL ( TUid )

voidMvrcSetVideoFormatL(TUidaVideoFormatUid)[pure virtual]

Sets the format for the video to record.

Since
7.0s
Parameters
aVideoFormatUidThe UID of the video format.
Return Value
One of the system-wide error codes.

MvrcSetVideoFrameSizeL ( TSize )

voidMvrcSetVideoFrameSizeL(TSizeaFrameSize)[pure virtual]

Sets the frame size for the video recording.

Since
7.0s
Parameters
aFrameSizeThe frame size for recording.