public class ConferenceProvider
extends java.lang.Object
Constructor and Description |
---|
ConferenceProvider(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
void |
addConferenceProviderListener(ConferenceProviderEventsHandler value)
Adds a new conference provider event listener
All added listeners will be notified for each event.
|
BrandingInfo |
brandingInfo()
Gets the conference branding info
|
int |
callsInConferences()
Gets the total count of calls in all conferences
|
Conference |
conferenceContainingCall(Call call)
Gets the conference in which the provided call is part of
Returns the conference in which the given call is part of, if it is part of any, otherwise a null pointer is returned.
|
int |
conferencesCount()
Gets the count of all conferences
|
Conference |
createConference(java.util.List<Call> calls)
Creates a new conferene with the provided calls
ConferenceProviderEventsHandler's onConferenceAdded is invoked on successful creation of the conference.
|
void |
dropConferenceProviderListener(ConferenceProviderEventsHandler value)
Removes a specific already added conference provider event listener
All added/left listeners will be notified for each event.
|
protected void |
finalize()
Ensures the underlying native object destruction
|
Conference |
getConference(long hConf)
Gets the conference with the specified ID
Returns the conference with the specified ID if exist, otherwise a null pointer is returned.
|
long |
handle()
Gets the pointer/address to the underlying native object
|
boolean |
isCallInConference(long hCall)
Checks whether the call with the provided ID is part of any conference
Returns whether a call with the provided ID exists and is part of any active conference.
|
java.util.List<Conference> |
listConferences()
Gets a list with all conferences
|
public ConferenceProvider(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public java.util.List<Conference> listConferences()
Conference
public int conferencesCount()
public int callsInConferences()
public BrandingInfo brandingInfo()
BrandingInfo
public Conference createConference(java.util.List<Call> calls)
calls
- List of the calls to be added in the conferenceConferenceEventsHandler ConferenceProviderEventsHandler
public Conference getConference(long hConf)
hConf
- The ID of the requested conferencepublic boolean isCallInConference(long hCall)
hCall
- The ID of the call to be searched forconferenceContainingCall
public Conference conferenceContainingCall(Call call)
call
- The call to be searched forisCallInConference
public void addConferenceProviderListener(ConferenceProviderEventsHandler value)
value
- The conference provider event listener to be addeddropConferenceProviderListener
public void dropConferenceProviderListener(ConferenceProviderEventsHandler value)
value
- The conference provider event listener to be removedaddConferenceProviderListener