CMceDisplaySink Class Reference
class CMceDisplaySink : public CMceMediaSink |
Class representing display in MCE.
CMceDisplaySink can be used to show video on screen or as a viewfinder of the camera.
Enable and Disable operations to it are considered to be local, so they are not signalled to remote terminal.
mceclient.lib
Constructor & Destructor Documentation
CMceDisplaySink()
CMceDisplaySink | ( | ) | [private] |
~CMceDisplaySink()
IMPORT_C | ~CMceDisplaySink | ( | ) | |
Member Functions Documentation
ConstructL(CMceManager *)
CreateEndpointProxyL()
Called endpoint proxy must be created
DisableL()
IMPORT_C void | DisableL | ( | ) | [virtual] |
Disables the sink explicitly.
DisplayRectL()
IMPORT_C const TRect | DisplayRectL | ( | ) | |
Gets current display rectagle.
DisplaysAvailable()
IMPORT_C TInt | DisplaysAvailable | ( | ) | const |
Gets the number of available displays on the device.
EnableL()
IMPORT_C void | EnableL | ( | ) | [virtual] |
Enables the sink explicitly.
InitializeL(CMceManager *)
Parameters
CMceManager * aManager | the manager. Ownership is NOT transferred |
PriorityL()
IMPORT_C TUint | PriorityL | ( | ) | |
SetDisplay(RWindow &, CWindowGc &)
Parameters
RWindow & aWindow | handle to the display window of the user |
CWindowGc & aGc | graphics context of the user |
SetDisplayIndexL(TInt)
IMPORT_C void | SetDisplayIndexL | ( | TInt | aDisplayIndex | ) | |
Sets index of physical display to be used.
- leave
- KErrNotSupported if requested display cannot be used
Parameters
TInt aDisplayIndex | Index of the display to be used; number of available displays can be retrieved by calling CMceDisplaySink::DisplaysAvailable |
SetDisplayRectL(const TRect &)
IMPORT_C void | SetDisplayRectL | ( | const TRect & | aRect | ) | |
Sets display rectangle. Display data is drawn to the given area.
Parameters
const TRect & aRect | display area |
SetITCValueL(TUint8, TInt)
SetPriorityL(TUint)
IMPORT_C void | SetPriorityL | ( | TUint | aPriority | ) | |
SetRotationL(TRotation)
IMPORT_C void | SetRotationL | ( | TRotation | aRotation | ) | |
UsesEndpointProxy()
TBool
| UsesEndpointProxy | ( | ) | const [virtual] |
Should this endpoint use endpoint proxy
Member Enumerations Documentation
Enum TRotation
Enumerators
ENone | |
EClockwise90Degree | |
EClockwise180Degree | |
EClockwise270Degree | |
Member Data Documentation
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.