Properties | |
| FriendListener | Listener [get, set] |
| Linphone.Address | Address [get, set] |
| IEnumerable< Linphone.Address > | Addresses [get] |
| int | Capabilities [get] |
| Linphone.ConsolidatedPresence | ConsolidatedPresence [get] |
| Linphone.Core | Core [get] |
| IEnumerable< Linphone.FriendDevice > | Devices [get] |
| string | FirstName [get, set] |
| Linphone.FriendList | FriendList [get] |
| Linphone.SubscribePolicy | IncSubscribePolicy [get, set] |
| bool | IsPresenceReceived [get] |
| bool | IsReadOnly [get] |
| string | JobTitle [get, set] |
| string | LastName [get, set] |
| string | Name [get, set] |
| string | NativeUri [get, set] |
| string | Organization [get, set] |
| IEnumerable< string > | PhoneNumbers [get] |
| IEnumerable< Linphone.FriendPhoneNumber > | PhoneNumbersWithLabel [get] |
| string | Photo [get, set] |
| Linphone.PresenceModel | PresenceModel [get, set] |
| string | RefKey [get, set] |
| Linphone.SecurityLevel | SecurityLevel [get] |
| bool | Starred [get, set] |
| bool | SubscribesEnabled [get, set] |
| Linphone.SubscriptionState | SubscriptionState [get] |
| Linphone.Vcard | Vcard [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from Linphone.LinphoneObject | |
| static String | linphone_pointer_to_string (IntPtr ptr) |
| static IntPtr | linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str) |
| IntPtr | StringArrayToBctbxList (IEnumerable< string > stringlist) |
| void | CleanStringArrayPtrs (IntPtr l) |
This object is used to store a SIP address.
Linphone.Friend is mainly used to implement an adressbook feature, and are used as data for the Linphone.MagicSearch object. If your proxy supports it, you can also use it to subscribe to presence information. The objects are stored in a Linphone.FriendList which are in turn stored inside the Linphone.Core. They can be stored inside a database if the path to it is configured, otherwise they will be lost after the Linphone.Core is destroyed. Thanks to the vCard plugin, you can also store more information like phone numbers, organization, etc...
|
inline |
Adds an address in this friend.
| address | Linphone.Address object |
|
inline |
Adds a phone number in this friend.
| phoneNumber | number to add |
|
inline |
Adds a Linphone.FriendPhoneNumber to this friend.
| phoneNumber | the Linphone.FriendPhoneNumber to add |
|
inline |
Creates a vCard object associated to this friend if there isn't one yet and if the full name is available, either by the parameter or the one in the friend's SIP URI.
| name | The full name of the friend or null to use the one from the friend's SIP URI |
|
inline |
Commits modification made to the friend configuration.
|
inline |
Returns the a string matching the vCard inside the friend, if any.
|
inline |
Starts editing a friend configuration.
Because friend configuration must be consistent, applications MUST call Linphone.Friend.Edit() before doing any attempts to modify friend configuration (such as Linphone.Friend.Address or Linphone.Friend.IncSubscribePolicy). Once the modifications are done, then the application must call Linphone.Friend.Done() to commit the changes.
|
inline |
Returns the version of a friend's capbility.
| capability | Linphone.FriendCapability object |
|
inline |
Returns a list of Linphone.FriendDevice for this friend and a specific address.
| address | Linphone.Address object |
|
inline |
Get the presence model for a specific SIP URI or phone number of a friend.
| uriOrTel | The SIP URI or phone number for which to get the presence model |
|
inline |
Returns the security level of a friend for a given address which is the lowest among all devices we know for that address.
| address | Linphone.Address object |
|
inline |
Returns whether or not a friend has a capbility.
| capability | Linphone.FriendCapability object |
|
inline |
Returns whether or not a friend has a capbility with a given version.
| capability | Linphone.FriendCapability object |
| version | the version to test |
|
inline |
Returns whether or not a friend has a capbility with a given version or more.
| capability | Linphone.FriendCapability object |
| version | the version to test |
|
inline |
Returns whether a friend contains the given phone number.
| phoneNumber | the phone number to search for |
|
inline |
Check that the given friend is in a friend list.
|
inline |
Removes a friend from it's friend list and from the rc if exists.
|
inline |
Removes an address in this friend.
| address | Linphone.Address object |
|
inline |
Removes a phone number in this friend.
| phoneNumber | number to remove |
|
inline |
Removes a Linphone.FriendPhoneNumber from this friend.
| phoneNumber | the Linphone.FriendPhoneNumber to remove |
|
inline |
Saves a friend either in database if configured, otherwise in linphonerc.
| core | the linphone core |
|
inline |
Set the presence model for a specific SIP URI or phone number of a friend.
| uriOrTel | The SIP URI or phone number for which to set the presence model |
| presence | The Linphone.PresenceModel object to set |
|
getset |
Get address of this friend.
Note : the Linphone.Address object returned is hold by the LinphoneFriend, however calling several time this function may return different objects.
|
get |
Returns a list of Linphone.Address for this friend.
|
get |
Returns the capabilities associated to this friend.
|
get |
Get the consolidated presence of a friend.
It will return the "most open" presence found if more than one presence model are found.
|
get |
Returns the Linphone.Core object managing this friend, if any.
|
get |
Returns a list of Linphone.FriendDevice for this friend, for all known addresses.
|
getset |
Gets the first name for this friend if vCard exists.
|
get |
Check that the given friend is in a friend list.
|
getset |
get current subscription policy for this Linphone.Friend
|
get |
Tells whether we already received presence information for a friend.
|
get |
Gets whether this friend is read only or not.
A friend is read-only if the Linphone.FriendList to which it belongs is read-only.
|
getset |
Gets the contact's job title from it's vCard.
It's a shortcut to Linphone.Friend.Vcard and Linphone.Vcard.JobTitle.
|
getset |
Gets the last name for this friend if vCard exists.
|
getset |
Gets the display name for this friend.
|
getset |
Gets the contact's native URI.
|
getset |
Gets the contact's organization from it's vCard.
It's a shortcut to Linphone.Friend.Vcard and Linphone.Vcard.Organization.
|
get |
Returns a list of phone numbers for this friend.
|
get |
Returns a list of Linphone.FriendPhoneNumber for this friend.
|
getset |
Gets the contact's picture URI.
|
getset |
Get the presence model of a friend.
If a friend has more than one SIP address and phone number, this method will return the most recent presence model using Linphone.PresenceModel.Timestamp.
|
getset |
Get the reference key of a friend.
|
get |
Returns the security level of a friend which is the lowest among all devices we know for it.
|
getset |
Gets if the friend is to be considered as important for the user.
|
getset |
get subscription flag value
|
get |
Get subscription state of a friend.
|
getset |
Returns the vCard object associated to this friend, if any.