#include "mmfstandardcustomcommands.h"
class RMMFResourceNotificationCustomCommands : public RMMFCustomCommandsBase |
Public Member Functions | |
---|---|
RMMFResourceNotificationCustomCommands(RMMFController &) | |
IMPORT_C TInt | CancelRegisterAsClient(TUid) |
IMPORT_C TInt | GetResourceNotificationData(TUid, TDes8 &) |
IMPORT_C TInt | RegisterAsClient(TUid, const TDesC8 &) |
IMPORT_C TInt | WillResumePlay() |
Inherited Attributes | |
---|---|
RMMFCustomCommandsBase::iController | |
RMMFCustomCommandsBase::iDestinationPckg |
Inherited Functions | |
---|---|
RMMFCustomCommandsBase::RMMFCustomCommandsBase(RMMFController &,TUid) |
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.
IMPORT_C | RMMFResourceNotificationCustomCommands | ( | RMMFController & | aController | ) |
Constructor.
Parameter | Description |
---|---|
aController | The client side controller object to be used by this custom command interface. |
Cancels the registered notification event.
Parameter | Description |
---|---|
aEventType | The Event to notify the client. |
Returns: An error code indicating if the cancel registration was successful. KErrNone on success, otherwise another of the system-wide error codes.
Gets the notification data for the event.
Parameter | Description |
---|---|
aEventType | The Event to notify the client. |
aNotificationData | The Notification data for the client to resume the play. |
Returns: An error code indicating if the get notification data was successful. KErrNone on success, otherwise another of the system-wide error codes.
Registers the Event for Notification when resource is avaliable.
Parameter | Description |
---|---|
aEventType | The Event to notify the client. |
aNotificationRegistrationData | Notification registration specific data. |
Returns: An error code indicating if the registration was successful. KErrNone on success, otherwise another of the system-wide error codes.
IMPORT_C TInt | WillResumePlay | ( | ) |
Waits for the client to resume the play even after the default timer expires.
Returns: An error code indicating if the registration was successful. KErrNone on success, otherwise any of the system-wide error codes.