CTsFastSwapPreviewProvider Class Reference
class CTsFastSwapPreviewProvider : public CBase |
Preview provider API class. Applications (window groups) must be registered before screenshots can be received. Also, closed apps should be unregistered to save resources. TakePreview() can be called to take a screenshot right away. A client needing notifications has to create an instance so that screenshots can be delivered to it via MTsFastSwapPreviewObserver.
MTsFastSwapPreviewObserver tspreviewprovider.lib
Inherits from
- CTsFastSwapPreviewProvider
Private Attributes |
---|
CTsFastSwapPreviewProviderClient * | iClient |
Constructor & Destructor Documentation
CTsFastSwapPreviewProvider()
CTsFastSwapPreviewProvider | ( | ) | [private] |
~CTsFastSwapPreviewProvider()
IMPORT_C | ~CTsFastSwapPreviewProvider | ( | ) | |
Member Functions Documentation
AckPreview(TInt)
IMPORT_C void | AckPreview | ( | TInt | aPreviewId | ) | |
Ack preview ready message
ChangeScreen(TInt)
IMPORT_C TInt | ChangeScreen | ( | TInt | aScreenId | ) | |
ConstructL(MTsFastSwapPreviewObserver &)
NewL(MTsFastSwapPreviewObserver &)
Register(TInt)
Registers window group for screenshots.
Parameters
TInt aWgId | Window group id. |
SetPreviewParam(const TSize &, TDisplayMode)
Defines the dimensions and format of the screenshots. TDisplayMode.
Parameters
const TSize & aSize | Size to be used for the preview screenshots. |
TDisplayMode aMode | Color depth to be used for the preview screenshots. |
TakePreview()
IMPORT_C TInt | TakePreview | ( | ) | |
Unregister(TInt)
Unregisters window group.
Parameters
TInt aWgId | Window group id. |
Member Data Documentation
CTsFastSwapPreviewProviderClient * iClient
CTsFastSwapPreviewProviderClient * | iClient | [private] |
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.