Liblinphone  5.4.0
Public Member Functions | List of all members
linphone::EventListener Class Reference

An object to handle the callbacks for handling the LinphoneEvent 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. More...
 
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. More...
 
virtual LINPHONECXX_PUBLIC void onSubscribeReceived (const std::shared_ptr< linphone::Event > &event)
 Callback used to notify the received to a SUBSCRIBE. More...
 
virtual LINPHONECXX_PUBLIC void onSubscribeStateChanged (const std::shared_ptr< linphone::Event > &event, linphone::SubscriptionState state)
 SUBSCRIBE state changed callback. More...
 
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. More...
 
virtual LINPHONECXX_PUBLIC void onPublishStateChanged (const std::shared_ptr< linphone::Event > &event, linphone::PublishState state)
 PUBLISH state changed callback. More...
 

Detailed Description

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

Member Function Documentation

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
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
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
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
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
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: