Package org.linphone.core
Class FriendListListenerStub
java.lang.Object
org.linphone.core.FriendListListenerStub
- All Implemented Interfaces:
FriendListListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onContactCreated
(FriendList friendList, Friend linphoneFriend) Callback used to notify a new contact has been created on the CardDAV server
and downloaded locally.void
onContactDeleted
(FriendList friendList, Friend linphoneFriend) Callback used to notify a contact has been deleted on the CardDAV server.void
onContactUpdated
(FriendList friendList, Friend newFriend, Friend oldFriend) Callback used to notify a contact has been updated on the CardDAV server.void
onPresenceReceived
(FriendList friendList, Friend[] friends) Callback used to notify a list with all friends that have received presence
information.void
onSyncStatusChanged
(FriendList friendList, FriendList.SyncStatus status, String message) Callback used to notify the status of the synchronization has changed.
-
Constructor Details
-
FriendListListenerStub
public FriendListListenerStub()
-
-
Method Details
-
onContactCreated
Description copied from interface:FriendListListener
Callback used to notify a new contact has been created on the CardDAV server
and downloaded locally.
- Specified by:
onContactCreated
in interfaceFriendListListener
- Parameters:
friendList
- TheFriendList
object the new contact is added tolinphoneFriend
- TheFriend
object that has been created
-
onContactDeleted
Description copied from interface:FriendListListener
Callback used to notify a contact has been deleted on the CardDAV server.
- Specified by:
onContactDeleted
in interfaceFriendListListener
- Parameters:
friendList
- TheFriendList
object a contact has been removed from
linphoneFriend
- TheFriend
object that has been deleted
-
onContactUpdated
public void onContactUpdated(@NonNull FriendList friendList, @NonNull Friend newFriend, @NonNull Friend oldFriend) Description copied from interface:FriendListListener
Callback used to notify a contact has been updated on the CardDAV server.
- Specified by:
onContactUpdated
in interfaceFriendListListener
- Parameters:
friendList
- TheFriendList
object in which a contact has been
updatednewFriend
- The newFriend
object corresponding to the updated
contactoldFriend
- The oldFriend
object before update
-
onSyncStatusChanged
public void onSyncStatusChanged(@NonNull FriendList friendList, FriendList.SyncStatus status, @Nullable String message) Description copied from interface:FriendListListener
Callback used to notify the status of the synchronization has changed.
- Specified by:
onSyncStatusChanged
in interfaceFriendListListener
- Parameters:
friendList
- TheFriendList
object for which the status has
changedstatus
- The newFriendList#SyncStatus
message
- An additional information on the status update
-
onPresenceReceived
Description copied from interface:FriendListListener
Callback used to notify a list with all friends that have received presence
information.
- Specified by:
onPresenceReceived
in interfaceFriendListListener
- Parameters:
friendList
- The LinphoneFriendList object for which the status has
changedfriends
- A of the relevant friends
-