18#ifndef LIBJAMI_PRESENCEMANAGERI_H
19#define LIBJAMI_PRESENCEMANAGERI_H
34 const std::map<std::string, std::shared_ptr<CallbackWrapperBase>>&);
41 const std::string& accountID);
43 const std::vector<std::string>& uris);
50 constexpr static const char* name =
"NewServerSubscriptionRequest";
51 using cb_type = void(
const std::string& );
55 constexpr static const char* name =
"ServerError";
62 constexpr static const char* name =
"NewBuddyNotification";
70 constexpr static const char* name =
"NearbyPeerNotification";
78 constexpr static const char* name =
"SubscriptionStateChanged";
std::vector< std::map< std::string, std::string > > getSubscriptions(const std::string &accountId)
Get all active subscriptions for "accountId".
void subscribeBuddy(const std::string &accountId, const std::string &uri, bool flag)
Un/subscribe to buddySipUri for an accountId.
void registerPresHandlers(const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
void answerServerRequest(UNUSED const std::string &uri, UNUSED bool flag)
Accept or not a PresSubServer request for IP2IP account.
void setSubscriptions(const std::string &accountId, const std::vector< std::string > &uris)
Batch subscribing of URIs.
void publish(const std::string &accountId, bool status, const std::string ¬e)
push a presence for a account Notify for IP2IP account For JamiAccount status is ignored but note is ...
void(const std::string &, const std::string &, int, const std::string &) cb_type
void(const std::string &, const std::string &, int, const std::string &) cb_type
void(const std::string &) cb_type
void(const std::string &, const std::string &, const std::string &) cb_type
void(const std::string &, const std::string &, int) cb_type