MAudioSvrService Class Reference

class MAudioSvrService

This is the interface for all audio service plugins. So Each Service plugin has to implement this interface.

Public Member Functions
TInt Load ()
void PassDestructorKey ( TUid )
void Release ()
TInt Start ()
void Stop ()

Member Functions Documentation

Load()

TInt Load ( ) [pure virtual]

This method is used to load or create the objects that are internally used by service plugin.

PassDestructorKey(TUid)

void PassDestructorKey ( TUid aUid ) [pure virtual]

This method is used to pass a destructor key for ECom. The passed UID must be retained for the lifetime of the plugin and, on a subsequent call to Release() , REComSession::DestroyedImplementation() must be called by the plugin, using the stored UID.

Parameters

TUid aUid The Uid returned by REComSession::CreateImplementationL() or similar.

Release()

void Release ( ) [pure virtual]

This method is used to destroy plugin. This is equivalent to destructor.

Start()

TInt Start ( ) [pure virtual]

This method is used to start the service.

Stop()

void Stop ( ) [pure virtual]

This method is used to Stop the service.