#include <mmf/common/mmfstandardcustomcommands.h>
Link against: mmfstandardcustomcommands.lib
class RMMFResourceNotificationCustomCommands : public RMMFCustomCommandsBase, 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.
Parameters | |
---|---|
aController | The client side controller object to be used by this custom command interface. |
Gets the notification data for the event.
otherwise another of the system-wide error codes.
Parameters | |
---|---|
aEventType | The Event to notify the client. |
aNotificationData | The Notification data for the client to resume the play. |
Registers the Event for Notification when resource is avaliable.
otherwise another of the system-wide error codes.
Parameters | |
---|---|
aEventType | The Event to notify the client. |
aNotificationRegistrationData | Notification registration specific data. |
IMPORT_C TInt | WillResumePlay | ( | ) |
Waits for the client to resume the play even after the default timer expires.
otherwise any of the system-wide error codes.