MMMFResourceNotificationCustomCommandImplementor Class Reference

class MMMFResourceNotificationCustomCommandImplementor

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

Member Functions 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.

Parameters

TUid 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.

Parameters

TUid aEventTypeThe event which the client is notified of.
TDes8 & 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.

Parameters

TUid aEventTypeThe event which the client is notified of.
const TDesC8 & 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.