public class CallListenerStub extends java.lang.Object implements CallListener
Constructor and Description |
---|
CallListenerStub() |
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.
|
public void onCameraNotWorking(Call call, java.lang.String cameraName)
CallListener
onCameraNotWorking
in interface CallListener
cameraName
- the name of the non-working camerapublic void onSnapshotTaken(Call call, java.lang.String filepath)
CallListener
onSnapshotTaken
in interface CallListener
filepath
- the name of the saved filepublic void onStateChanged(Call call, Call.State cstate, java.lang.String message)
CallListener
onStateChanged
in interface CallListener
message
- An informational message about the state.public void onTransferStateChanged(Call call, Call.State cstate)
CallListener
onTransferStateChanged
in interface CallListener
cstate
- The state of the call to transfer target at the far end.public void onTmmbrReceived(Call call, int streamIndex, int tmmbr)
CallListener
onTmmbrReceived
in interface CallListener
tmmbr
- the value of the received TMMBRpublic void onInfoMessageReceived(Call call, InfoMessage msg)
CallListener
onInfoMessageReceived
in interface CallListener
msg
- LinphoneInfoMessage object.public void onEncryptionChanged(Call call, boolean on, java.lang.String authenticationToken)
CallListener
onEncryptionChanged
in interface CallListener
authenticationToken
- An authentication_token, currently set for ZRTP kind
of encryption only.public void onAckProcessing(Call call, Headers ack, boolean isReceived)
CallListener
onAckProcessing
in interface CallListener
isReceived
- if true this ACK is an incoming one, otherwise it is an ACK
about to be sent.public void onDtmfReceived(Call call, int dtmf)
CallListener
onDtmfReceived
in interface CallListener
dtmf
- The ascii code of the dtmfpublic void onNextVideoFrameDecoded(Call call)
CallListener
onNextVideoFrameDecoded
in interface CallListener
call
- LinphoneCall for which the next video frame has been decodedpublic void onStatsUpdated(Call call, CallStats stats)
CallListener
onStatsUpdated
in interface CallListener
stats
- LinphoneCallStats object