RMMFVideoRecordControllerCustomCommands Class Reference

#include "mmfstandardcustomcommands.h"

Link against: mmfstandardcustomcommands.lib

class RMMFVideoRecordControllerCustomCommands : public RMMFCustomCommandsBase

Inherits from

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.

Since
7.0s

Constructor & Destructor Documentation

RMMFVideoRecordControllerCustomCommands ( RMMFController & )

IMPORT_CRMMFVideoRecordControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s
ParameterDescription
aControllerThe client side controller object to be used by this custom command interface.

Member Function Documentation

AddMetaDataEntryL ( const CMMFMetaDataEntry & )

IMPORT_C voidAddMetaDataEntryL(const CMMFMetaDataEntry &aNewEntry)const

Adds meta data to the clip.

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

Returns: One of the system-wide error codes.

GetAudioEnabled ( TBool & )

IMPORT_C TIntGetAudioEnabled(TBool &aEnabled)const

Retrieves whether audio is enabled.

Since
7.0s
ParameterDescription
aEnabledA boolean indicating whether audio is enabled.

Returns: One of the system-wide error codes.

GetRecordTimeAvailable ( TTimeIntervalMicroSeconds & )

IMPORT_C TIntGetRecordTimeAvailable(TTimeIntervalMicroSeconds &aTime)const

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

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

Returns: One of the system-wide error codes.

GetSupportedSinkAudioTypes ( RArray< TFourCC > & )

IMPORT_C TIntGetSupportedSinkAudioTypes(RArray< TFourCC > &aSupportedDataTypes)const

Gets the supported sink audio types.

Since
7.0s
ParameterDescription
aSupportedDataTypesThe supported data types.

GetSupportedSinkVideoTypes ( CDesC8Array & )

IMPORT_C TIntGetSupportedSinkVideoTypes(CDesC8Array &aDataTypes)const

Gets the supported sink video types.

Since
7.0s
ParameterDescription
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

Returns: One of the system-wide error codes.

RemoveMetaDataEntry ( TInt )

IMPORT_C TIntRemoveMetaDataEntry(TIntaIndex)const

Removes a meta data entry from the clip.

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

Returns: One of the system-wide error codes.

ReplaceMetaDataEntryL ( TInt, const CMMFMetaDataEntry & )

IMPORT_C voidReplaceMetaDataEntryL(TIntaIndex,
const CMMFMetaDataEntry &aNewEntry
)const

Replaces a meta data in the clip.

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

SetAudioBitRate ( TInt )

IMPORT_C TIntSetAudioBitRate(TIntaBitRate)const

Sets the audio bit rate.

Since
7.0s
ParameterDescription
aBitRateThe bit rate of the audio stream.

Returns: One of the system-wide error codes.

SetAudioCodec ( TFourCC )

IMPORT_C TIntSetAudioCodec(TFourCCaAudioCodec)const

Sets the audio codec for recording.

Since
7.0s
ParameterDescription
aAudioCodecThe FourCC code of the audio codec.

Returns: One of the system-wide error codes.

SetAudioEnabled ( TBool )

IMPORT_C TIntSetAudioEnabled(TBoolaEnable)const

Sets whether audio is enabled.

Since
7.0s
ParameterDescription
aEnableA boolean indicating if audio should be enabled.

Returns: One of the system-wide error codes.

SetCameraHandle ( TInt )

IMPORT_C TIntSetCameraHandle(TIntaCameraHandle)const

Sets the handle of the camera to use.

Since
7.0s
ParameterDescription
aCameraHandleThe handle of the camera to use.

Returns: One of the system-wide error codes.

SetMaxFileSize ( TInt )

IMPORT_C TIntSetMaxFileSize(TIntaMaxSize)const

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

Since
7.0s
ParameterDescription
aMaxSizeThe 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 TIntSetVideoBitRate(TIntaBitRate)const

Sets the video bit rate.

Since
7.0s
ParameterDescription
aBitRateThe bit rate of the video stream.

Returns: One of the system-wide error codes.

SetVideoCodec ( const TDesC8 & )

IMPORT_C TIntSetVideoCodec(const TDesC8 &aVideoCodec)const

Sets the video codec for recording.

Since
7.0s
ParameterDescription
aVideoCodecThe MIME type of the video codec.

Returns: One of the system-wide error codes.

SetVideoFormat ( TUid )

IMPORT_C TIntSetVideoFormat(TUidaVideoFormatUid)const

Sets the format for the video to record.

Since
7.0s
ParameterDescription
aVideoFormatUidThe UID of the video format.

Returns: This method will return with one of the system-wide error codes.

SetVideoFrameSize ( TSize )

IMPORT_C TIntSetVideoFrameSize(TSizeaVideoFrameSize)const

Sets the frame size of the clip.

Since
7.0s
ParameterDescription
aVideoFrameSizeThe frame size, in pixels.

Returns: One of the system-wide error codes.