SearchResult
public class SearchResult : LinphoneObject
The LinphoneSearchResult object represents a result of a search.
-
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> SearchResult -
Declaration
Swift
public var getCobject: OpaquePointer? { get } -
Returns the capabilities mask of the search result.
Declaration
Swift
public var capabilities: Int { get }Return Value
the capabilities mask associated to the search result
-
Gets the phone number of the search result if any.
Declaration
Swift
public var phoneNumber: String { get }Return Value
The associed phone number or nil.
-
Gets source flags of the search result.
Declaration
Swift
public var sourceFlags: Int { get }Return Value
the source flags from
MagicSearchSource -
Gets the weight of the search result.
Declaration
Swift
public var weight: UInt { get }Return Value
the result weight
-
Returns whether or not the search result has the given capability.
Declaration
Swift
public func hasCapability(capability: FriendCapability) -> BoolParameters
capabilitythe
FriendCapabilityto checkReturn Value
true if it has the capability, false otherwise.
SearchResult Class Reference