Liblinphone  5.5.0
Linphone.SearchResult Class Reference
Inheritance diagram for Linphone.SearchResult:
Linphone.LinphoneObject

Public Member Functions

bool HasCapability (Linphone.FriendCapability capability)
 
bool HasSourceFlag (Linphone.MagicSearchSource source)
 

Properties

Linphone.Address Address [get]
 
int Capabilities [get]
 
Linphone.Friend Friend [get]
 
string PhoneNumber [get]
 
int SourceFlags [get]
 
uint Weight [get]
 

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)
 

Detailed Description

The Linphone.SearchResult object represents a result of a search initiated from a Linphone.MagicSearch.

Member Function Documentation

bool Linphone.SearchResult.HasCapability ( Linphone.FriendCapability  capability)
inline

Returns whether or not the search result has the given capability.

Parameters
capabilitythe Linphone.FriendCapability to check
Returns
true if it has the capability, false otherwise.
bool Linphone.SearchResult.HasSourceFlag ( Linphone.MagicSearchSource  source)
inline

Returns whether or not the search result has the given source flag.

Parameters
sourcethe Linphone.MagicSearchSource to check
Returns
true if it has the source flag, false otherwise.

Property Documentation

Linphone.Address Linphone.SearchResult.Address
get

Gets the address of the search result if any.

Returns
The associed Linphone.Address or null.
int Linphone.SearchResult.Capabilities
get

Returns the capabilities mask of the search result.

Returns
the capabilities mask associated to the search result
Linphone.Friend Linphone.SearchResult.Friend
get

Gets the friend of the search result if any.

Returns
The associated Linphone.Friend or null.
string Linphone.SearchResult.PhoneNumber
get

Gets the phone number of the search result if any.

Returns
The associed phone number or null.
int Linphone.SearchResult.SourceFlags
get

Gets source flags of the search result.

Returns
the source flags from Linphone.MagicSearchSource
uint Linphone.SearchResult.Weight
get

Gets the weight of the search result.

Returns
the result weight

The documentation for this class was generated from the following file: