mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
add notifyReceived + refreshRegisters to java api 2
This commit is contained in:
parent
9f5ad3739e
commit
7d105b10d9
2 changed files with 17 additions and 0 deletions
|
|
@ -180,6 +180,9 @@ public interface LinphoneCore {
|
|||
this.tcp = t.tcp;
|
||||
this.tls = t.tls;
|
||||
}
|
||||
public String toString() {
|
||||
return "udp["+udp+"] tcp["+tcp+"] tls["+tls+"]";
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Media (RTP) encryption enum-like.
|
||||
|
|
@ -776,4 +779,9 @@ public interface LinphoneCore {
|
|||
* Set missed calls count to zero
|
||||
*/
|
||||
public void resetMissedCallsCount();
|
||||
/**
|
||||
* re-initiates registration if network is up.
|
||||
*/
|
||||
public void refreshRegisters();
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,5 +103,14 @@ public interface LinphoneCoreListener {
|
|||
* @param data
|
||||
*/
|
||||
void ecCalibrationStatus(LinphoneCore lc,LinphoneCore.EcCalibratorStatus status, int delay_ms, Object data);
|
||||
/**
|
||||
* Report Notified message received for this identity.
|
||||
* @param lc LinphoneCore
|
||||
* @param call LinphoneCall in case the notify is part of a dialog, may be null
|
||||
* @param from LinphoneAddress the message comes from
|
||||
* @param event String the raw body of the notify event.
|
||||
*
|
||||
*/
|
||||
void notifyReceived(LinphoneCore lc, LinphoneCall call, LinphoneAddress from, byte[] event);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue