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_C RMMFResourceNotificationCustomCommands ( RMMFController & aController )

Constructor.

Since
7.0s

Parameters

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

Member Functions Documentation

CancelRegisterAsClient(TUid)

IMPORT_C TInt CancelRegisterAsClient ( TUid aEventType )

Cancels the registered notification event.

Parameters

TUid aEventType The Event to notify the client.

GetResourceNotificationData(TUid, TDes8 &)

IMPORT_C TInt GetResourceNotificationData ( TUid aEventType,
TDes8 & aNotificationData
)

Gets the notification data for the event.

Parameters

TUid aEventType The Event to notify the client.
TDes8 & aNotificationData The Notification data for the client to resume the play.

RegisterAsClient(TUid, const TDesC8 &)

IMPORT_C TInt RegisterAsClient ( TUid aEventType,
const TDesC8 & aNotificationRegistrationData
)

Registers the Event for Notification when resource is avaliable.

Parameters

TUid aEventType The Event to notify the client.
const TDesC8 & aNotificationRegistrationData Notification registration specific data.

WillResumePlay()

IMPORT_C TInt WillResumePlay ( )

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