Liblinphone
5.3.0
|
Object defining parameters for a Conference. More...
#include <conference_params.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | ConferenceParams (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneConferenceParams * | cPtr () |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::Account > | getAccount () const |
Returns the account for the conference. More... | |
LINPHONECXX_PUBLIC bool | audioEnabled () const |
Check whether audio capabilities are enabled. More... | |
LINPHONECXX_PUBLIC void | enableAudio (bool enable) |
Enable audio capabilities. More... | |
LINPHONECXX_PUBLIC bool | chatEnabled () const |
Check whether chat capabilities are enabled. More... | |
LINPHONECXX_PUBLIC void | enableChat (bool enable) |
Enable chat capabilities. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getConferenceFactoryAddress () const |
Get the conference factory address of the conference that has been set. More... | |
LINPHONECXX_PUBLIC void | setConferenceFactoryAddress (const std::shared_ptr< const linphone::Address > &address) |
Set the conference factory address of the conference. More... | |
LINPHONECXX_PUBLIC std::string | getDescription () const |
Get conference description. More... | |
LINPHONECXX_PUBLIC void | setDescription (const std::string &description) |
Set the description of the conference. More... | |
LINPHONECXX_PUBLIC time_t | getEndTime () const |
Get the end time of the conference. More... | |
LINPHONECXX_PUBLIC void | setEndTime (time_t end) |
Set the conference end time. More... | |
LINPHONECXX_PUBLIC void | setHidden (bool hidden) |
Set the conference as hidden. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool | isAudioEnabled () const |
Check whether audio capabilities are enabled. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool | isChatEnabled () const |
Check whether chat capabilities are enabled. More... | |
LINPHONECXX_PUBLIC bool | isHidden () const |
Get the value of the hidden flag. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool | isLocalParticipantEnabled () const |
Returns whether local participant has to enter the conference. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool | isOneParticipantConferenceEnabled () const |
Returns whether conference can have only one participant. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool | isVideoEnabled () const |
Check whether video capabilities are enabled. More... | |
LINPHONECXX_PUBLIC bool | localParticipantEnabled () const |
Returns whether local participant has to enter the conference. More... | |
LINPHONECXX_PUBLIC void | enableLocalParticipant (bool enable) |
Enable local participant to enter the conference. More... | |
LINPHONECXX_PUBLIC bool | oneParticipantConferenceEnabled () const |
Returns whether conference can have only one participant. More... | |
LINPHONECXX_PUBLIC void | enableOneParticipantConference (bool enable) |
Enable conference with one participant. More... | |
LINPHONECXX_PUBLIC linphone::Conference::ParticipantListType | getParticipantListType () const |
Get the participant list type. More... | |
LINPHONECXX_PUBLIC void | setParticipantListType (linphone::Conference::ParticipantListType type) |
Set the participant list type. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED std::shared_ptr< linphone::ProxyConfig > | getProxyCfg () const |
Returns the proxy configuration for the conference. More... | |
LINPHONECXX_PUBLIC linphone::Conference::SecurityLevel | getSecurityLevel () const |
Retrieve the desired security level of the conference. More... | |
LINPHONECXX_PUBLIC void | setSecurityLevel (linphone::Conference::SecurityLevel securityLevel) |
Set the desired security level of the conference. More... | |
LINPHONECXX_PUBLIC time_t | getStartTime () const |
Get the start time of the conference. More... | |
LINPHONECXX_PUBLIC void | setStartTime (time_t start) |
Set the conference start time. More... | |
LINPHONECXX_PUBLIC std::string | getSubject () const |
Get conference subject. More... | |
LINPHONECXX_PUBLIC void | setSubject (const std::string &subject) |
Set the subject of the conference. More... | |
LINPHONECXX_PUBLIC bool | videoEnabled () const |
Check whether video capabilities are enabled. More... | |
LINPHONECXX_PUBLIC void | enableVideo (bool enable) |
Enable video capabilities. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::ConferenceParams > | clone () const |
Clone a ConferenceParams. More... | |
Object defining parameters for a Conference.
Can be created by calling function Core::createConferenceParams().
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::audioEnabled | ( | ) | const |
Check whether audio capabilities are enabled.
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::chatEnabled | ( | ) | const |
Check whether chat capabilities are enabled.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::ConferenceParams> linphone::ConferenceParams::clone | ( | ) | const |
Clone a ConferenceParams.
LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableAudio | ( | bool | enable | ) |
Enable audio capabilities.
enable | If true, audio will be enabled during conference |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableChat | ( | bool | enable | ) |
Enable chat capabilities.
enable | If true, chat is enabled during conference |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableLocalParticipant | ( | bool | enable | ) |
Enable local participant to enter the conference.
The local participant is the one driving the local Core. It uses the local sound devices. The default value is true. Setting to false is mostly helpful when using liblinphone on a server application.
enable | true if local participant is automatically added to the conference, false otherwise |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableOneParticipantConference | ( | bool | enable | ) |
Enable conference with one participant.
enable | true if conference can have only one participant, false otherwise |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableVideo | ( | bool | enable | ) |
Enable video capabilities.
enable | If true, video will be enabled during conference |
LINPHONECXX_PUBLIC std::shared_ptr<linphone::Account> linphone::ConferenceParams::getAccount | ( | ) | const |
Returns the account for the conference.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ConferenceParams::getConferenceFactoryAddress | ( | ) | const |
Get the conference factory address of the conference that has been set.
LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getDescription | ( | ) | const |
Get conference description.
LINPHONECXX_PUBLIC time_t linphone::ConferenceParams::getEndTime | ( | ) | const |
Get the end time of the conference.
LINPHONECXX_PUBLIC linphone::Conference::ParticipantListType linphone::ConferenceParams::getParticipantListType | ( | ) | const |
Get the participant list type.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED std::shared_ptr<linphone::ProxyConfig> linphone::ConferenceParams::getProxyCfg | ( | ) | const |
Returns the proxy configuration for the conference.
LINPHONECXX_PUBLIC linphone::Conference::SecurityLevel linphone::ConferenceParams::getSecurityLevel | ( | ) | const |
Retrieve the desired security level of the conference.
LINPHONECXX_PUBLIC time_t linphone::ConferenceParams::getStartTime | ( | ) | const |
Get the start time of the conference.
LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getSubject | ( | ) | const |
Get conference subject.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isAudioEnabled | ( | ) | const |
Check whether audio capabilities are enabled.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isChatEnabled | ( | ) | const |
Check whether chat capabilities are enabled.
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::isHidden | ( | ) | const |
Get the value of the hidden flag.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isLocalParticipantEnabled | ( | ) | const |
Returns whether local participant has to enter the conference.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isOneParticipantConferenceEnabled | ( | ) | const |
Returns whether conference can have only one participant.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isVideoEnabled | ( | ) | const |
Check whether video capabilities are enabled.
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::localParticipantEnabled | ( | ) | const |
Returns whether local participant has to enter the conference.
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::oneParticipantConferenceEnabled | ( | ) | const |
Returns whether conference can have only one participant.
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setConferenceFactoryAddress | ( | const std::shared_ptr< const linphone::Address > & | address | ) |
Set the conference factory address of the conference.
By default when creating a new conference, the factory address will come from the current proxy configuration. If nullptr then the conference will be local else it will be a remote conference.
address | the conference factory address. |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setDescription | ( | const std::string & | description | ) |
Set the description of the conference.
description | the conference description. |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setEndTime | ( | time_t | end | ) |
Set the conference end time.
end | the conference end time as the number of seconds between the desired end time and the 1st of January 1970. In order to program an undefined end of a conference, then program the end time to 0 |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setHidden | ( | bool | hidden | ) |
Set the conference as hidden.
This means that the contact address will not have any conference releated attribute such as isfocus, the conference ID and the admin status.
hidden | Boolean that states whether the conference is hidden or not |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setParticipantListType | ( | linphone::Conference::ParticipantListType | type | ) |
Set the participant list type.
type | Participant list type Conference::ParticipantListType. This allows to restrict the access to the conference to a selected set of participants |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSecurityLevel | ( | linphone::Conference::SecurityLevel | securityLevel | ) |
Set the desired security level of the conference.
securityLevel | The desired security level of the conference. |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setStartTime | ( | time_t | start | ) |
Set the conference start time.
start | the conference start time as the number of seconds between the desired start time and the 1st of January |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubject | ( | const std::string & | subject | ) |
Set the subject of the conference.
subject | the conference subject. |
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::videoEnabled | ( | ) | const |
Check whether video capabilities are enabled.