Class SearchResult
The LinphoneSearchResult object represents a result of a search.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 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 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. |
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 FriendCapability to check |
Returns
Type | Description |
---|---|
System.Boolean | true if it has the capability, false otherwise. |