Liblinphone
5.4.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 void | setAccount (const std::shared_ptr< linphone::Account > &account) |
Sets 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< linphone::ChatParams > | getChatParams () const |
Get the chat parameters. 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 | getDescriptionUtf8 () const |
Get conference description (utf8). More... | |
LINPHONECXX_PUBLIC void | setDescriptionUtf8 (const std::string &description) |
Set the description of the conference (utf8) More... | |
LINPHONECXX_PUBLIC bool | groupEnabled () const |
Get the group chat status of the text capabilities of the conference associated with the given parameters. More... | |
LINPHONECXX_PUBLIC void | enableGroup (bool group) |
Enables or disables group chat for the text capabilities of the conference associated with the given parameters. 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 bool | isValid () const |
Returns whether the given parameters are valid or not. 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 std::string | getSubject () const |
Get the conference subject. More... | |
LINPHONECXX_PUBLIC void | setSubject (const std::string &subject) |
Set the conference subject. More... | |
LINPHONECXX_PUBLIC std::string | getSubjectUtf8 () const |
Get the conference subject as an UTF-8 string. More... | |
LINPHONECXX_PUBLIC void | setSubjectUtf8 (const std::string &subject) |
Set the conference subject as an UTF8 string. 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::enableGroup | ( | bool | group | ) |
Enables or disables group chat for the text capabilities of the conference associated with the given parameters.
group | true to enable group chat, false to disable (resulting in one-to-one text capabilities of the 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<linphone::ChatParams> linphone::ConferenceParams::getChatParams | ( | ) | const |
Get the chat parameters.
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::getDescriptionUtf8 | ( | ) | const |
Get conference description (utf8).
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 std::string linphone::ConferenceParams::getSubject | ( | ) | const |
Get the conference subject.
LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getSubjectUtf8 | ( | ) | const |
Get the conference subject as an UTF-8 string.
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::groupEnabled | ( | ) | const |
Get the group chat status of the text capabilities of the conference associated with the given parameters.
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 bool linphone::ConferenceParams::isValid | ( | ) | const |
Returns whether the given parameters are valid or not.
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::setAccount | ( | const std::shared_ptr< linphone::Account > & | account | ) |
Sets the account for the conference.
account | a pointer to the account. |
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 client conference.
address | the conference factory address. |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setDescriptionUtf8 | ( | const std::string & | description | ) |
Set the description of the conference (utf8)
description | the conference description. |
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::setSubject | ( | const std::string & | subject | ) |
Set the conference subject.
subject | conference subject |
LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubjectUtf8 | ( | const std::string & | subject | ) |
Set the conference subject as an UTF8 string.
subject | conference subject |
LINPHONECXX_PUBLIC bool linphone::ConferenceParams::videoEnabled | ( | ) | const |
Check whether video capabilities are enabled.