Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfstandardcustomcommands.h>

Class MMMFResourceNotificationCustomCommandImplementor

class MMMFResourceNotificationCustomCommandImplementor;

Description

Mixin class to be derived from controller plugins that could support the audio resource notification custom commands.

Members

Defined in MMMFResourceNotificationCustomCommandImplementor:


Member functions


MarnRegisterAsClientL(TUid,const TDesC8 &)

virtual void MarnRegisterAsClientL(TUid aEventType, const TDesC8 &aNotificationRegistrationData)=0;

Description

Registers the Event for Notification when resource is available.

Parameters

TUid aEventType

The event which the client is notified of.

const TDesC8 &aNotificationRegistrationData

Notification registration specific data, which has been reserved for future use.

Leave codes

This

method may leave with one of the system-wide error codes. KErrNotReady if there is no data sink.


MarnCancelRegisterAsClientL(TUid)

virtual void MarnCancelRegisterAsClientL(TUid aEventType)=0;

Description

Cancels the registered notification event.

Parameters

TUid aEventType

The event to cancel.

Leave codes

This

method may leave with one of the system-wide error codes. KErrNotReady if there is no data sink.


MarnGetResourceNotificationDataL(TUid,TDes8 &)

virtual void MarnGetResourceNotificationDataL(TUid aEventType, TDes8 &aNotificationData)=0;

Description

Gets the notification data for the event.

Parameters

TUid aEventType

The event which the client is notified of.

TDes8 &aNotificationData

The Notification data for the client to resume playing.

Leave codes

This

method may leave with one of the system-wide error codes. KErrNotReady if there is no data sink, KErrArgument if unable to provide the notification data.


MarnWillResumePlayL()

virtual void MarnWillResumePlayL()=0;

Description

Waits for the client to resume the play even after the default timer expires.

Leave codes

This

method may leave with one of the system-wide error codes. KErrNotReady if there is no data sink.