Liblinphone 5.4.23
linphone::MagicSearchListener Class Reference

MagicSearchListener is an interface to be notified of results of contact searches initiated from the MagicSearch. More...

#include <magic_search_listener.hh>

Inheritance diagram for linphone::MagicSearchListener:

Public Member Functions

virtual LINPHONECXX_PUBLIC void onSearchResultsReceived (const std::shared_ptr< linphone::MagicSearch > &magicSearch)
 Callback used to notify when results are received.
virtual LINPHONECXX_PUBLIC void onLdapHaveMoreResults (const std::shared_ptr< linphone::MagicSearch > &magicSearch, const std::shared_ptr< linphone::Ldap > &ldap)
 Callback used to notify when LDAP have more results available.
virtual LINPHONECXX_PUBLIC void onMoreResultsAvailable (const std::shared_ptr< linphone::MagicSearch > &magicSearch, linphone::MagicSearch::Source source)
 Callback used to notify when more results are available for a given MagicSearch::Source flag.

Detailed Description

MagicSearchListener is an interface to be notified of results of contact searches initiated from the MagicSearch.

See also
MagicSearch::addListener()

Member Function Documentation

◆ onLdapHaveMoreResults()

virtual LINPHONECXX_PUBLIC void linphone::MagicSearchListener::onLdapHaveMoreResults ( const std::shared_ptr< linphone::MagicSearch > & magicSearch,
const std::shared_ptr< linphone::Ldap > & ldap )
inlinevirtual

Callback used to notify when LDAP have more results available.

Parameters
magicSearchMagicSearch object
ldapLdap object
Deprecated
18/11/2024 use LinphoneMagicSearchCbsMoreResultsAvailableCb instead.

◆ onMoreResultsAvailable()

virtual LINPHONECXX_PUBLIC void linphone::MagicSearchListener::onMoreResultsAvailable ( const std::shared_ptr< linphone::MagicSearch > & magicSearch,
linphone::MagicSearch::Source source )
inlinevirtual

Callback used to notify when more results are available for a given MagicSearch::Source flag.

Parameters
magicSearchMagicSearch object
sourceThe source flag indicating for which type of result there is more results available.

◆ onSearchResultsReceived()

virtual LINPHONECXX_PUBLIC void linphone::MagicSearchListener::onSearchResultsReceived ( const std::shared_ptr< linphone::MagicSearch > & magicSearch)
inlinevirtual

Callback used to notify when results are received.

Parameters
magicSearchMagicSearch object

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