|
Liblinphone 5.5.0
|
#include <conference_scheduler.hh>
Public Types | |
| enum class | Type { SIP = 0 , DB = 1 , CCMP = 2 } |
| enum class | State { Idle = 0 , Error = 1 , AllocationPending = 2 , Ready = 3 , Updating = 4 } |
Public Member Functions | |
| LINPHONECXX_PUBLIC | ConferenceScheduler (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphoneConferenceScheduler * | cPtr () |
| LINPHONECXX_PUBLIC void | addListener (const std::shared_ptr< ConferenceSchedulerListener > &listener) |
| LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< ConferenceSchedulerListener > &listener) |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Account > | getAccount () const |
| LINPHONECXX_PUBLIC void | setAccount (const std::shared_ptr< linphone::Account > &account) |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Core > | getCore () const |
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::ConferenceInfo > | getInfo () const |
| LINPHONECXX_PUBLIC void | setInfo (const std::shared_ptr< linphone::ConferenceInfo > &conferenceInfo) |
| LINPHONECXX_PUBLIC void | cancelConference (const std::shared_ptr< linphone::ConferenceInfo > &conferenceInfo) |
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED void | sendInvitations (const std::shared_ptr< linphone::ChatRoomParams > &chatRoomParams) |
| LINPHONECXX_PUBLIC void | sendInvitations (const std::shared_ptr< linphone::ConferenceParams > &conferenceParams) |
Creates and manages conferences on a conferenceing service, and send conference invitations to notify participants.
|
strong |
Describes conference scheduler possible states.
| Enumerator | |
|---|---|
| Idle | Default state of a freshly created ConferenceScheduler. |
| Error | An error has happened during conference creation. |
| AllocationPending | Conference creation is in progress. |
| Ready | Confererence has been created. |
| Updating | Conference has been updated. |
|
strong |
Type is used to know which conference scheduler type the core is using
| Enumerator | |
|---|---|
| SIP | SIP conference scheduler type. |
| DB | Database conference scheduler type. |
| CCMP | CCMP conference scheduler type. |
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::addListener | ( | const std::shared_ptr< ConferenceSchedulerListener > & | listener | ) |
Add an application listener to the ConferenceScheduler instance.
| listener | the application listener |
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::cancelConference | ( | const std::shared_ptr< linphone::ConferenceInfo > & | conferenceInfo | ) |
Cancel the conference linked to the ConferenceInfo provided as argument.
| conferenceInfo | the ConferenceInfo object to linked to the conference to cancel. |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Account > linphone::ConferenceScheduler::getAccount | ( | ) | const |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Core > linphone::ConferenceScheduler::getCore | ( | ) | const |
Gets the Core from a ConferenceScheduler object.
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::ConferenceInfo > linphone::ConferenceScheduler::getInfo | ( | ) | const |
Returns the ConferenceInfo currently set in this scheduler.
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::removeListener | ( | const std::shared_ptr< ConferenceSchedulerListener > & | listener | ) |
Remove a previously added listener from the ConferenceScheduler instance.
| listener | the application listener |
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED void linphone::ConferenceScheduler::sendInvitations | ( | const std::shared_ptr< linphone::ChatRoomParams > & | chatRoomParams | ) |
Sends an invitation to the scheduled conference to each participant by chat, using given chat rooms params to use/create the chat room in which to send it.
| chatRoomParams | the ChatRoomParams object to use to use/create the ChatRoom that will be used to send the invite. |
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::sendInvitations | ( | const std::shared_ptr< linphone::ConferenceParams > & | conferenceParams | ) |
Sends an invitation to the scheduled conference to each participant by chat, using given conference params to use/create the chat room in which to send it.
| conferenceParams | the ConferenceParams object to use to use/create the ChatRoom that will be used to send the invite. |
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::setAccount | ( | const std::shared_ptr< linphone::Account > & | account | ) |
| LINPHONECXX_PUBLIC void linphone::ConferenceScheduler::setInfo | ( | const std::shared_ptr< linphone::ConferenceInfo > & | conferenceInfo | ) |
Sets the ConferenceInfo to use to create/update the conference, which will be done right away.
| conferenceInfo | the ConferenceInfo object to use to start creating/updating the client conference. |