Sending pictures through chat

This commit is contained in:
Sylvain Berfini 2012-09-14 16:54:57 +02:00
commit eb2187dc25

View file

@ -5,6 +5,8 @@ public class LinphoneChatMessageImpl implements LinphoneChatMessage {
private native void setUserData(long ptr);
private native String getMessage(long ptr);
private native LinphoneAddress getPeerAddress(long ptr);
private native String getExternalBodyUrl(long ptr);
private native void setExternalBodyUrl(long ptr, String url);
protected LinphoneChatMessageImpl(long aNativePtr) {
nativePtr = aNativePtr;
@ -35,4 +37,14 @@ public class LinphoneChatMessageImpl implements LinphoneChatMessage {
public LinphoneAddress getPeerAddress() {
return getPeerAddress(nativePtr);
}
@Override
public String getExternalBodyUrl() {
return getExternalBodyUrl(nativePtr);
}
@Override
public void setExternalBodyUrl(String url) {
setExternalBodyUrl(nativePtr, url);
}
}