An object to handle the callbacks for Friend synchronization.
More...
#include <friend_list_listener.hh>
An object to handle the callbacks for Friend synchronization.
◆ onContactCreated()
virtual LINPHONECXX_PUBLIC void linphone::FriendListListener::onContactCreated |
( |
const std::shared_ptr< linphone::FriendList > & |
friendList, |
|
|
const std::shared_ptr< linphone::Friend > & |
linphoneFriend |
|
) |
| |
|
inlinevirtual |
Callback used to notify a new contact has been created on the CardDAV server and downloaded locally.
- Parameters
-
friendList | The FriendList object the new contact is added to |
linphoneFriend | The Friend object that has been created |
◆ onContactDeleted()
virtual LINPHONECXX_PUBLIC void linphone::FriendListListener::onContactDeleted |
( |
const std::shared_ptr< linphone::FriendList > & |
friendList, |
|
|
const std::shared_ptr< linphone::Friend > & |
linphoneFriend |
|
) |
| |
|
inlinevirtual |
Callback used to notify a contact has been deleted on the CardDAV server.
- Parameters
-
friendList | The FriendList object a contact has been removed from |
linphoneFriend | The Friend object that has been deleted |
◆ onContactUpdated()
Callback used to notify a contact has been updated on the CardDAV server.
- Parameters
-
friendList | The FriendList object in which a contact has been updated |
newFriend | The new Friend object corresponding to the updated contact |
oldFriend | The old Friend object before update |
◆ onPresenceReceived()
virtual LINPHONECXX_PUBLIC void linphone::FriendListListener::onPresenceReceived |
( |
const std::shared_ptr< linphone::FriendList > & |
friendList, |
|
|
const std::list< std::shared_ptr< linphone::Friend >> & |
friends |
|
) |
| |
|
inlinevirtual |
Callback used to notify a list with all friends that have received presence information.
- Parameters
-
friendList | The LinphoneFriendList object for which the status has changed |
friends | A of the relevant friends |
◆ onSyncStatusChanged()
Callback used to notify the status of the synchronization has changed.
- Parameters
-
The documentation for this class was generated from the following file: