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
list
The LinphoneFriendList object in which a contact has been updated
newFriend
The new LinphoneFriend object corresponding to the updated contact
oldFriend
The 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
list
The LinphoneFriendList object for which the status has changed
friends
A 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
list
The LinphoneFriendList object for which the status has changed
status
The new synchronisation status
msg
An 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
list
The LinphoneFriendList object the new contact is added to
lf
The 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
list
The LinphoneFriendList object a contact has been removed from
lf
The LinphoneFriend object that has been deleted