Package org.linphone.core
Interface ConferenceInfo
public interface ConferenceInfo
Object defining all information related to a past or future conference.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParticipant(Address participant) Add a participant to the conference.voidaddParticipant(ParticipantInfo participantInfo) Add a participant to the conference.voidaddParticipantInfos(ParticipantInfo[] participantInfos) Add a list of participants.clone()Clone an objectConferenceInfo.findParticipant(Address participant) Find a participant information in the conference information.booleangetCapability(StreamType streamType) Get the capability of the conference.Retrieve the CCMP URI of the conference.longRetrieve the date and time of the conference.Retrieve the description of the conference.Retrieve the description of the conference.intRetrieve the duration (in minutes) of the conference.Retrieve the conference as an Icalendar string.Retrieve the ICS UID linked to a conference info.longGets the native pointer used by this class to make native method calls.Retrieve the organizer of the conference.Retrieve the organizer of the conference.Retrieve the list of participants as list of participant infos.Address[]Deprecated.Retrieve the desired security level of the conference.getState()Retrieve the state of the conference info.Retrieve the subject of the conference.Retrieve the subject of the conference.getUri()Retrieve the URI of the conference.Gets the object stored in this object user's datavoidremoveParticipant(Address participant) Remove a participant from the conference.voidsetCapability(StreamType streamType, boolean enable) Sets the capability of the conference.voidsetCcmpUri(String uri) Sets the CCMP URI of the conference.voidsetDateTime(long datetime) Sets the date and time of the conference.voidsetDescription(String description) Sets the description of the conference.voidsetDescriptionUtf8(String description) Sets the description of the conference.voidsetDuration(int duration) Sets the duration (in minutes) of the conference.voidStore the ICS UID in the conference info.voidsetOrganizer(Address organizer) Sets the organizer of the conference.voidsetOrganizerInfo(ParticipantInfo organizer) Sets the organizer information of the conference.voidsetParticipantInfos(ParticipantInfo[] participantInfos) Sets the list of participants.voidsetParticipants(Address[] participants) Deprecated.voidsetSecurityLevel(Conference.SecurityLevel securityLevel) Sets the desired security level of the conference.voidsetSubject(String subject) Sets the subject of the conference.voidsetSubjectUtf8(String subject) Sets the subject of the conference.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()voidupdateParticipant(ParticipantInfo participantInfo) Update the participant information in the conference informations.
-
Method Details
-
getCcmpUri
Retrieve the CCMP URI of the conference.
- Returns:
- The URI of the conference stored in the CCMP server.
-
setCcmpUri
Sets the CCMP URI of the conference.
- Parameters:
uri- The URI of the conference in the CCMP server.
-
getDateTime
long getDateTime()Retrieve the date and time of the conference.
- Returns:
- The date and time of the conference.
-
setDateTime
void setDateTime(long datetime) Sets the date and time of the conference.
- Parameters:
datetime- The date and time of the conference.
-
getDescription
Retrieve the description of the conference.
- Returns:
- The description of the conference.
-
setDescription
Sets the description of the conference.
- Parameters:
description- The description of the conference.
-
getDescriptionUtf8
Retrieve the description of the conference.
- Returns:
- The description of the conference.
-
setDescriptionUtf8
Sets the description of the conference.
- Parameters:
description- The description of the conference.
-
getDuration
int getDuration()Retrieve the duration (in minutes) of the conference.
- Returns:
- The duration of the conference.
-
setDuration
void setDuration(int duration) Sets the duration (in minutes) of the conference.
- Parameters:
duration- The duration of the conference.
-
getIcalendarString
Retrieve the conference as an Icalendar string.
- Returns:
- The conference as an Icalendar string. The returned char* must be freed
by the caller.
-
getIcsUid
Retrieve the ICS UID linked to a conference info.
- Returns:
- the ICS UID.
-
setIcsUid
Store the ICS UID in the conference info.
- Parameters:
uid- the ICS UID to be associated to theConferenceInfoobject.
-
getOrganizer
Retrieve the organizer of the conference.
- Returns:
- The
Addressof the conference's organizer.
-
setOrganizer
Sets the organizer of the conference.
- Parameters:
organizer- TheAddressof the conference's organizer.
-
getOrganizerInfo
Retrieve the organizer of the conference.
- Returns:
- The
ParticipantInfoof the conference's organizer.
-
setOrganizerInfo
Sets the organizer information of the conference.
- Parameters:
organizer- TheParticipantInfoof the conference's organizer.
-
getParticipantInfos
Retrieve the list of participants as list of participant infos.
- Returns:
- The list of participant informations.
-
setParticipantInfos
Sets the list of participants.
- Parameters:
participantInfos- The list of participant informations to set.
-
getParticipants
Deprecated.Retrieve the list of participants as list of addresses.
- Returns:
- The list of participants.
deprecated: 24/08/2023 use linphone_conference_info_get_participant_infos
instead
-
setParticipants
Deprecated.Sets the list of participants.
- Parameters:
participants- The list of participants to set.
deprecated: 24/08/2023 use linphone_conference_info_set_participant_infos
instead
-
getSecurityLevel
Conference.SecurityLevel getSecurityLevel()Retrieve the desired security level of the conference.
- Returns:
- The desired security level of the conference.
-
setSecurityLevel
Sets the desired security level of the conference.
- Parameters:
securityLevel- The desired security level of the conference.
-
getState
Retrieve the state of the conference info.
- Returns:
ConferenceInfo.Stateobject.
-
getSubject
Retrieve the subject of the conference.
- Returns:
- The subject of the conference.
-
setSubject
Sets the subject of the conference.
- Parameters:
subject- The subject of the conference.
-
getSubjectUtf8
Retrieve the subject of the conference.
- Returns:
- The subject of the conference.
-
setSubjectUtf8
Sets the subject of the conference.
- Parameters:
subject- The subject of the conference.
-
getUri
Retrieve the URI of the conference.
- Returns:
- The URI of the conference (
Address).
-
addParticipant
Add a participant to the conference.
- Parameters:
participant- The participant (Address) to add.
-
addParticipant
Add a participant to the conference.
- Parameters:
participantInfo- The participant information (ParticipantInfo) to
add. This method can be called to set attributes such as the role to the
organizer of the conference
-
addParticipantInfos
Add a list of participants.
- Parameters:
participantInfos- The list of participant informations to add.
-
clone
- Returns:
- the cloned
ConferenceInfoobject.
-
findParticipant
Find a participant information in the conference information.
- Parameters:
participant- The participant (Address) to search.- Returns:
- The participant information (
ParticipantInfo).
-
getCapability
Get the capability of the conference.
The capability information represents the capability for the conference linked
to theConferenceInfoto handle a given stream type (audio, video or
text).- Parameters:
streamType- AStreamType- Returns:
- the capability of the conference linked to conference information
ConferenceInfo
-
removeParticipant
Remove a participant from the conference.
- Parameters:
participant- The participant (Address) to remove.
-
setCapability
Sets the capability of the conference.
The capability information represents the capability for the conference linked
to theConferenceInfoto handle a given stream type (audio, video or
text).- Parameters:
streamType- AStreamTypeenable- the capability of the conference linked to conference information
ConferenceInfo
-
updateParticipant
Update the participant information in the conference informations.
- Parameters:
participantInfo- The participant information (ParticipantInfo) to
update. This method can be called to change attributes such as the role to the
organizer of the conference
-
setUserData
Sets the object to store in this object user's data- Parameters:
data- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-