Callback interface between SMIL engine and player application.
|Public Member Functions|
|TBool||EvaluateContentControlAttribute (const TDesC &, const TDesC &)|
|CCoeControl *||GetControl (const CSmilPresentation *)|
|TRect||GetDimensions (const CSmilPresentation *)|
|MSmilMediaFactory *||GetMediaFactory (const CSmilPresentation *)|
|MSmilTransitionFactory *||GetTransitionFactory (const CSmilPresentation *)|
|void||OpenDocumentL (const TDesC &, const CSmilAnchor *, const CSmilPresentation *)|
|void||PresentationEvent ( TInt , const CSmilPresentation *, const TDesC &)|
|void||Redraw ( TRect , CSmilPresentation *)|
|Public Member Enumerations|
EStarted , EStopped , EPaused , EResumed , ESeeked , EStalled , EMediaNotFound , EEndReached , ELastSlideReached
|TBool||EvaluateContentControlAttribute||(||const TDesC &||aName,|
|const TDesC &||aValue|
Evaluate a content control attribute for true or false. Attributes systemOperatingSystem systemCPU systemScreenSize systemScreenDepth are handled inside the SMIL engine, the rest are passed to this method.
|CCoeControl *||GetControl||(||const CSmilPresentation *||aPres||)||[pure virtual]|
Return the EIKON GUI control that is used as the view for the given presentation.
SMIL Engine never calls this method. It might be used by implementations of MSmilMediaRenderer interface.
|TRect||GetDimensions||(||const CSmilPresentation *||aPres||)||[pure virtual]|
Return the dimensions of the drawing surface
|MSmilMediaFactory *||GetMediaFactory||(||const CSmilPresentation *||aPres||)||const [pure virtual]|
Return the media factory object that is responsible of creating the media renderers
|MSmilTransitionFactory *||GetTransitionFactory||(||const CSmilPresentation *||aPres||)||const [pure virtual]|
Return the transition factory object that is responsible of creating the transition renderers
|void||OpenDocumentL||(||const TDesC &||aUrl,|
|const CSmilAnchor *||aAnchor,|
|const CSmilPresentation *||aPres|
This method is called by the engine as a result of hyperlink activation. Player should open the given (relative to the presentation base) url. However, the current presentation MUST NOT be deleted during execution of this method, as this method is invoked by the current presentation,
aAnchor - contains addition information about the link. can be 0.
source/destination states: EPlay - (continue) play the presentation EStop - stop the source presentation or open destination presentation in stopped state EPause - pause the source presentation, continue it after, destination finishes
3GPP profile does not require respecting these states, aAnchor may be ignored
|const CSmilPresentation *||aPres,|
|const TDesC &||aText = TPtrC ()|
Invoked when a presentation state changes. aEvent is EStarted - presentation started playing, EStopped - presentation was stopped, EPaused - presentation was paused EResumed - paused presentation was resumed ESeeked - presentation was seeked to a new position on timeline EMediaNotFound - opening media failed, aText contains the media url or EEndReached - presentation has reached its end time. whether it is paused or stopped depends on EndAction setting. one of the negative system wide error codes (from a trapped leave inside engine RunL() method). In this case the playing presentation is stopped automatically and the presentation can not be restarted.
The engine calls this method to initiate redrawing of the given area. Implementation of this method should in turn call Draw method of the given presentation object.
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.