com.sinch.sdk.domains.voice.ConferencesService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.voice;
import com.sinch.sdk.domains.voice.models.requests.CalloutRequestParametersConference;
import com.sinch.sdk.domains.voice.models.requests.ConferenceManageParticipantRequestParameters;
import com.sinch.sdk.domains.voice.models.response.ConferenceParticipant;
import java.util.Collection;
/**
* Using the Conferences endpoint, you can perform tasks like retrieving information about an
* on-going conference, muting or unmuting participants, or removing participants from a conference.
*
* @see https://developers.sinch.com/docs/voice/api-reference/voice/tag/Conferences
* @since 1.0
*/
public interface ConferencesService {
/**
* Calls a phone number or a user to join a conference. When the call is answered, it's connected
* to a conference room.
*
* @param parameters Conference parameters
* @return The returned call identifier (callId)
* @since 1.0
*/
String call(CalloutRequestParametersConference parameters);
/**
* Returns information about a conference that matches the provided conference ID.
*
* @param conferenceId The unique identifier of the conference. The user sets this value.
* @return The list of participants joined the conference
* @since 1.0
*/
Collection get(String conferenceId);
/**
* Removes all participants from a conference
*
* @param conferenceId The unique identifier of the conference. The user sets this value.
* @since 1.0
*/
void kickAll(String conferenceId);
/**
* Remove a specified conference participant from a specified conference
*
* @param conferenceId The unique identifier of the conference. The user sets this value.
* @param callId The unique identifier of the call. This value is generated by the system
* @since 1.0
*/
void kickParticipant(String conferenceId, String callId);
/**
* Manages conference participant in a specified conference:
*
* @param conferenceId The unique identifier of the conference. The user sets this value.
* @param callId The unique identifier of the call. This value is generated by the system
* @param parameters Parameters to manage participant
*/
void manageParticipant(
String conferenceId, String callId, ConferenceManageParticipantRequestParameters parameters);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy