RMMFResourceNotificationCustomCommands Class Reference

class RMMFResourceNotificationCustomCommands : public RMMFCustomCommandsBase

Client class to allow the client to register notification .

The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

RMMFResourceNotificationCustomCommands(RMMFController &)

IMPORT_CRMMFResourceNotificationCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s

Parameters

RMMFController & aControllerThe client side controller object to be used by this custom command interface.

Member Functions Documentation

CancelRegisterAsClient(TUid)

IMPORT_C TIntCancelRegisterAsClient(TUidaEventType)

Cancels the registered notification event.

Parameters

TUid aEventTypeThe Event to notify the client.

GetResourceNotificationData(TUid, TDes8 &)

IMPORT_C TIntGetResourceNotificationData(TUidaEventType,
TDes8 &aNotificationData
)

Gets the notification data for the event.

Parameters

TUid aEventTypeThe Event to notify the client.
TDes8 & aNotificationDataThe Notification data for the client to resume the play.

RegisterAsClient(TUid, const TDesC8 &)

IMPORT_C TIntRegisterAsClient(TUidaEventType,
const TDesC8 &aNotificationRegistrationData
)

Registers the Event for Notification when resource is avaliable.

Parameters

TUid aEventTypeThe Event to notify the client.
const TDesC8 & aNotificationRegistrationDataNotification registration specific data.

WillResumePlay()

IMPORT_C TIntWillResumePlay()

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