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.
Inherits from
-
RMMFVideoRecordControllerCustomCommands
Constructor & Destructor Documentation
RMMFVideoRecordControllerCustomCommands(RMMFController &)
IMPORT_C
|
RMMFVideoRecordControllerCustomCommands
|
(
|
RMMFController
&
|
aController
|
)
|
|
Parameters
RMMFController
& aController
|
The client side controller object to be used by this custom command interface.
|
Member Functions Documentation
AddMetaDataEntryL(const CMMFMetaDataEntry &)
Adds meta data to the clip.
DoGetCDesC8ArrayL(CDesC8Array &, TMMFVideoRecordControllerMessages)
DoGetFourCCArrayL(RArray< TFourCC > &)
void
|
DoGetFourCCArrayL
|
(
|
RArray
<
TFourCC
> &
|
aArray
|
)
|
const [private]
|
GetAudioEnabled(TBool &)
IMPORT_C
TInt
|
GetAudioEnabled
|
(
|
TBool
&
|
aEnabled
|
)
|
const
|
Retrieves whether audio is enabled.
Parameters
TBool
& aEnabled
|
A boolean indicating whether audio is enabled.
|
GetRecordTimeAvailable(TTimeIntervalMicroSeconds &)
Gets the (possibly estimated) record time left in the clip.
GetSupportedSinkAudioTypes(RArray< TFourCC > &)
IMPORT_C
TInt
|
GetSupportedSinkAudioTypes
|
(
|
RArray
<
TFourCC
> &
|
aSupportedDataTypes
|
)
|
const
|
Gets the supported sink audio types.
Parameters
RArray
<
TFourCC
> & aSupportedDataTypes
|
The supported data types.
|
GetSupportedSinkVideoTypes(CDesC8Array &)
IMPORT_C
TInt
|
GetSupportedSinkVideoTypes
|
(
|
CDesC8Array
&
|
aDataTypes
|
)
|
const
|
Gets the supported sink video 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.
RemoveMetaDataEntry(TInt)
IMPORT_C
TInt
|
RemoveMetaDataEntry
|
(
|
TInt
|
aIndex
|
)
|
const
|
Removes a meta data entry from the clip.
Parameters
TInt
aIndex
|
The ID of the meta data entry to delete.
|
ReplaceMetaDataEntryL(TInt, const CMMFMetaDataEntry &)
Replaces a meta data in the clip.
Parameters
TInt
aIndex
|
The ID of the meta data entry to replace.
|
const
CMMFMetaDataEntry
& aNewEntry
|
The details of the new entry to be added.
|
SetAudioBitRate(TInt)
IMPORT_C
TInt
|
SetAudioBitRate
|
(
|
TInt
|
aBitRate
|
)
|
const
|
Parameters
TInt
aBitRate
|
The bit rate of the audio stream.
|
SetAudioCodec(TFourCC)
IMPORT_C
TInt
|
SetAudioCodec
|
(
|
TFourCC
|
aAudioCodec
|
)
|
const
|
Sets the audio codec for recording.
Parameters
TFourCC
aAudioCodec
|
The FourCC code of the audio codec.
|
SetAudioEnabled(TBool)
IMPORT_C
TInt
|
SetAudioEnabled
|
(
|
TBool
|
aEnable
|
)
|
const
|
Sets whether audio is enabled.
Parameters
TBool
aEnable
|
A boolean indicating if audio should be enabled.
|
SetCameraHandle(TInt)
IMPORT_C
TInt
|
SetCameraHandle
|
(
|
TInt
|
aCameraHandle
|
)
|
const
|
Sets the handle of the camera to use.
Parameters
TInt
aCameraHandle
|
The handle of the camera to use.
|
SetMaxFileSize(TInt)
IMPORT_C
TInt
|
SetMaxFileSize
|
(
|
TInt
|
aMaxSize
|
)
|
const
|
Sets the maximum size of the recorded clip, in bytes.
Parameters
TInt
aMaxSize
|
The 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
TInt
|
SetVideoBitRate
|
(
|
TInt
|
aBitRate
|
)
|
const
|
Parameters
TInt
aBitRate
|
The bit rate of the video stream.
|
SetVideoCodec(const TDesC8 &)
IMPORT_C
TInt
|
SetVideoCodec
|
(
|
const
TDesC8
&
|
aVideoCodec
|
)
|
const
|
Sets the video codec for recording.
Parameters
const
TDesC8
& aVideoCodec
|
The MIME type of the video codec.
|
SetVideoFormat(TUid)
IMPORT_C
TInt
|
SetVideoFormat
|
(
|
TUid
|
aVideoFormatUid
|
)
|
const
|
Sets the format for the video to record.
Parameters
TUid
aVideoFormatUid
|
The UID of the video format.
|
SetVideoFrameSize(TSize)
IMPORT_C
TInt
|
SetVideoFrameSize
|
(
|
TSize
|
aVideoFrameSize
|
)
|
const
|
Sets the frame size of the clip.
Parameters
TSize
aVideoFrameSize
|
The frame size, in pixels.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.