RMMFVideoRecordControllerCustomCommands Class Reference

class RMMFVideoRecordControllerCustomCommands : public RMMFCustomCommandsBase

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.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

RMMFVideoRecordControllerCustomCommands(RMMFController &)

IMPORT_CRMMFVideoRecordControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s

Parameters

RMMFController & aControllerThe client side controller object to be used by this custom command interface.

Member Functions Documentation

AddMetaDataEntryL(const CMMFMetaDataEntry &)

IMPORT_C voidAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)const

Adds meta data to the clip.

Since
7.0s

Parameters

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

DoGetCDesC8ArrayL(CDesC8Array &, TMMFVideoRecordControllerMessages)

voidDoGetCDesC8ArrayL(CDesC8Array &aArray,
TMMFVideoRecordControllerMessagesaIpc
)const [private]

DoGetFourCCArrayL(RArray< TFourCC > &)

voidDoGetFourCCArrayL(RArray< TFourCC > &aArray)const [private]

Parameters

RArray< TFourCC > & aArray

GetAudioEnabled(TBool &)

IMPORT_C TIntGetAudioEnabled(TBool &aEnabled)const

Retrieves whether audio is enabled.

Since
7.0s

Parameters

TBool & aEnabledA boolean indicating whether audio is enabled.

GetRecordTimeAvailable(TTimeIntervalMicroSeconds &)

IMPORT_C TIntGetRecordTimeAvailable(TTimeIntervalMicroSeconds &aTime)const

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

Since
7.0s

Parameters

TTimeIntervalMicroSeconds & aTimeThe record time available, in microseconds.

GetSupportedSinkAudioTypes(RArray< TFourCC > &)

IMPORT_C TIntGetSupportedSinkAudioTypes(RArray< TFourCC > &aSupportedDataTypes)const

Gets the supported sink audio types.

Since
7.0s

Parameters

RArray< TFourCC > & aSupportedDataTypesThe supported data types.

GetSupportedSinkVideoTypes(CDesC8Array &)

IMPORT_C TIntGetSupportedSinkVideoTypes(CDesC8Array &aDataTypes)const

Gets the supported sink video types.

Since
7.0s

Parameters

CDesC8Array & aDataTypesThe supported data types.

Prepare()

IMPORT_C TIntPrepare()const

Prepares the controller for recording. This should be called before the first attempt to record with the controller.

Since
7.0s

RemoveMetaDataEntry(TInt)

IMPORT_C TIntRemoveMetaDataEntry(TIntaIndex)const

Removes a meta data entry from the clip.

Since
7.0s

Parameters

TInt aIndexThe ID of the meta data entry to delete.

ReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &)

IMPORT_C voidReplaceMetaDataEntryL(TIntaIndex,
const CMMFMetaDataEntry &aNewEntry
)const

Replaces a meta data in the clip.

Since
7.0s

Parameters

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

SetAudioBitRate(TInt)

IMPORT_C TIntSetAudioBitRate(TIntaBitRate)const

Sets the audio bit rate.

Since
7.0s

Parameters

TInt aBitRateThe bit rate of the audio stream.

SetAudioCodec(TFourCC)

IMPORT_C TIntSetAudioCodec(TFourCCaAudioCodec)const

Sets the audio codec for recording.

Since
7.0s

Parameters

TFourCC aAudioCodecThe FourCC code of the audio codec.

SetAudioEnabled(TBool)

IMPORT_C TIntSetAudioEnabled(TBoolaEnable)const

Sets whether audio is enabled.

Since
7.0s

Parameters

TBool aEnableA boolean indicating if audio should be enabled.

SetCameraHandle(TInt)

IMPORT_C TIntSetCameraHandle(TIntaCameraHandle)const

Sets the handle of the camera to use.

Since
7.0s

Parameters

TInt aCameraHandleThe handle of the camera to use.

SetMaxFileSize(TInt)

IMPORT_C TIntSetMaxFileSize(TIntaMaxSize)const

Sets the maximum size of the recorded clip, in bytes.

Since
7.0s

Parameters

TInt aMaxSizeThe maximum size of the recorded clip, in bytes. This can be called with the parameter KMMFNoMaxClipSize which signifies no maximum file size.

SetVideoBitRate(TInt)

IMPORT_C TIntSetVideoBitRate(TIntaBitRate)const

Sets the video bit rate.

Since
7.0s

Parameters

TInt aBitRateThe bit rate of the video stream.

SetVideoCodec(const TDesC8 &)

IMPORT_C TIntSetVideoCodec(const TDesC8 &aVideoCodec)const

Sets the video codec for recording.

Since
7.0s

Parameters

const TDesC8 & aVideoCodecThe MIME type of the video codec.

SetVideoFormat(TUid)

IMPORT_C TIntSetVideoFormat(TUidaVideoFormatUid)const

Sets the format for the video to record.

Since
7.0s

Parameters

TUid aVideoFormatUidThe UID of the video format.

SetVideoFrameSize(TSize)

IMPORT_C TIntSetVideoFrameSize(TSizeaVideoFrameSize)const

Sets the frame size of the clip.

Since
7.0s

Parameters

TSize aVideoFrameSizeThe frame size, in pixels.