Liblinphone  5.2.0
Public Types | Public Member Functions | List of all members
linphone::ConferenceInfo Class Reference

Object defining all information related to a conference. More...

#include <conference_info.hh>

Inheritance diagram for linphone::ConferenceInfo:

Public Types

enum  State {
  State::New = 0,
  State::Updated = 1,
  State::Cancelled = 2
}
 State is used to list all states of a conference info object More...
 

Public Member Functions

 ConferenceInfo (void *ptr, bool takeRef=true)
 
LINPHONECXX_PUBLIC _LinphoneConferenceInfo * cPtr ()
 
LINPHONECXX_PUBLIC time_t getDateTime () const
 Retrieve the date and time of the conference. More...
 
LINPHONECXX_PUBLIC void setDateTime (time_t datetime)
 Set the date and time of the conference. More...
 
LINPHONECXX_PUBLIC std::string getDescription () const
 Retrieve the description of the conference. More...
 
LINPHONECXX_PUBLIC void setDescription (const std::string &description)
 Set the description of the conference. More...
 
LINPHONECXX_PUBLIC unsigned int getDuration () const
 Retrieve the duration (in minutes) of the conference. More...
 
LINPHONECXX_PUBLIC void setDuration (unsigned int duration)
 Set the duration (in minutes) of the conference. More...
 
LINPHONECXX_PUBLIC std::string getIcalendarString () const
 Retrieve the conference as an Icalendar string. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::AddressgetOrganizer () const
 Retrieve the organizer of the conference. More...
 
LINPHONECXX_PUBLIC void setOrganizer (const std::shared_ptr< linphone::Address > &organizer)
 Set the organizer of the conference. More...
 
LINPHONECXX_PUBLIC std::list< std::shared_ptr< linphone::Address > > getParticipants () const
 Retrieve the list of participants. More...
 
LINPHONECXX_PUBLIC void setParticipants (const std::list< std::shared_ptr< linphone::Address >> &participants)
 Set the list of participants. More...
 
LINPHONECXX_PUBLIC State getState () const
 Retrieve the state of the conference info. More...
 
LINPHONECXX_PUBLIC std::string getSubject () const
 Retrieve the subject of the conference. More...
 
LINPHONECXX_PUBLIC void setSubject (const std::string &subject)
 Set the subject of the conference. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::AddressgetUri () const
 Retrieve the URI of the conference. More...
 
LINPHONECXX_PUBLIC void addParticipant (const std::shared_ptr< linphone::Address > &participant)
 Add a participant to the conference. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< linphone::ConferenceInfoclone () const
 Clone an object ConferenceInfo. More...
 
LINPHONECXX_PUBLIC void removeParticipant (const std::shared_ptr< linphone::Address > &participant)
 Remove a participant from the conference. More...
 

Detailed Description

Object defining all information related to a conference.

Member Enumeration Documentation

◆ State

State is used to list all states of a conference info object

Enumerator
New 

New conference.

Updated 

Conference has been updated.

Cancelled 

Canceling a conference.

Member Function Documentation

◆ addParticipant()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::addParticipant ( const std::shared_ptr< linphone::Address > &  participant)

Add a participant to the conference.

Parameters
participantThe participant (Address) to add.

◆ clone()

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

Clone an object ConferenceInfo.

Returns
the cloned ConferenceInfo object.

◆ getDateTime()

LINPHONECXX_PUBLIC time_t linphone::ConferenceInfo::getDateTime ( ) const

Retrieve the date and time of the conference.

Returns
The date and time of the conference.

◆ getDescription()

LINPHONECXX_PUBLIC std::string linphone::ConferenceInfo::getDescription ( ) const

Retrieve the description of the conference.

Returns
The description of the conference.

◆ getDuration()

LINPHONECXX_PUBLIC unsigned int linphone::ConferenceInfo::getDuration ( ) const

Retrieve the duration (in minutes) of the conference.

Returns
The duration of the conference.

◆ getIcalendarString()

LINPHONECXX_PUBLIC std::string linphone::ConferenceInfo::getIcalendarString ( ) const

Retrieve the conference as an Icalendar string.

Returns
The conference as an Icalendar string. The returned char* must be freed by the caller.

◆ getOrganizer()

LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ConferenceInfo::getOrganizer ( ) const

Retrieve the organizer of the conference.

Returns
The Address of the conference's organizer.

◆ getParticipants()

LINPHONECXX_PUBLIC std::list<std::shared_ptr<linphone::Address> > linphone::ConferenceInfo::getParticipants ( ) const

Retrieve the list of participants.

Returns
The list of participants.

◆ getState()

LINPHONECXX_PUBLIC State linphone::ConferenceInfo::getState ( ) const

Retrieve the state of the conference info.

Returns
State object.

◆ getSubject()

LINPHONECXX_PUBLIC std::string linphone::ConferenceInfo::getSubject ( ) const

Retrieve the subject of the conference.

Returns
The subject of the conference.

◆ getUri()

LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ConferenceInfo::getUri ( ) const

Retrieve the URI of the conference.

Returns
The URI of the conference (Address).

◆ removeParticipant()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::removeParticipant ( const std::shared_ptr< linphone::Address > &  participant)

Remove a participant from the conference.

Parameters
participantThe participant (Address) to remove.

◆ setDateTime()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::setDateTime ( time_t  datetime)

Set the date and time of the conference.

Parameters
datetimeThe date and time of the conference.

◆ setDescription()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::setDescription ( const std::string &  description)

Set the description of the conference.

Parameters
descriptionThe description of the conference.

◆ setDuration()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::setDuration ( unsigned int  duration)

Set the duration (in minutes) of the conference.

Parameters
durationThe duration of the conference.

◆ setOrganizer()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::setOrganizer ( const std::shared_ptr< linphone::Address > &  organizer)

Set the organizer of the conference.

Parameters
organizerThe Address of the conference's organizer.

◆ setParticipants()

LINPHONECXX_PUBLIC void linphone::ConferenceInfo::setParticipants ( const std::list< std::shared_ptr< linphone::Address >> &  participants)

Set the list of participants.

Parameters
participantsThe list of participants to set.

◆ setSubject()

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

Set the subject of the conference.

Parameters
subjectThe subject of the conference.

The documentation for this class was generated from the following file: