Package com.pexip.sdk.api.infinity
Interface InfinityService.CallStep
-
- All Implemented Interfaces:
public interface InfinityService.CallStepRepresents the Call functions section.
-
-
Method Summary
Modifier and Type Method Description Call<Unit>newCandidate(NewCandidateRequest request, Token token)Sends the new ICE candidate. Call<Unit>ack(Token token)Acks the call. Call<Unit>ack(AckRequest request, Token token)Acks the call. Call<UpdateResponse>update(UpdateRequest request, Token token)Sends a new SDP. Call<Boolean>dtmf(DtmfRequest request, Token token)Sends DTMF digits to the participant (gateway call only). Call<Boolean>disconnect(Token token)Disconnects the call. InfinityService.ParticipantStepgetParticipantStep()CallIdgetCallId()-
-
Method Detail
-
newCandidate
Call<Unit> newCandidate(NewCandidateRequest request, Token token)
Sends the new ICE candidate.
See documentation.
- Parameters:
request- a request bodytoken- a valid token
-
ack
Call<Unit> ack(Token token)
Acks the call.
See documentation.
- Parameters:
token- a valid token
-
ack
Call<Unit> ack(AckRequest request, Token token)
Acks the call.
This is only used for direct media calls and should contain the local SDP.
See documentation.
- Parameters:
request- a request bodytoken- a valid token
-
update
Call<UpdateResponse> update(UpdateRequest request, Token token)
Sends a new SDP.
See documentation.
- Parameters:
request- a request bodytoken- a valid token- Returns:
a new SDP
-
dtmf
Call<Boolean> dtmf(DtmfRequest request, Token token)
Sends DTMF digits to the participant (gateway call only).
See documentation.
- Parameters:
request- a request bodytoken- a valid token- Returns:
true if successful, false otherwise
-
disconnect
Call<Boolean> disconnect(Token token)
Disconnects the call.
See documentation.
- Parameters:
token- a valid token- Returns:
true if successful, false otherwise
-
getParticipantStep
InfinityService.ParticipantStep getParticipantStep()
-
getCallId
CallId getCallId()
-
-
-
-