class MCameraSnapshot2 |
This is a mixin class to be implemented by providers of the extension API for the extra features for camera snapshot.
Public Member Functions | |
---|---|
void | CreateHistogramImplFactoryL ( MImplementationFactory *&) |
void | DisableSnapshot () |
void | EnableSnapshot () |
void | GetSnapshotParametersL ( CCamera::CCameraSnapshot::TSnapshotParameters &) |
void | GetSnapshotStatusL ( CCamera::CCameraSnapshot::TSnapshotState &) |
void | PrepareSnapshotL (const CCamera::CCameraSnapshot::TSnapshotParameters &) |
void | Release () |
void | SelectSnapshotVideoFramesL ( CCamera::CCameraSnapshot::TSnapshotVideoFrames ) |
void | SetClientViewFinderId ( TInt ) |
void | SetSnapshotParametersL (const CCamera::CCameraSnapshot::TSnapshotParameters &) |
void | CreateHistogramImplFactoryL | ( | MImplementationFactory *& | aImplFactoryPtr | ) | const [pure virtual] |
Retrieves the concrete factory handle for the histogram implementation in order to use it specifically for a given snapshot.
MImplementationFactory *& aImplFactoryPtr | The concrete factory handle for the histogram implementation specific to the given snapshot. |
void | DisableSnapshot | ( | ) | [pure virtual] |
Deactivates the snapshot feature if it is active.
Once the snapshot has been deactivated, the client will no longer receive notifications about snapshots.
void | EnableSnapshot | ( | ) | [pure virtual] |
Activates the snapshot feature. Calls to this method when the snapshot feature is already active will be ignored.
The client will not receive snapshot notifications until the snapshot feature is activated.
Implementation shall use the observers: MCaptureImageObserver and MCaptureVideoObserver . Snapshot notifications will be send to the clients via these observers and not through events.
void | GetSnapshotParametersL | ( | CCamera::CCameraSnapshot::TSnapshotParameters & | aSnapshotParameters | ) | [pure virtual] |
Retrieves the snapshot parameters. ECam implementation may use a different size than that provided by this method.
This method is used to retrieve snapshot parameters.
CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParameters | Retrieves the currently used snapshot parameters. |
void | GetSnapshotStatusL | ( | CCamera::CCameraSnapshot::TSnapshotState & | aSnapshotState | ) | const [pure virtual] |
Retrieves the current status for the snapshot.
This method is used to retrieve the snapshot status.
CCamera::CCameraSnapshot::TSnapshotState & aSnapshotState | Retrieves information about the current snapshot state. |
void | PrepareSnapshotL | ( | const CCamera::CCameraSnapshot::TSnapshotParameters & | aSnapshotParameters | ) | [pure virtual] |
Sets the properties of the snapshot. ECam implementation may use a different size than that specified by this method.
This method is used to provide snapshot parameters.
const CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParameters | The snaspshot parameters. |
void | SelectSnapshotVideoFramesL | ( | CCamera::CCameraSnapshot::TSnapshotVideoFrames | aSnapshotVideoFrames | ) | [pure virtual] |
The method specifies the frames to be used from video captured data in order to create snapshot for video.
CCamera::CCameraSnapshot::TSnapshotVideoFrames aSnapshotVideoFrames | A TSnapshotVideoFrames used to specify the desired frames to be used for creating snapshots for video. |
void | SetClientViewFinderId | ( | TInt | aClientViewFinderId | ) | [pure virtual] |
Sets the client viewfinder on which the client snapshot will be displayed.
TInt aClientViewFinderId | The client viewfinder on which this client snapshot will be displayed. |
void | SetSnapshotParametersL | ( | const CCamera::CCameraSnapshot::TSnapshotParameters & | aSnapshotParameters | ) | [pure virtual] |
Sets/updates the snapshot parameters.
This method is used to set/update snapshot parameters.
const CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParameters | The desired snapshot parameters. |
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.