Package com.sinch.android.rtc.calling
Interface CallListener
-
- All Known Subinterfaces:
VideoCallListener
public interface CallListener
Represents a listener ofCall
events. The methods handle call state changes.Call State Progression
For a complete outgoing call, the listener methods will be called in the following order:
- onCallProgressing
- onCallEstablished
- onCallEnded
For a complete incoming call, the delegate methods will be called in the following order, after the callback method
CallControllerListener.onIncomingCall(CallController, Call)
has been called:- onCallEstablished
- onCallEnded
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCallEnded(Call call)
Tells the listener that the call ended.void
onCallEstablished(Call call)
Tells the listener that the call was established .void
onCallProgressing(Call call)
Tells the listener that the outgoing call is progressing and a progress tone can be played.
-
-
-
Method Detail
-
onCallProgressing
void onCallProgressing(Call call)
Tells the listener that the outgoing call is progressing and a progress tone can be played.The call has entered the PROGRESSING state.
- Parameters:
call
- The outgoing call to the client on the other end.
-
onCallEstablished
void onCallEstablished(Call call)
Tells the listener that the call was established .The call has entered the ESTABLISHED state.
- Parameters:
call
- The call that was established.
-
onCallEnded
void onCallEnded(Call call)
Tells the listener that the call ended.The call has entered the ENDED state.
- Parameters:
call
- The call that ended.
-
-