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.
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 Functions | |
---|---|
RMMFCustomCommandsBase::RMMFCustomCommandsBase(RMMFController &,TUid) |
Inherited Attributes | |
---|---|
RMMFCustomCommandsBase::iController | |
RMMFCustomCommandsBase::iDestinationPckg |
IMPORT_C | RMMFResourceNotificationCustomCommands | ( | RMMFController & | aController | ) |
Constructor.
RMMFController & aController | The client side controller object to be used by this custom command interface. |
IMPORT_C TInt | CancelRegisterAsClient | ( | TUid | aEventType | ) |
Cancels the registered notification event.
TUid aEventType | The Event to notify the client. |
IMPORT_C TInt | GetResourceNotificationData | ( | TUid | aEventType, |
TDes8 & | aNotificationData | |||
) |
Gets the notification data for the event.
IMPORT_C TInt | RegisterAsClient | ( | TUid | aEventType, |
const TDesC8 & | aNotificationRegistrationData | |||
) |
Registers the Event for Notification when resource is avaliable.
IMPORT_C TInt | WillResumePlay | ( | ) |
Waits for the client to resume the play even after the default timer expires.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.