|
Liblinphone
5.2.0
|
Object used to create remote conferences and send ICS to notify participants. More...
#include <conference_scheduler.hh>
Public Types | |
| enum | State { State::Idle = 0, State::Error = 1, State::AllocationPending = 2, State::Ready = 3, State::Updating = 4 } |
| Describes conference scheduler possible states. More... | |
Public Member Functions | |
| 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 |
| Get the Account that is used for the conference scheduler. More... | |
| LINPHONECXX_PUBLIC void | setAccount (const std::shared_ptr< linphone::Account > &account) |
| Set the Account to use for the conference scheduler. More... | |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Core > | getCore () const |
| Gets the Core from a ConferenceScheduler object. More... | |
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::ConferenceInfo > | getInfo () const |
| Returns the ConferenceInfo currently set in this scheduler. More... | |
| LINPHONECXX_PUBLIC void | setInfo (const std::shared_ptr< linphone::ConferenceInfo > &conferenceInfo) |
| Sets the ConferenceInfo to use to create/update the conference, which will be done right away. More... | |
| LINPHONECXX_PUBLIC void | cancelConference (const std::shared_ptr< linphone::ConferenceInfo > &conferenceInfo) |
| Cancel the conference linked to the ConferenceInfo provided as argument. More... | |
| LINPHONECXX_PUBLIC void | 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. More... | |
Object used to create remote conferences and send ICS 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. |
| 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::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::setAccount | ( | const std::shared_ptr< linphone::Account > & | account | ) |
Set the Account to use for the conference scheduler.
| account | The Account to use, or nullptr if none has been selected. The CallParams keeps a reference to it and removes the previous one, if any. |
| 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 remote conference. |
1.8.13