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()
voidPassDestructorKey(TUid)
voidRelease()
TInt Start()
voidStop()

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)

voidPassDestructorKey(TUidaUid)[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 aUidThe Uid returned by REComSession::CreateImplementationL() or similar.

Release()

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

voidStop()[pure virtual]

This method is used to Stop the service.