Symbian
 Developer Library

SYMBIAN OS V9.1

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Location: Mda\Client\Utility.h
Link against: mediaclient.lib

Class CMdaServer

class CMdaServer : public CBase;

Description

This class has been deprecated in 7.0s.

Derivation

Members

Defined in CMdaServer:
AddListenerL(), NewL(), RemoveListener(), ~CMdaServer()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CMdaServer *NewL();

Description

Connects to and starts the media server.

Return value

CMdaServer *

The connected session with the media server.


~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()

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()

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.