FriendListDelegate
open class FriendListDelegate : LinphoneObjectDelegate
Undocumented
-
Undocumented
Declaration
Swift
public init() -
Callback used to notify a contact has been updated on the CardDAV server.
Declaration
Swift
open func onContactUpdated(list: FriendList, newFriend: Friend, oldFriend: Friend)Parameters
listThe LinphoneFriendList object in which a contact has been updated
newFriendThe new LinphoneFriend object corresponding to the updated contact
oldFriendThe old LinphoneFriend object before update
-
Callback used to notify a list with all friends that have received presence information.
Declaration
Swift
open func onPresenceReceived(list: FriendList, friends: [Friend])Parameters
listThe LinphoneFriendList object for which the status has changed
friendsA A list of LinphoneFriend objects. LinphoneFriend of the relevant friends
-
Callback used to notify the status of the synchronization has changed.
Declaration
Swift
open func onSyncStatusChanged(list: FriendList, status: FriendList.SyncStatus, msg: String)Parameters
listThe LinphoneFriendList object for which the status has changed
statusThe new synchronisation status
msgAn additional information on the status update
-
Callback used to notify a new contact has been created on the CardDAV server and downloaded locally.
Declaration
Swift
open func onContactCreated(list: FriendList, lf: Friend)Parameters
listThe LinphoneFriendList object the new contact is added to
lfThe LinphoneFriend object that has been created
-
Callback used to notify a contact has been deleted on the CardDAV server.
Declaration
Swift
open func onContactDeleted(list: FriendList, lf: Friend)Parameters
listThe LinphoneFriendList object a contact has been removed from
lfThe LinphoneFriend object that has been deleted
FriendListDelegate Class Reference