Closed sashok7241 closed 11 years ago
Hi,
See Call.Type.
Example:
Skype.addCallMonitorListener(new CallMonitorListener() {
@Override
public void callMonitor(Call call, Call.Status status) throws SkypeException {
if (status.equals(Call.Status.RINGING) && call.getType().equals(Call.Type.OUTGOING_P2P)){
call.getPartner().send("Please, stop calling!");
call.cancel();
}
}
});
Thank you!