Class SearchResult
The Linphone.SearchResult object represents a result of a search initiated from a Linphone.MagicSearch.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class SearchResult : LinphoneObject
Properties
Address
Gets the address of the search result if any.
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address | The associed Linphone.Address or null. |
Capabilities
Returns the capabilities mask of the search result.
Declaration
public int Capabilities { get; }
Property Value
Type | Description |
---|---|
System.Int32 | the capabilities mask associated to the search result |
Friend
Gets the friend of the search result if any.
Declaration
public Friend Friend { get; }
Property Value
Type | Description |
---|---|
Friend | The associated Linphone.Friend or null. |
PhoneNumber
Gets the phone number of the search result if any.
Declaration
public string PhoneNumber { get; }
Property Value
Type | Description |
---|---|
System.String | The associed phone number or null. |
SourceFlags
Gets source flags of the search result.
Declaration
public int SourceFlags { get; }
Property Value
Type | Description |
---|---|
System.Int32 | the source flags from Linphone.MagicSearchSource |
Weight
Gets the weight of the search result.
Declaration
public uint Weight { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | the result weight |
Methods
HasCapability(FriendCapability)
Returns whether or not the search result has the given capability.
Declaration
public bool HasCapability(FriendCapability capability)
Parameters
Type | Name | Description |
---|---|---|
FriendCapability | capability | the Linphone.FriendCapability to check |
Returns
Type | Description |
---|---|
System.Boolean | true if it has the capability, false otherwise. |