Class FriendListListenerStub

java.lang.Object
org.linphone.core.FriendListListenerStub
All Implemented Interfaces:
FriendListListener

public class FriendListListenerStub extends Object implements FriendListListener
  • Constructor Details

    • FriendListListenerStub

      public FriendListListenerStub()
  • Method Details

    • onContactCreated

      public void onContactCreated(@NonNull FriendList friendList, @NonNull Friend linphoneFriend)
      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 interface FriendListListener
      Parameters:
      friendList - The FriendList object the new contact is added to
      linphoneFriend - The Friend object that has been created
    • onContactDeleted

      public void onContactDeleted(@NonNull FriendList friendList, @NonNull Friend linphoneFriend)
      Description copied from interface: FriendListListener
      Callback used to notify a contact has been deleted on the CardDAV server.

      Specified by:
      onContactDeleted in interface FriendListListener
      Parameters:
      friendList - The FriendList object a contact has been removed from

      linphoneFriend - The Friend 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 interface FriendListListener
      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
    • 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 interface FriendListListener
      Parameters:
      friendList - The FriendList object for which the status has
      changed
      status - The new FriendList#SyncStatus
      message - An additional information on the status update
    • onPresenceReceived

      public void onPresenceReceived(@NonNull FriendList friendList, @NonNull Friend[] friends)
      Description copied from interface: FriendListListener
      Callback used to notify a list with all friends that have received presence
      information.

      Specified by:
      onPresenceReceived in interface FriendListListener
      Parameters:
      friendList - The LinphoneFriendList object for which the status has
      changed
      friends - A of the relevant friends