MMMFResourceNotificationCustomCommandImplementor Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

class MMMFResourceNotificationCustomCommandImplementor
Public Member Functions
pure virtual voidMarnCancelRegisterAsClientL(TUid)
pure virtual voidMarnGetResourceNotificationDataL(TUid, TDes8 &)
pure virtual voidMarnRegisterAsClientL(TUid, const TDesC8 &)
pure virtual voidMarnWillResumePlayL()

Detailed Description

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

custom commands.

Member Function Documentation

MarnCancelRegisterAsClientL ( TUid )

voidMarnCancelRegisterAsClientL(TUidaEventType)[pure virtual]

Cancels the registered notification event.

data sink.
Parameters
aEventTypeThe event to cancel.
Leave Codes
Thismethod may leave with one of the system-wide error codes. KErrNotReady if there is no

MarnGetResourceNotificationDataL ( TUid, TDes8 & )

voidMarnGetResourceNotificationDataL(TUidaEventType,
TDes8 &aNotificationData
)[pure virtual]

Gets the notification data for the event.

data sink, KErrArgument if unable to provide the notification data.
Parameters
aEventTypeThe event which the client is notified of.
aNotificationDataThe Notification data for the client to resume playing.
Leave Codes
Thismethod may leave with one of the system-wide error codes. KErrNotReady if there is no

MarnRegisterAsClientL ( TUid, const TDesC8 & )

voidMarnRegisterAsClientL(TUidaEventType,
const TDesC8 &aNotificationRegistrationData
)[pure virtual]

Registers the Event for Notification when resource is available.

data sink.
Parameters
aEventTypeThe event which the client is notified of.
aNotificationRegistrationDataNotification registration specific data, which has been reserved for future use.
Leave Codes
Thismethod may leave with one of the system-wide error codes. KErrNotReady if there is no

MarnWillResumePlayL ( )

voidMarnWillResumePlayL()[pure virtual]

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

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