public class FriendListListenerStub extends java.lang.Object implements FriendListListener
Constructor and Description |
---|
FriendListListenerStub() |
Modifier and Type | Method and Description |
---|---|
void |
onContactCreated(FriendList list,
Friend lf)
Callback used to notify a new contact has been created on the CardDAV server
and downloaded locally.
|
void |
onContactDeleted(FriendList list,
Friend lf)
Callback used to notify a contact has been deleted on the CardDAV server.
|
void |
onContactUpdated(FriendList list,
Friend newFriend,
Friend oldFriend)
Callback used to notify a contact has been updated on the CardDAV server.
|
void |
onPresenceReceived(FriendList list,
Friend[] friends)
Callback used to notify a list with all friends that have received presence
information.
|
void |
onSyncStatusChanged(FriendList list,
FriendList.SyncStatus status,
java.lang.String msg)
Callback used to notify the status of the synchronization has changed.
|
public void onContactUpdated(FriendList list, Friend newFriend, Friend oldFriend)
FriendListListener
onContactUpdated
in interface FriendListListener
oldFriend
- The old LinphoneFriend object before updatepublic void onPresenceReceived(FriendList list, Friend[] friends)
FriendListListener
onPresenceReceived
in interface FriendListListener
friends
- A A list of LinphoneFriend objects. LinphoneFriend of the
relevant friendspublic void onSyncStatusChanged(FriendList list, FriendList.SyncStatus status, java.lang.String msg)
FriendListListener
onSyncStatusChanged
in interface FriendListListener
msg
- An additional information on the status updatepublic void onContactCreated(FriendList list, Friend lf)
FriendListListener
onContactCreated
in interface FriendListListener
lf
- The LinphoneFriend object that has been createdpublic void onContactDeleted(FriendList list, Friend lf)
FriendListListener
onContactDeleted
in interface FriendListListener
lf
- The LinphoneFriend object that has been deleted