mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
api enhancements
This commit is contained in:
parent
b59dc8318c
commit
ca8da575f2
2 changed files with 16 additions and 8 deletions
|
|
@ -80,7 +80,19 @@ public interface LinphoneCore {
|
|||
|
||||
void addAuthInfo(LinphoneAuthInfo info);
|
||||
|
||||
public void invite(String uri);
|
||||
/**
|
||||
* Build an address according to the current proxy config. In case destination is not a sip address, the default proxy domain is automatically appended
|
||||
* @param destination
|
||||
* @return
|
||||
* @throws If no LinphoneAddress can be built from destination
|
||||
*/
|
||||
public LinphoneAddress interpretUrl(String destination) throws LinphoneCoreException;
|
||||
|
||||
/**
|
||||
* Starts a call given a destination. Internally calls interpretUrl() then invite(LinphoneAddress).
|
||||
* @param uri
|
||||
*/
|
||||
public void invite(String destination)throws LinphoneCoreException;
|
||||
|
||||
public void invite(LinphoneAddress to);
|
||||
|
||||
|
|
@ -150,13 +162,7 @@ public interface LinphoneCore {
|
|||
* @return true is mic is muted
|
||||
*/
|
||||
public boolean isMicMuted();
|
||||
/**
|
||||
* Build an address according to the current proxy config. In case destination is not a sip uri, the default proxy domain is automatically appended
|
||||
* @param destination
|
||||
* @return
|
||||
* @throws If no LinphonrAddress can be built from destination
|
||||
*/
|
||||
public LinphoneAddress interpretUrl(String destination) throws LinphoneCoreException;
|
||||
|
||||
/**
|
||||
* Initiate a dtmf signal if in call
|
||||
* @param number
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ abstract public class LinphoneCoreFactory {
|
|||
|
||||
abstract public LinphoneAddress createLinphoneAddress(String username,String domain,String displayName);
|
||||
|
||||
abstract public LinphoneAddress createLinphoneAddress(String address);
|
||||
|
||||
abstract public LinphoneProxyConfig createProxyConfig(String identity, String proxy,String route,boolean enableRegister) throws LinphoneCoreException;
|
||||
/**
|
||||
* Enable verbose traces
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue