mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
use default ring file instead of oldring.wav
This commit is contained in:
parent
b7886ab9a7
commit
11ad5c7d02
3 changed files with 43 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
public State getState() {
|
||||
return LinphoneCall.State.fromInt(getState(nativePtr));
|
||||
}
|
||||
public LinphoneCallParams getCurrentParamsReadOnly() {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,5 +42,9 @@ class LinphoneCallLogImpl implements LinphoneCallLog {
|
|||
public LinphoneAddress getTo() {
|
||||
return new LinphoneAddressImpl(getTo(nativePtr));
|
||||
}
|
||||
public CallStatus getStatus() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,8 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
private native void addFriend(long nativePtr,long friend);
|
||||
private native void setPresenceInfo(long nativePtr,int minute_away, String alternative_contact,int status);
|
||||
private native long createChatRoom(long nativePtr,String to);
|
||||
private native void setRing(long nativePtr, String path);
|
||||
private native String getRing(long nativePtr);
|
||||
|
||||
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||
mListener=listener;
|
||||
|
|
@ -309,5 +311,39 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
public void setStunServer(String stun_server) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
public String getStunServer() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
public void setFirewallPolicy(FirewallPolicy pol) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
public FirewallPolicy getFirewallPolicy() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
public void setRing(String path) {
|
||||
setRing(nativePtr,path);
|
||||
|
||||
}
|
||||
public String getRing() {
|
||||
return getRing(nativePtr);
|
||||
}
|
||||
public LinphoneCall inviteAddressWithParams(LinphoneAddress destination,
|
||||
LinphoneCallParams params) throws LinphoneCoreException {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public int updateCall(LinphoneCall call, LinphoneCallParams params) {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
public LinphoneCallParams createDefaultCallParameters() {
|
||||
throw new RuntimeException("Not Implemenetd yet");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue