MMMFSurfaceEventHandler Class Reference
class MMMFSurfaceEventHandler |
Member Functions Documentation
MmsehRemoveSurface(const TSurfaceId &)
void | MmsehRemoveSurface | ( | const TSurfaceId & | aId | ) | [pure virtual] |
MmsehSurfaceRemoved is called when the MultiMedia Framework indicates that the surface is to be removed. Clients should stop using the graphics surface identified by aId before returning from the callback. Further, clients should be prepared to receive a MmsehSurfaceCreated callback event with a new graphics surface to use.
Parameters
const TSurfaceId & aId | Surface id of graphics surface to be removed. |
MmsehSurfaceCreated(TInt, const TSurfaceId &, const TRect &, TVideoAspectRatio)
MmsehSurfaceCreated is called when a graphics surface has been created on an added display. Clients will only be notified of surfaces created on displays that they have added. MMF still owns the graphics surface and can request the surface to be released by the client. Before this method is called by CVideoPlayerUtility2 the graphics surface is registered with the Window Server.
TVideoAspectRatio
Parameters
TInt aDisplayId | Display id the surface was created on. |
const TSurfaceId & aId | surface Id of graphics surface created. |
const TRect & aCropRect | Crop rectangle. The crop rectangle is the area of graphics surface containing viewable video. |
TVideoAspectRatio aAspectRatio | Aspect ratio of video. |
MmsehSurfaceParametersChanged(const TSurfaceId &, const TRect &, TVideoAspectRatio)
MmsehSurfaceParametersChanged is called when either crop rectangle or aspect ratio of the surface changes.
Parameters
const TSurfaceId & aId | Surface id of graphics surface with changed parameters. |
const TRect & aCropRect | New crop rectangle, this may be identical to previous value. The crop rectangle is the area of graphics surface containing viewable video. |
TVideoAspectRatio aAspectRatio | New aspect ratio of video, this may be identical to previous value. |
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.