Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: mmfstandardcustomcommands.h

Class MMMFResourceNotificationCustomCommandImplementor

class MMMFResourceNotificationCustomCommandImplementor;

Description

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

Members

Defined in MMMFResourceNotificationCustomCommandImplementor:
MarnCancelRegisterAsClientL(), MarnGetResourceNotificationDataL(), MarnRegisterAsClientL(), MarnWillResumePlayL()


Member functions


MarnRegisterAsClientL()

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

Description

Registers the Event for Notification when resource is avaliable.

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

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

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.