Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <Utility.h>
Link against: mediaclient.lib

Class CMdaServer

Interface status: deprecated

class CMdaServer : public CBase;

Description

This class has been deprecated in 7.0s.

Derivation

Members

Defined in CMdaServer:

Inherited from CBase:


Construction and destruction


NewL()

Interface status: deprecated Inherited from: CMdaServer

IMPORT_C static CMdaServer* NewL();

Description

Connects to and starts the media server.

Return value

CMdaServer *

The connected session with the media server.


~CMdaServer()

Interface status: deprecated Inherited from: CMdaServer

IMPORT_C ~CMdaServer();

Description

Destructor. Closes the session with the media server.

Panic codes

EMdaUtilServerListenerListNotEmpty

Not all event listeners that were added to the server have been removed.

EMdaClientBaseSessionHasOpenObjects

The client has resources still open in the server.

[Top]


Member functions


AddListenerL(MMdaObjectEventListener &)

Interface status: deprecated Inherited from: CMdaServer

IMPORT_C void AddListenerL(MMdaObjectEventListener &aListener);

Description

Adds an object event listener, so that events can be passed to it.

Parameters

MMdaObjectEventListener &aListener

The object event listener to add to the list.


RemoveListener(MMdaObjectEventListener &)

Interface status: deprecated Inherited from: CMdaServer

IMPORT_C void RemoveListener(MMdaObjectEventListener &aListener);

Description

Removes an object event listener so that events can no longer be passed to it. The specified listener must be in the list, or a panic occurs.

Parameters

MMdaObjectEventListener &aListener

The object event listener to remove from the list.