Location:
mda\client\utility.h
Link against: n/a
MMdaObjectEventListener
Supported from 6.0
Interface class for receiving events from the media server.
Objects that implement this interface can be passed to CMdaServer::AddListenerL()
or RemoveListener()
. The media server calls the appropriate listener's MoelEventMissed()
or MoelEvent()
function on receiving an event from the media server, for example the audio output device signalling that it has finished playing the data passed to it.
Defined in MMdaObjectEventListener
:
MoelEvent()
, MoelEventMissed()
, MoelObject()
virtual const RMdaObject& MoelObject() const =0;
Returns the client-side handle to the object the listener can receive events from.
|
virtual void MoelEvent(const TMdaEvent& aEvent) =0;
Handles an event that occurred in the media server. Called by the CMdaServer
object that the listener has been added to.
|
virtual void MoelEventMissed() =0;
This function, rather than MoelEvent()
is called if the event's ID is EMdaEventMissed
. Events are stored when they are received and a missed event occurs when there are no spare slots.