Liblinphone  5.4.0
Public Member Functions | List of all members
linphone::ConferenceParams Class Reference

Object defining parameters for a Conference. More...

#include <conference_params.hh>

Inheritance diagram for linphone::ConferenceParams:

Public Member Functions

LINPHONECXX_PUBLIC ConferenceParams (void *ptr, bool takeRef=true)
 
LINPHONECXX_PUBLIC _LinphoneConferenceParams * cPtr ()
 
LINPHONECXX_PUBLIC std::shared_ptr< linphone::AccountgetAccount () 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::ChatParamsgetChatParams () const
 Get the chat parameters. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::AddressgetConferenceFactoryAddress () 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::ProxyConfiggetProxyCfg () 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::ConferenceParamsclone () const
 Clone a ConferenceParams. More...
 

Detailed Description

Object defining parameters for a Conference.

Can be created by calling function Core::createConferenceParams().

Member Function Documentation

◆ 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()

LINPHONECXX_PUBLIC std::shared_ptr<linphone::ConferenceParams> linphone::ConferenceParams::clone ( ) const

Clone a ConferenceParams.

Returns
An allocated ConferenceParams with the same parameters than params

◆ enableAudio()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableAudio ( bool  enable)

Enable audio capabilities.

Parameters
enableIf true, audio will be enabled during conference

◆ enableChat()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableChat ( bool  enable)

Enable chat capabilities.

Parameters
enableIf 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
grouptrue to enable group chat, false to disable (resulting in one-to-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
enabletrue 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
enabletrue if conference can have only one participant, false otherwise

◆ enableVideo()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::enableVideo ( bool  enable)

Enable video capabilities.

Parameters
enableIf 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()

LINPHONECXX_PUBLIC linphone::Conference::ParticipantListType linphone::ConferenceParams::getParticipantListType ( ) const

Get the participant list type.

Returns
participant list type Conference::ParticipantListType.

◆ 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()

LINPHONECXX_PUBLIC linphone::Conference::SecurityLevel linphone::ConferenceParams::getSecurityLevel ( ) const

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-to-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

Returns whether conference can have only one participant.

Returns
true if the conference can have only one participant, false otherwise
Deprecated:
16/12/2021 Use oneParticipantConferenceEnabled() instead.

◆ 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
accounta pointer to the account.
Warning
The account can only be changed upon creation of a conference when calling 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
addressthe conference factory address.

◆ setDescriptionUtf8()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::setDescriptionUtf8 ( const std::string &  description)

Set the description of the conference (utf8)

Parameters
descriptionthe 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
hiddenBoolean that states whether the conference is hidden or not

◆ setParticipantListType()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::setParticipantListType ( linphone::Conference::ParticipantListType  type)

Set the participant list type.

Parameters
typeParticipant list type Conference::ParticipantListType. This allows to restrict the access to the conference to a selected set of participants

◆ setSecurityLevel()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSecurityLevel ( linphone::Conference::SecurityLevel  securityLevel)

Set the desired security level of the conference.

Parameters
securityLevelThe desired security level of the conference.

◆ setSubject()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubject ( const std::string &  subject)

Set the conference subject.

Parameters
subjectconference subject

◆ setSubjectUtf8()

LINPHONECXX_PUBLIC void linphone::ConferenceParams::setSubjectUtf8 ( const std::string &  subject)

Set the conference subject as an UTF8 string.

Parameters
subjectconference 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: