|
virtual void | onContactAdded (const std::string &username)=0 |
| callback function called when contact added. More...
|
|
virtual void | onContactDeleted (const std::string &username)=0 |
| called when contact deleted More...
|
|
virtual void | onContactInvited (const std::string &username, std::string &reason)=0 |
| called when user be invited by contact to be friend. More...
|
|
virtual void | onContactAgreed (const std::string &username)=0 |
| called when user invite contact to be friend, and contact has accepted the invitation. More...
|
|
virtual void | onContactRefused (const std::string &username)=0 |
| called when user invite contact to be friend, and contact has declined the invitation. More...
|
|
§ onContactAdded()
virtual void easemob::EMContactListener::onContactAdded |
( |
const std::string & |
username | ) |
|
|
pure virtual |
callback function called when contact added.
- Parameters
-
username | newly added contact name. |
§ onContactAgreed()
virtual void easemob::EMContactListener::onContactAgreed |
( |
const std::string & |
username | ) |
|
|
pure virtual |
called when user invite contact to be friend, and contact has accepted the invitation.
- Parameters
-
username | contact whom accept invitation. |
§ onContactDeleted()
virtual void easemob::EMContactListener::onContactDeleted |
( |
const std::string & |
username | ) |
|
|
pure virtual |
called when contact deleted
- Parameters
-
usernames | newly deleted contact name list. |
§ onContactInvited()
virtual void easemob::EMContactListener::onContactInvited |
( |
const std::string & |
username, |
|
|
std::string & |
reason |
|
) |
| |
|
pure virtual |
called when user be invited by contact to be friend.
- Parameters
-
username | contact when invited. |
message | contact sent, telling invitation reason. |
§ onContactRefused()
virtual void easemob::EMContactListener::onContactRefused |
( |
const std::string & |
username | ) |
|
|
pure virtual |
called when user invite contact to be friend, and contact has declined the invitation.
- Parameters
-
username | contact whom refused the invitation. |
The documentation for this class was generated from the following file: