MMMFResourceNotificationCustomCommandImplementor Class Reference

#include "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.

leave
This method may leave with one of the system-wide error codes. KErrNotReady if there is no data sink.
ParameterDescription
aEventTypeThe event to cancel.

MarnGetResourceNotificationDataL ( TUid, TDes8 & )

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

Gets the notification data for the event.

leave
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.
ParameterDescription
aEventTypeThe event which the client is notified of.
aNotificationDataThe Notification data for the client to resume playing.

MarnRegisterAsClientL ( TUid, const TDesC8 & )

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

Registers the Event for Notification when resource is available.

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

MarnWillResumePlayL ( )

voidMarnWillResumePlayL()[pure virtual]

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

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