mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 17:59:39 +02:00
remove unused old videochat invitation API
This commit is contained in:
parent
02a1c86f01
commit
4e6e805ede
3 changed files with 0 additions and 24 deletions
|
@ -735,12 +735,6 @@ JNIEXPORT jint Java_com_b44t_messenger_DcContext_sendTextMsg(JNIEnv *env, jobjec
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
JNIEXPORT jint Java_com_b44t_messenger_DcContext_sendVideochatInvitation(JNIEnv *env, jobject obj, jint chat_id)
|
|
||||||
{
|
|
||||||
return (jint)dc_send_videochat_invitation(get_dc_context(env, obj), chat_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
JNIEXPORT jboolean Java_com_b44t_messenger_DcContext_sendWebxdcStatusUpdate(JNIEnv *env, jobject obj, jint msg_id, jstring payload)
|
JNIEXPORT jboolean Java_com_b44t_messenger_DcContext_sendWebxdcStatusUpdate(JNIEnv *env, jobject obj, jint msg_id, jstring payload)
|
||||||
{
|
{
|
||||||
CHAR_REF(payload);
|
CHAR_REF(payload);
|
||||||
|
@ -1609,21 +1603,6 @@ JNIEXPORT jstring Java_com_b44t_messenger_DcMsg_getSetupCodeBegin(JNIEnv *env, j
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
JNIEXPORT jstring Java_com_b44t_messenger_DcMsg_getVideochatUrl(JNIEnv *env, jobject obj)
|
|
||||||
{
|
|
||||||
char* temp = dc_msg_get_videochat_url(get_dc_msg(env, obj));
|
|
||||||
jstring ret = JSTRING_NEW(temp);
|
|
||||||
dc_str_unref(temp);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
JNIEXPORT jint Java_com_b44t_messenger_DcMsg_getVideochatType(JNIEnv *env, jobject obj)
|
|
||||||
{
|
|
||||||
return (jint)dc_msg_get_videochat_type(get_dc_msg(env, obj));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
JNIEXPORT void Java_com_b44t_messenger_DcMsg_setText(JNIEnv *env, jobject obj, jstring text)
|
JNIEXPORT void Java_com_b44t_messenger_DcMsg_setText(JNIEnv *env, jobject obj, jstring text)
|
||||||
{
|
{
|
||||||
CHAR_REF(text);
|
CHAR_REF(text);
|
||||||
|
|
|
@ -203,7 +203,6 @@ public class DcContext {
|
||||||
public native boolean resendMsgs (int msg_ids[]);
|
public native boolean resendMsgs (int msg_ids[]);
|
||||||
public native int sendMsg (int chat_id, DcMsg msg);
|
public native int sendMsg (int chat_id, DcMsg msg);
|
||||||
public native int sendTextMsg (int chat_id, String text);
|
public native int sendTextMsg (int chat_id, String text);
|
||||||
public native int sendVideochatInvitation(int chat_id);
|
|
||||||
public native boolean sendWebxdcStatusUpdate(int msg_id, String payload);
|
public native boolean sendWebxdcStatusUpdate(int msg_id, String payload);
|
||||||
public native String getWebxdcStatusUpdates(int msg_id, int last_known_serial);
|
public native String getWebxdcStatusUpdates(int msg_id, int last_known_serial);
|
||||||
public native void setWebxdcIntegration (String file);
|
public native void setWebxdcIntegration (String file);
|
||||||
|
|
|
@ -154,8 +154,6 @@ public class DcMsg {
|
||||||
public native boolean isInfo ();
|
public native boolean isInfo ();
|
||||||
public native boolean hasHtml ();
|
public native boolean hasHtml ();
|
||||||
public native String getSetupCodeBegin ();
|
public native String getSetupCodeBegin ();
|
||||||
public native String getVideochatUrl ();
|
|
||||||
public native int getVideochatType ();
|
|
||||||
public native void setText (String text);
|
public native void setText (String text);
|
||||||
public native void setFileAndDeduplicate(String file, String name, String filemime);
|
public native void setFileAndDeduplicate(String file, String name, String filemime);
|
||||||
public native void setDimension (int width, int height);
|
public native void setDimension (int width, int height);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue