#include <conference_params.hh>
Object defining parameters for a Conference.
Can be created by calling function Core::createConferenceParams().
◆ audioEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::audioEnabled |
( |
| ) |
const |
Check whether audio capabilities are enabled.
- Returns
- true if the conference supports audio capabilities, false otherwise
◆ chatEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::chatEnabled |
( |
| ) |
const |
Check whether chat capabilities are enabled.
- Returns
- true if the conference supports chat capabilities, false otherwise
◆ clone()
◆ enableAudio()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableAudio |
( |
bool |
enable | ) |
|
Enable audio capabilities.
- Parameters
-
| enable | If true, audio will be enabled during conference |
◆ enableChat()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableChat |
( |
bool |
enable | ) |
|
Enable chat capabilities.
- Parameters
-
| enable | If true, chat is enabled during conference |
◆ enableGroup()
| 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.
- Parameters
-
| group | true to enable group chat, false to disable (resulting in one-on-one text capabilities of the conference) |
◆ enableLocalParticipant()
| 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.
- Parameters
-
| enable | true if local participant is automatically added to the conference, false otherwise |
◆ enableOneParticipantConference()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableOneParticipantConference |
( |
bool |
enable | ) |
|
Enable conference with one participant.
- Parameters
-
| enable | true if conference can have only one participant, false otherwise |
◆ enableVideo()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableVideo |
( |
bool |
enable | ) |
|
Enable video capabilities.
- Parameters
-
| enable | If true, video will be enabled during conference |
◆ getAccount()
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Account > linphone::ConferenceParams::getAccount |
( |
| ) |
const |
Returns the account for the conference.
- Returns
- a pointer to the account or nullptr if it is not set.
◆ getChatParams()
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::ChatParams > linphone::ConferenceParams::getChatParams |
( |
| ) |
const |
Get the chat parameters.
- Returns
- the chat parameters if chat capabilities are on, nullptr otherwise
◆ getConferenceFactoryAddress()
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > linphone::ConferenceParams::getConferenceFactoryAddress |
( |
| ) |
const |
Get the conference factory address of the conference that has been set.
- Returns
- the factory address conference description.
◆ getDescriptionUtf8()
| LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getDescriptionUtf8 |
( |
| ) |
const |
Get conference description (utf8).
- Returns
- the conference description.
◆ getParticipantListType()
◆ getProxyCfg()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED std::shared_ptr< linphone::ProxyConfig > linphone::ConferenceParams::getProxyCfg |
( |
| ) |
const |
Returns the proxy configuration for the conference.
- Returns
- a pointer to the proxy configuration or nullptr if it is not set.
- Deprecated:
- 11/01/2022 Use getAccount() instead.
◆ getSecurityLevel()
Retrieve the desired security level of the conference.
- Returns
- The desired security level of the conference.
◆ getSubject()
| LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getSubject |
( |
| ) |
const |
Get the conference subject.
- Returns
- conference subject.
◆ getSubjectUtf8()
| LINPHONECXX_PUBLIC std::string linphone::ConferenceParams::getSubjectUtf8 |
( |
| ) |
const |
Get the conference subject as an UTF-8 string.
- Returns
- conference subject.
◆ groupEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::groupEnabled |
( |
| ) |
const |
Get the group chat status of the text capabilities of the conference associated with the given parameters.
- Returns
- true if group chat is enabled, false if one-on-one
◆ isAudioEnabled()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isAudioEnabled |
( |
| ) |
const |
Check whether audio capabilities are enabled.
- Returns
- true if the conference supports audio capabilities, false otherwise
- Deprecated:
- 16/12/2021 Use audioEnabled() instead.
◆ isChatEnabled()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isChatEnabled |
( |
| ) |
const |
Check whether chat capabilities are enabled.
- Returns
- true if the conference supports chat capabilities, false otherwise
- Deprecated:
- 16/12/2021 Use chatEnabled() instead.
◆ isHidden()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::isHidden |
( |
| ) |
const |
Get the value of the hidden flag.
- Returns
- whether the conference is hidden or not
◆ isLocalParticipantEnabled()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isLocalParticipantEnabled |
( |
| ) |
const |
Returns whether local participant has to enter the conference.
- Returns
- true if local participant is by default part of the conference, false otherwise
- Deprecated:
- 16/12/2021 Use localParticipantEnabled() instead.
◆ isOneParticipantConferenceEnabled()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isOneParticipantConferenceEnabled |
( |
| ) |
const |
◆ isValid()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::isValid |
( |
| ) |
const |
Returns whether the given parameters are valid or not.
- Returns
- true if the given parameters are valid, false otherwise
◆ isVideoEnabled()
| LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED bool linphone::ConferenceParams::isVideoEnabled |
( |
| ) |
const |
Check whether video capabilities are enabled.
- Returns
- true if the conference supports video capabilities, false otherwise
- Deprecated:
- 16/12/2021 Use videoEnabled() instead.
◆ localParticipantEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::localParticipantEnabled |
( |
| ) |
const |
Returns whether local participant has to enter the conference.
- Returns
- true if local participant is by default part of the conference, false otherwise
◆ oneParticipantConferenceEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::oneParticipantConferenceEnabled |
( |
| ) |
const |
Returns whether conference can have only one participant.
- Returns
- true if the conference can have only one participant, false otherwise
◆ setAccount()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::setAccount |
( |
const std::shared_ptr< linphone::Account > & |
account | ) |
|
Sets the account for the conference.
- Parameters
-
| account | a pointer to the account.
|
- Warning
- This account is used to configure some conference parameter field, therefore it is recommended to set it after selecting the capabilities. For instance capabilities will be used when defaulting the factory address. If audio or video one is enabled, then the default factory address will be the one associated to audio video conferencing, otherwise it will be the chat one. linphone_core_create_conference_with_params
◆ setConferenceFactoryAddress()
| 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.
- Parameters
-
| address | the conference factory address.
|
◆ setDescriptionUtf8()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::setDescriptionUtf8 |
( |
const std::string & |
description | ) |
|
Set the description of the conference (utf8)
- Parameters
-
| description | the conference description.
|
◆ setHidden()
| 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.
- Parameters
-
| hidden | Boolean that states whether the conference is hidden or not |
◆ setParticipantListType()
Set the participant list type.
- Parameters
-
◆ setSecurityLevel()
Set the desired security level of the conference.
- Parameters
-
| securityLevel | The desired security level of the conference. |
◆ setSubject()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubject |
( |
const std::string & |
subject | ) |
|
Set the conference subject.
- Parameters
-
| subject | conference subject
|
◆ setSubjectUtf8()
| LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubjectUtf8 |
( |
const std::string & |
subject | ) |
|
Set the conference subject as an UTF8 string.
- Parameters
-
| subject | conference subject
|
◆ videoEnabled()
| LINPHONECXX_PUBLIC bool linphone::ConferenceParams::videoEnabled |
( |
| ) |
const |
Check whether video capabilities are enabled.
- Returns
- true if the conference supports video capabilities, false otherwise
The documentation for this class was generated from the following file: