Liblinphone 5.4.23
linphone::EventListener Class Reference

An object to handle the callbacks for handling the Event operations. More...

#include <event_listener.hh>

Inheritance diagram for linphone::EventListener:

Public Member Functions

virtual LINPHONECXX_PUBLIC void onNotifyResponse (const std::shared_ptr< linphone::Event > &event)
 Callback used to notify the response to a sent NOTIFY.
virtual LINPHONECXX_PUBLIC void onNotifyReceived (const std::shared_ptr< linphone::Event > &event, const std::shared_ptr< const linphone::Content > &content)
 Callback used to notify the received to a NOTIFY.
virtual LINPHONECXX_PUBLIC void onSubscribeReceived (const std::shared_ptr< linphone::Event > &event)
 Callback used to notify the received to a SUBSCRIBE.
virtual LINPHONECXX_PUBLIC void onSubscribeStateChanged (const std::shared_ptr< linphone::Event > &event, linphone::SubscriptionState state)
 SUBSCRIBE state changed callback.
virtual LINPHONECXX_PUBLIC void onPublishReceived (const std::shared_ptr< linphone::Event > &event, const std::shared_ptr< linphone::Content > &content)
 Callback used to notify the received to a PUBLISH.
virtual LINPHONECXX_PUBLIC void onPublishStateChanged (const std::shared_ptr< linphone::Event > &event, linphone::PublishState state)
 PUBLISH state changed callback.

Detailed Description

An object to handle the callbacks for handling the Event operations.

Member Function Documentation

◆ onNotifyReceived()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onNotifyReceived ( const std::shared_ptr< linphone::Event > & event,
const std::shared_ptr< const linphone::Content > & content )
inlinevirtual

Callback used to notify the received to a NOTIFY.

Parameters
eventThe LinphoneEvent object that receive the NOTIFY
contentThe LinphoneContent object that containe the body of the event

◆ onNotifyResponse()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onNotifyResponse ( const std::shared_ptr< linphone::Event > & event)
inlinevirtual

Callback used to notify the response to a sent NOTIFY.

Parameters
eventThe Event object that has sent the NOTIFY and for which we received a response

◆ onPublishReceived()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onPublishReceived ( const std::shared_ptr< linphone::Event > & event,
const std::shared_ptr< linphone::Content > & content )
inlinevirtual

Callback used to notify the received to a PUBLISH.

Parameters
eventThe LinphoneEvent object that receive the PUBLISH
contentThe LinphoneContent object that containe the body of the event

◆ onPublishStateChanged()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onPublishStateChanged ( const std::shared_ptr< linphone::Event > & event,
linphone::PublishState state )
inlinevirtual

PUBLISH state changed callback.

Parameters
eventThe LinphoneEvent object that state changed
stateThe LinphonePublishState

◆ onSubscribeReceived()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onSubscribeReceived ( const std::shared_ptr< linphone::Event > & event)
inlinevirtual

Callback used to notify the received to a SUBSCRIBE.

Parameters
eventThe LinphoneEvent object that receive the SUBSCRIBE

◆ onSubscribeStateChanged()

virtual LINPHONECXX_PUBLIC void linphone::EventListener::onSubscribeStateChanged ( const std::shared_ptr< linphone::Event > & event,
linphone::SubscriptionState state )
inlinevirtual

SUBSCRIBE state changed callback.

Parameters
eventThe Event object that state changed
stateThe SubscriptionState

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