API published in: S60 3rd Ed
Required Capabilities
NetworkServices ReadUserData
Exceptions
None
#include <imclient.h>
Application to be able to receive IMs it must register its own observer using this interface class. This interface can be obtained using a factory method from the CImConnection class.
Public Member Functions |
|
virtual | ~MImClient () |
virtual void | RegisterObserverL (MImObserver *aObserver)=0 |
Method for registering the IM client to the WV Engine. |
|
virtual void | UnregisterObserver ()=0 |
Method for unregistering the IM Sender from the WV Engine. |
|
virtual TInt | SendPToPMessageL (const TContactItemId &aContactItem, const TDesC16 &aContent)=0 |
Method for sending person-to-person text message (UNICODE) using Contact Model IDs. |
|
virtual TInt | SendPToPMessageL (const CContactIdArray &aContactIds, const TDesC16 &aContent)=0 |
Method for sending person-to-person text message (UNICODE) using Contact Model IDs. |
|
virtual TInt | SendPToPMessageL (const CContactIdArray &aContactIds, const TDesC &aContentType, const TDesC8 &aContent)=0 |
Method for sending person-to-person binary (or 8bit text) message using Contact Model IDs. |
|
virtual TInt | SendPToPMessageL (const TDesC &aUserId, const TDesC16 &aContent)=0 |
Method for sending person-to-person text message using directly the User IDs. |
|
virtual TInt | SendPToPMessageL (const MDesCArray &aUserIds, const TDesC16 &aContent)=0 |
Method for sending person-to-person text message using directly the User IDs. |
|
virtual TInt | SendPToPMessageL (const MDesCArray &aUserIds, const TDesC &aContentType, const TDesC8 &aContent)=0 |
Method for sending person-to-person binary (or 8 bit text) message using directly the User IDs. |
|
|
Method for registering the IM client to the WV Engine. This method is synchronous.
|
|
Method for sending person-to-person binary (or 8 bit text) message using directly the User IDs. This method is asynchronous and its completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file
|
|
Method for sending person-to-person text message using directly the User IDs. This method is asynchronous and its completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file
|
|
Method for sending person-to-person text message using directly the User IDs. This method is asynchronous and its completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file
|
|
Method for sending person-to-person binary (or 8bit text) message using Contact Model IDs. This method is asynchronous and its completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file Please note that one contact can have more than one assigned IM user ID. Sending IM to those contacts will result in partial success.
|
|
Method for sending person-to-person text message (UNICODE) using Contact Model IDs. This method is asynchronous and its completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file Please note that one contact can have more than one assigned IM user ID. Sending IM to those contacts will result in partial success.
|
|
Method for sending person-to-person text message (UNICODE) using Contact Model IDs. This method is asynchronous and it’s completion is signaled in HandleMessageSentL() method. The method will leave on error. The API specific error codes are in imerrors.h file
|
|
Method for unregistering the IM Sender from the WV Engine. This method is synchronous method. |