public interface Conference
Modifier and Type | Interface and Description |
---|---|
static class |
Conference.State |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ConferenceListener listener) |
int |
addParticipant(Address uri)
Join a participant to the conference.
|
int |
addParticipant(Call call)
Join an existing call to the conference.
|
Participant |
findParticipant(Address uri)
Find a participant from a conference.
|
Address |
getConferenceAddress()
Get the conference address of the conference.
|
Core |
getCore()
Returns core for a
Conference . |
ConferenceParams |
getCurrentParams()
Get current parameters of the conference.
|
java.lang.String |
getId()
Get the conference id as string.
|
Participant |
getMe()
For a local audio video conference, this function returns the participant
hosting the conference For a remote audio video conference, this function returns the focus of the conference. |
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
int |
getParticipantCount()
Get number of participants.
|
Participant[] |
getParticipantList()
Get list of all participants of one conference.
|
Address[] |
getParticipants()
Deprecated.
10/07/2020 Use
getParticipantList() instead. |
java.lang.String |
getSubject()
Get the conference subject.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
inviteParticipants(Address[] addresses,
CallParams params)
Invite participants to the conference, by supplying a list of
Address . |
void |
oglRender()
Call generic OpenGL render for a given conference.
|
void |
previewOglRender()
Call generic OpenGL render preview for a given conference.
|
void |
removeListener(ConferenceListener listener) |
int |
removeParticipant(Address uri)
Deprecated.
10/07/2020 Use
removeParticipant(org.linphone.core.Address) instead. |
int |
removeParticipant(Call call)
Deprecated.
10/07/2020 Use
removeParticipant(org.linphone.core.Address) instead. |
int |
removeParticipant(Participant participant)
|
void |
setId(java.lang.String conferenceId)
Set the conference id as string.
|
void |
setSubject(java.lang.String subject)
Set the conference subject.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
int |
terminate()
Terminates conference.
|
java.lang.String |
toString() |
int |
updateParams(ConferenceParams params)
Update parameters of the conference.
|
@Nullable Address getConferenceAddress()
@NonNull Core getCore()
@NonNull ConferenceParams getCurrentParams()
ConferenceParams
. @Nullable java.lang.String getId()
void setId(@Nullable java.lang.String conferenceId)
conferenceId
- the conference id to set. @NonNull Participant getMe()
Participant
. int getParticipantCount()
Conference
@NonNull Participant[] getParticipantList()
@Deprecated @NonNull Address[] getParticipants()
getParticipantList()
instead. @Nullable java.lang.String getSubject()
void setSubject(@Nullable java.lang.String subject)
subject
- conference subject int addParticipant(@NonNull Call call)
call
- a Call
that has to be added to the conference. int addParticipant(@NonNull Address uri)
uri
- a Address
that has to be added to the conference. @Nullable Participant findParticipant(@NonNull Address uri)
uri
- SIP URI of the participant to search. int inviteParticipants(@NonNull Address[] addresses, @Nullable CallParams params)
addresses
- A list of SIP addresses to invite. params
- CallParams
to use for inviting the participants. void oglRender()
void previewOglRender()
@Deprecated int removeParticipant(@NonNull Address uri)
removeParticipant(org.linphone.core.Address)
instead. uri
- URI of the participant to remove getParticipants()
int removeParticipant(@NonNull Participant participant)
participant
- participant to remove getParticipantList()
@Deprecated int removeParticipant(@NonNull Call call)
removeParticipant(org.linphone.core.Address)
instead. call
- call to remove int terminate()
int updateParams(@NonNull ConferenceParams params)
params
- the new parameters to apply. void addListener(ConferenceListener listener)
void removeListener(ConferenceListener listener)
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object