public interface CallListener
Modifier and Type | Method and Description |
---|---|
void |
onAckProcessing(Call call,
Headers ack,
boolean isReceived)
Callback for notifying the processing SIP ACK messages.
|
void |
onCameraNotWorking(Call call,
java.lang.String cameraName)
Callback to notify that the camera is not working and has been changed to "No
Webcam".
|
void |
onDtmfReceived(Call call,
int dtmf)
Callback for being notified of received DTMFs.
|
void |
onEncryptionChanged(Call call,
boolean on,
java.lang.String authenticationToken)
Call encryption changed callback.
|
void |
onInfoMessageReceived(Call call,
InfoMessage msg)
Callback for receiving info messages.
|
void |
onNextVideoFrameDecoded(Call call)
Callback to notify a next video frame has been decoded.
|
void |
onSnapshotTaken(Call call,
java.lang.String filepath)
Callback for notifying a snapshot taken.
|
void |
onStateChanged(Call call,
Call.State cstate,
java.lang.String message)
Call state notification callback.
|
void |
onStatsUpdated(Call call,
CallStats stats)
Callback for receiving quality statistics for calls.
|
void |
onTmmbrReceived(Call call,
int streamIndex,
int tmmbr)
Callback for notifying a received TMMBR.
|
void |
onTransferStateChanged(Call call,
Call.State cstate)
Callback for notifying progresses of transfers.
|
void onCameraNotWorking(Call call, java.lang.String cameraName)
cameraName
- the name of the non-working cameravoid onSnapshotTaken(Call call, java.lang.String filepath)
filepath
- the name of the saved filevoid onStateChanged(Call call, Call.State cstate, java.lang.String message)
message
- An informational message about the state.void onTransferStateChanged(Call call, Call.State cstate)
cstate
- The state of the call to transfer target at the far end.void onTmmbrReceived(Call call, int streamIndex, int tmmbr)
tmmbr
- the value of the received TMMBRvoid onInfoMessageReceived(Call call, InfoMessage msg)
msg
- LinphoneInfoMessage object.void onEncryptionChanged(Call call, boolean on, java.lang.String authenticationToken)
authenticationToken
- An authentication_token, currently set for ZRTP kind
of encryption only.void onAckProcessing(Call call, Headers ack, boolean isReceived)
isReceived
- if true this ACK is an incoming one, otherwise it is an ACK
about to be sent.void onDtmfReceived(Call call, int dtmf)
dtmf
- The ascii code of the dtmfvoid onNextVideoFrameDecoded(Call call)
call
- LinphoneCall for which the next video frame has been decoded