MMMFVideoRecordControllerCustomCommandImplementor Class Reference

class MMMFVideoRecordControllerCustomCommandImplementor

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

Member Functions Documentation

MvrcAddMetaDataEntryL(const CMMFMetaDataEntry &)

voidMvrcAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)[pure virtual]

Adds meta data to the clip.

7.0s

Parameters

const CMMFMetaDataEntry & aNewEntryThe details of the new entry to be added.

MvrcGetAudioEnabledL(TBool &)

voidMvrcGetAudioEnabledL(TBool &aEnabled)[pure virtual]

Indicates if the audio is enabled.

7.0s

Parameters

TBool & 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.

7.0s

Parameters

TTimeIntervalMicroSeconds & aTimeThe record time available, in microseconds.

MvrcGetSupportedSinkAudioTypesL(RArray< TFourCC > &)

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

Gets the supported sink audio types.

One of the system-wide error codes.

7.0s

Parameters

RArray< TFourCC > & aDataTypesThe supported data types.

MvrcGetSupportedSinkVideoTypesL(CDesC8Array &)

voidMvrcGetSupportedSinkVideoTypesL(CDesC8Array &aDataTypes)[pure virtual]

Gets the supported sink video types.

One of the system-wide error codes.

7.0s

Parameters

CDesC8Array & aDataTypesThe supported data types.

MvrcPrepareL()

voidMvrcPrepareL()[pure virtual]

Prepares the controller for recording. This needs to be called before the first call to Record().

7.0s

MvrcRemoveMetaDataEntryL(TInt)

voidMvrcRemoveMetaDataEntryL(TIntaIndex)[pure virtual]

Removes a meta data entry from the clip.

7.0s

Parameters

TInt 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.

7.0s

Parameters

TInt aIndexThe ID of the meta data entry to replace.
const CMMFMetaDataEntry & aNewEntryThe details of the new entry to be added.

MvrcSetAudioBitRateL(TInt &)

voidMvrcSetAudioBitRateL(TInt &aBitRate)[pure virtual]

Sets the audio bit rate.

One of the system-wide error codes.

7.0s

Parameters

TInt & aBitRateThe bit rate of the audio stream.

MvrcSetAudioCodecL(TFourCC)

voidMvrcSetAudioCodecL(TFourCCaAudioCodec)[pure virtual]

Sets the audio codec for recording.

One of the system-wide error codes.

7.0s

Parameters

TFourCC aAudioCodecThe FourCC code of the audio codec.

MvrcSetAudioEnabledL(TBool)

voidMvrcSetAudioEnabledL(TBoolaEnable)[pure virtual]

Sets whether audio is enabled.

7.0s

Parameters

TBool aEnableA boolean indicating if audio is enabled.

MvrcSetCameraHandleL(TInt)

voidMvrcSetCameraHandleL(TIntaCameraHandle)[pure virtual]

Sets the handle of the camera to use for recording.

7.0s

Parameters

TInt aCameraHandle

MvrcSetMaxFileSizeL(TInt)

voidMvrcSetMaxFileSizeL(TIntaMaxFileSize)[pure virtual]

Sets the maximum file size.

7.0s

Parameters

TInt aMaxFileSizeThe maximum file size allowed for recording. This can be called with the parameter KMMFNoMaxClipSize which signifies no maximum file size.

MvrcSetVideoBitRateL(TInt &)

voidMvrcSetVideoBitRateL(TInt &aBitRate)[pure virtual]

Sets the video bit rate.

One of the system-wide error codes.

7.0s

Parameters

TInt & aBitRateThe bit rate of the video stream. This can be called with the parameter KMMFVariableVideoBitRate which specifies a variable bit rate.

MvrcSetVideoCodecL(const TDesC8 &)

voidMvrcSetVideoCodecL(const TDesC8 &aVideoCodec)[pure virtual]

Sets the video codec for recording.

One of the system-wide error codes.

7.0s

Parameters

const TDesC8 & aVideoCodecThe MIME type of the video codec.

MvrcSetVideoFormatL(TUid)

voidMvrcSetVideoFormatL(TUidaVideoFormatUid)[pure virtual]

Sets the format for the video to record.

One of the system-wide error codes.

7.0s

Parameters

TUid aVideoFormatUidThe UID of the video format.

MvrcSetVideoFrameSizeL(TSize)

voidMvrcSetVideoFrameSizeL(TSizeaFrameSize)[pure virtual]

Sets the frame size for the video recording.

7.0s

Parameters

TSize aFrameSizeThe frame size for recording.